/* ──────────────────────────────────────────────────────────────────
   Footer Component – Light background, multi-column
   ────────────────────────────────────────────────────────────────── */

.sn-footer {
    margin-top: 36px;
    padding: 48px 0 24px;
    border-top: 1px solid var(--sn-border);
    background-color: var(--sn-page-bg);
}

.sn-footer__inner {
    max-width: var(--sn-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Top: Logo + Columns ── */
.sn-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--sn-border);
}

.sn-footer__brand {
    max-width: 320px;
}

.sn-footer__logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.sn-footer__logo--dark { display: none; }
[data-theme="dark"] .sn-footer__logo--light { display: none; }
[data-theme="dark"] .sn-footer__logo--dark  { display: inline-block; }

.sn-footer__desc {
    font-size: 0.8125rem;
    color: var(--sn-text-secondary);
    line-height: 1.65;
    margin: 0;
}

.sn-footer__col-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sn-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
}

.sn-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sn-footer__links li {
    margin-bottom: 8px;
}

.sn-footer__links a {
    font-size: 0.8125rem;
    color: var(--sn-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sn-footer__links a:hover {
    color: var(--sn-primary);
}

/* ── Trust / Regulatory columns ── */
.sn-footer__trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid var(--sn-border);
}

.sn-footer__trust .sn-footer__links li {
    margin-bottom: 6px;
}

.sn-footer__trust .sn-footer__links a {
    font-size: 0.78125rem;
}

.sn-footer__trust .sn-footer__age-badge {
    width: auto;
    height: auto;
    padding: 2px 10px;
    border-radius: var(--sn-radius-full);
    font-size: 0.6875rem;
}

/* ── Social ── */
.sn-footer__social {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--sn-border);
}

.sn-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius-full);
    font-size: 0.8125rem;
    color: var(--sn-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sn-footer__social-link:hover {
    color: var(--sn-primary);
    border-color: var(--sn-primary);
}

/* ── Site-wide disclaimer block ── */
.sn-disclaimer--footer {
    max-width: none;
    padding: 24px 0;
    border-bottom: 1px solid var(--sn-border);
}

/* ── Compliance Logos (legacy, no longer rendered) ── */
.sn-footer__compliance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--sn-border);
    flex-wrap: wrap;
}

.sn-footer__compliance-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sn-text-muted);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.sn-footer__compliance-item:hover {
    opacity: 1;
}

.sn-footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--sn-text-muted);
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--sn-text-muted);
}

/* ── Bottom: Copyright ── */
.sn-footer__bottom {
    padding-top: 20px;
    text-align: center;
}

.sn-footer__copy {
    font-size: 0.75rem;
    color: var(--sn-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ── Old footer menu (compatibility) ── */
.sn-footer__menu {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sn-footer__menu a {
    font-size: 0.8125rem;
    color: var(--sn-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sn-footer__menu a:hover {
    color: var(--sn-primary);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
    .sn-footer__trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .sn-footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sn-footer__brand {
        max-width: none;
    }

    .sn-footer__trust {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sn-footer__social {
        flex-wrap: wrap;
    }

    .sn-footer__compliance {
        gap: 16px;
    }
}
