/* ============================================================
   MinerCore — Footer (Precision Modern Redesign)
   Sleek, Compact, International Tech Standard
   ============================================================ */

.site-footer.official-footer-redesign {
    position: relative;
    background-color: #06070a;
    background-image: 
        linear-gradient(180deg, #06070a 0%, rgba(6, 7, 10, 0.9) 20%, rgba(6, 7, 10, 0.85) 60%, #06070a 100%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 70%),
        url('../images/tech/footer-tech-bg.webp');
    background-position: center center;
    background-size: 100% 100%, 100% 100%, cover;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 44px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-footer.official-footer-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
    pointer-events: none;
}

.footer-content-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ==========================================================================
   1. MAIN FOOTER GRID (Brand Column + 5 Nav Columns)
   ========================================================================== */
.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(260px, 2.2fr) repeat(5, minmax(130px, 1fr));
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
}

/* Left: Brand Column */
.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
}

.footer-brand-logo-img {
    height: 48px;
    width: auto;
    max-width: 240px;
    filter: brightness(0) invert(1);
    display: block;
    object-fit: contain;
}

.footer-brand-text {
    font-size: var(--text-2xl, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-company-tagline {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-company-tagline strong {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.84rem;
}

.footer-direct-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 2px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1 !important;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-contact-link:hover {
    color: var(--brand-accent, #38bdf8) !important;
}

.footer-contact-link svg {
    color: var(--brand-accent, #38bdf8);
    flex-shrink: 0;
}

/* Right: Navigation Columns */
.footer-nav-column {
    min-width: 0;
}

.footer-column-toggle {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 0 14px;
    display: block;
    width: 100%;
    text-align: left;
    cursor: default;
}

.footer-column-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.footer-accordion-arrow {
    display: none;
}

.footer-column-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column-links a {
    color: #94a3b8 !important;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.18s ease;
    line-height: 1.4;
    display: inline-block;
}

.footer-column-links a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   2. BOTTOM BAR: Copyright, Legal Links & Payment Badges
   ========================================================================== */
.footer-bottom-bar {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-copyright {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
}

.footer-legal-links a,
.footer-cookie-trigger {
    color: #64748b !important;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: color 0.18s;
}

.footer-legal-links a:hover,
.footer-cookie-trigger:hover {
    color: #cbd5e1 !important;
}

.footer-legal-sep {
    color: #334155;
}

/* Payment Badges */
.footer-bottom-payments {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.payments-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 500;
}

.payments-badges {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.payment-badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.payment-badge-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.payment-badge-pill img {
    height: 16px;
    width: auto;
    max-width: 36px;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   3. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: minmax(210px, 1.8fr) repeat(5, minmax(110px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        margin-bottom: 6px;
    }

    .footer-brand-column .footer-direct-contact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .site-footer.official-footer-redesign {
        padding: 26px 0 18px;
    }

    .footer-content-container {
        padding: 0 14px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 20px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        margin-bottom: 8px;
        gap: 12px;
    }

    .footer-brand-logo-img {
        height: 40px;
        max-width: 200px;
    }

    .footer-brand-column .footer-direct-contact {
        flex-direction: column;
        gap: 8px;
    }

    /* Accordion Columns on Mobile */
    .footer-nav-column {
        background: rgba(8, 24, 56, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 7px;
        overflow: hidden;
    }

    .footer-column-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 14px;
        margin: 0;
        cursor: pointer;
    }

    .footer-column-title {
        font-size: 0.84rem;
    }

    .footer-accordion-arrow {
        display: block;
        color: var(--brand-accent, #38bdf8);
        transition: transform 0.2s ease;
    }

    .footer-nav-column.is-open .footer-accordion-arrow {
        transform: rotate(180deg);
    }

    .footer-column-links {
        display: none;
        padding: 0 14px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-nav-column.is-open .footer-column-links {
        display: block;
    }

    .footer-column-links ul {
        padding-top: 8px;
        gap: 8px;
    }

    .footer-column-links a {
        font-size: 0.78rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-bottom-payments {
        order: 1;
        width: 100%;
        justify-content: center;
        padding-top: 0;
        border-top: none;
    }

    .payments-label {
        display: none !important;
    }

    .payments-badges {
        justify-content: center;
        gap: 10px;
    }

    .payment-badge-pill {
        height: 32px;
        padding: 4px 11px;
        border-radius: 6px;
    }

    .payment-badge-pill img {
        height: 20px;
        width: auto;
        max-width: 44px;
    }

    .footer-bottom-left {
        order: 2;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        text-align: center;
    }
}

/* Complete suppression of Cookie Preferences UI */
.footer-cookie-trigger,
.mc-cookie-banner,
.mc-cookie-modal,
.cookie-manage-button,
[data-cookie-manage],
[data-open-cookie-preferences] {
    display: none !important;
}
