/* ============================================================
   MinerCore â€” Footer (Precision Redesign)
   Matching media_1789089021753.png (Desktop) & media_1789089021674.png (Mobile)
   ============================================================ */

.site-footer.official-footer-redesign {
    position: relative;
    background-color: #06070a;
    background-image: 
        linear-gradient(180deg, #06070a 0%, rgba(6, 7, 10, 0.88) 15%, rgba(6, 7, 10, 0.82) 50%, rgba(6, 7, 10, 0.92) 85%, #06070a 100%),
        radial-gradient(ellipse 90% 70% at 50% 50%, 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: 60px 0 28px;
    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;
}

/* ==========================================================================
   1. PAYMENT TRUST BAR
   ========================================================================== */
.footer-payment-trust-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 48px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.payment-trust-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon-shield {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: var(--brand-accent, #38bdf8);
}

.trust-icon-payment {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
}

.trust-icon-payment--card {
    width: 58px;
    height: 27px;
}

.payment-icon-img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    transition: transform 0.2s ease;
}

.payment-icon-img--card {
    width: 58px;
    height: 27px;
}

.trust-item:hover .payment-icon-img {
    transform: translateY(-1px);
}

.trust-title-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-mini-logos {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mini-visa {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    font-style: italic;
    color: #1a1f71;
    background: #ffffff;
    padding: 0 4px;
    border-radius: 3px;
    line-height: var(--lh-tight);
    letter-spacing: -0.04em;
    display: inline-block;
}

.mini-mc {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 18px;
    height: 11px;
}

.mini-mc .mc-circle {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mini-mc .mc-red {
    left: 0;
    background: #eb001b;
    opacity: 0.95;
}

.mini-mc .mc-yellow {
    right: 0;
    background: #f79e1b;
    opacity: 0.95;
}

.crypto-mini-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.crypto-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: #ffffff;
    line-height: 1;
}

.crypto-btc {
    background: #f7931a;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: #ffffff;
    line-height: var(--lh-tight);
}

.trust-sub {
    font-size: var(--text-xs);
    color: #94a3b8;
    line-height: var(--lh-snug);
    margin-top: 2px;
}

.trust-notice {
    font-size: var(--text-sm);
    color: #94a3b8;
    margin-left: auto;
    text-align: right;
}

/* ==========================================================================
   2. BRAND & Company Registration Details
   ========================================================================== */
.footer-middle-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-brand-logo-img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.footer-company-tagline {
    font-size: var(--text-sm);
    line-height: 1.5;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-company-tagline strong {
    color: #ffffff;
    font-weight: var(--fw-bold);
}

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

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

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

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

/* Company Registration Details Box */
.footer-corporate-identity-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 16px 22px;
    backdrop-filter: blur(8px);
}

.identity-box-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--brand-accent, #38bdf8);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.identity-box-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    font-weight: 400;
}

.identity-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.identity-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    font-weight: 400;
}

.identity-value {
    font-size: 0.78rem;
    color: #e2e8f0;
    font-weight: 400 !important;
    line-height: 1.35;
    word-break: break-word;
}

.identity-box-grid strong,
.identity-box-grid b,
.footer-identity-column strong {
    font-weight: 400 !important;
}

/* ==========================================================================
   3. 6-COLUMN NAVIGATION (Desktop Grid / Mobile Accordions)
   ========================================================================== */
.footer-nav-section {
    margin-bottom: 40px;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

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

.footer-column-title {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    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: 10px;
}

.footer-column-links a {
    color: #94a3b8 !important;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color 0.18s;
    line-height: var(--lh-snug);
    display: inline-block;
}

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

/* ==========================================================================
   4. BOTTOM COPYRIGHT & LEGAL
   ========================================================================== */
.footer-bottom-bar {
    padding-top: 24px;
    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: 16px;
}

.footer-copyright {
    font-size: var(--text-sm);
    color: #94a3b8;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
}

.footer-legal-links a,
.footer-cookie-trigger {
    color: #94a3b8 !important;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: color 0.18s;
}

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

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

/* ==========================================================================
   RESPONSIVE FOOTER MEDIA QUERIES (Mobile View Matching Mockup)
   ========================================================================== */
@media (max-width: 1024px) {
    .identity-box-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .payment-trust-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
        flex-wrap: wrap;
    }

    .trust-item-highlight {
        grid-column: 1 / -1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 10px;
    }

    .trust-notice {
        grid-column: 1 / -1;
        margin-left: 0;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 10px;
    }
}

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

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

    /* Trust bar on mobile */
    .footer-payment-trust-bar {
        padding: 14px 14px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .payment-trust-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .trust-item-highlight {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        padding: 0 0 8px;
        margin-bottom: 2px;
    }

    .trust-title {
        font-size: 0.85rem;
    }

    .trust-notice {
        text-align: center;
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 8px;
        font-size: var(--text-xs);
    }

    /* Middle section stacked */
    .footer-middle-section {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .footer-corporate-identity-box {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .identity-box-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Accordion Columns on Mobile */
    .footer-nav-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .footer-nav-column {
        background: rgba(8, 24, 56, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 7px;
        overflow: hidden;
    }

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

    .footer-column-title {
        font-size: var(--text-sm);
    }

    .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 16px 14px;
        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: 10px;
    }

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