/* ==========================================================================
   Reference-Styled Footer for Digital Dealz
   Matches Reference Screenshot: Dark Navy/Purple Theme, 4 Columns, 
   Vertical Dividers, Gradient Underline Accents, Responsive Behavior
   Branding: OUX Booster Watermark with Golden Shimmer & Glow
   Payment Badges: bKash & Nagad (White Cards)
   ========================================================================== */

.dd-footer-wrap {
    margin-top: 0;
    width: 100%;
}

.ref-styled-footer {
    background: #090616;
    background-image: 
        radial-gradient(ellipse 650px 360px at 8% 25%, rgba(68, 20, 130, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 750px 420px at 92% 75%, rgba(18, 38, 108, 0.42) 0%, transparent 65%),
        linear-gradient(180deg, #0c0822 0%, #070514 100%);
    color: #cbd5e1;
    padding: 60px 0 25px;
    font-family: inherit;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
    box-sizing: border-box;
    width: 100%;
}

.ref-styled-footer .container {
    width: 92%;
    max-width: 1360px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 4 Columns Grid */
.ref-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.25fr 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.footer-col {
    padding: 0 32px;
    box-sizing: border-box;
}

.footer-col-brand {
    padding-left: 0;
    padding-right: 36px;
}

/* Subtle Vertical Dividers between Columns */
.footer-col-contact,
.footer-col-service,
.footer-col-links {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* Column 1: Brand & Logo */
.footer-brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.footer-brand-logo .logo,
.footer-brand-logo .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 0;
}

.footer-brand-logo .logo-img--footer,
.footer-brand-logo .logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-logo .logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
}

.footer-brand-logo .logo span {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.footer-brand-logo .logo b {
    background: linear-gradient(90deg, #a855f7, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.68;
    margin: 18px 0 24px;
    max-width: 320px;
}

/* Social Buttons */
.footer-social-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background: rgba(168, 85, 247, 0.22);
    border-color: #a855f7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

/* Column Headings & Accent Underlines */
.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    margin: 0 0 8px;
    text-transform: uppercase;
    line-height: 1.3;
}

.footer-col-accent {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #a855f7 0%, #3b82f6 100%);
    border-radius: 2px;
    margin-bottom: 24px;
}

/* Column 2: Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.5;
}

.footer-contact-icon {
    color: #a855f7;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.footer-contact-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.footer-contact-link:hover {
    color: #ffffff;
}

/* Column 3 & 4: Navigation Lists (Customer Service & Quick Links) */
.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-chevron {
    color: #a855f7;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin-top: -1px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-nav-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-nav-link:hover .footer-chevron {
    color: #c084fc;
    transform: translateX(2px);
}

/* ==========================================================================
   Bottom Copyright & Branding Bar
   ========================================================================== */
.ref-footer-bottom,
.ref-styled-footer .footer-bottom,
.footer-bottom.ref-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 48px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #717d96;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 18px;
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.ref-footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Payment Badges (bKash & Nagad only) */
.footer-payment-methods {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    height: 28px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.payment-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.payment-badge .payment-logo {
    height: 20px;
    width: auto;
    max-width: 65px;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   OUX Booster Watermark Branding: Bold, Premium with Glow & Shimmer
   ========================================================================== */
.oux-watermark-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.08) 0%, rgba(255, 84, 0, 0.04) 100%);
    border: 1px solid rgba(255, 183, 3, 0.32);
    border-radius: 26px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: ouxPulseGlow 3.5s ease-in-out infinite;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.oux-watermark-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: ouxSweepingLight 5s ease-in-out infinite;
    pointer-events: none;
}

.oux-watermark-link:hover {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.16) 0%, rgba(255, 84, 0, 0.1) 100%);
    border-color: rgba(255, 183, 3, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.oux-support-label {
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.oux-watermark-logo {
    height: 28px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s ease;
}

.oux-watermark-link:hover .oux-watermark-logo {
    transform: scale(1.08) rotate(-1deg);
}

.oux-brand-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: linear-gradient(
        90deg,
        #ffc107 0%,
        #ff5400 25%,
        #ffffff 50%,
        #ff5400 75%,
        #ffc107 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ouxShineSweep 4s linear infinite;
    text-shadow: 0 0 12px rgba(255, 170, 0, 0.35);
    display: inline-block;
}

/* Animations */
@keyframes ouxShineSweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes ouxSweepingLight {
    0%, 30% {
        left: -100%;
    }
    60%, 100% {
        left: 200%;
    }
}

@keyframes ouxPulseGlow {
    0%, 100% {
        border-color: rgba(255, 183, 3, 0.28);
        box-shadow: 0 0 8px rgba(255, 183, 3, 0.12);
    }
    50% {
        border-color: rgba(255, 183, 3, 0.6);
        box-shadow: 0 0 18px rgba(255, 140, 0, 0.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .oux-watermark-link,
    .oux-watermark-link::before,
    .oux-brand-text {
        animation: none !important;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .ref-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 0;
    }
    .footer-col-brand,
    .footer-col-service {
        padding-left: 0;
        border-left: none;
    }
    .footer-col-contact,
    .footer-col-links {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 32px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .ref-styled-footer {
        padding: 45px 0 25px;
    }
    .ref-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .footer-col {
        padding: 0 !important;
        border-left: none !important;
    }
    .footer-desc {
        max-width: 100%;
    }
    .ref-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 36px;
    }
    .footer-bottom-right {
        align-items: flex-start;
        width: 100%;
        gap: 14px;
    }
    .oux-watermark-link {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }
}

/* Small mobile (safe area padding) */
@media (max-width: 480px) {
    .footer-col-title {
        font-size: 13px;
    }
    .footer-desc,
    .footer-contact-item,
    .footer-nav-link {
        font-size: 13px;
    }
}
