/* ============================================
   FOOTER.CSS — Clean flat style matching index
   ============================================ */

/* ── Footer Container ── */
.footer {
    position: relative;
    background: rgba(5, 5, 12, 0.95);
    border-top: none;
    padding: 0;
    margin-top: auto;
}

/* Gradient divider line */
.footer::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 5%,
        var(--alpha-purple-40) 30%,
        var(--alpha-cyan-30) 50%,
        var(--alpha-purple-40) 70%,
        transparent 95%
    );
}

.footer > .container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

/* ── 18+ Warning ── */
.age-warning {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    margin: 48px 0 40px;
    background: rgba(var(--neon-orange-bright-rgb), 0.05);
    border: 1px solid rgba(var(--neon-orange-bright-rgb), 0.2);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.age-warning::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--neon-orange-bright-rgb), 0.5), transparent);
}

.age-warning-content {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.age-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warning);
    border-radius: 50%;
    font-family: var(--font-accent, 'Exo 2', sans-serif);
    font-size: 1.2rem;
    font-weight: 900;
    color: #000;
    box-shadow: 0 0 20px rgba(var(--neon-orange-bright-rgb), 0.3);
}

.age-warning-text { flex: 1; }

.age-warning-text h5 {
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-orange-bright);
    margin: 0 0 6px;
}

.age-warning-text p {
    font-size: 0.85rem;
    color: var(--alpha-white-45);
    line-height: 1.65;
    margin: 0;
}

.age-warning-text a {
    color: var(--neon-orange-bright);
    text-decoration: underline;
    text-decoration-color: rgba(var(--neon-orange-bright-rgb), 0.3);
    transition: text-decoration-color 0.2s;
}

.age-warning-text a:hover {
    text-decoration-color: var(--neon-orange-bright);
}

/* ── Footer Grid ── */
.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

/* ── Brand Column ── */
.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: transform 0.2s;
}

.footer-logo:hover { transform: translateY(-2px); }

.footer-logo-image {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--alpha-purple-25));
    transition: filter 0.3s;
}

.footer-logo:hover .footer-logo-image {
    filter: drop-shadow(0 0 18px var(--alpha-purple-40));
}

.footer-logo-text {
    font-family: var(--font-accent, 'Exo 2', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.06em;
}

.footer-description {
    font-size: 0.85rem;
    color: var(--alpha-white-35);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ── Social Links (flat pill style matching idx-social-card) ── */
.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,15,25,0.8);
    border: 1px solid var(--alpha-white-6);
    border-radius: 10px;
    color: var(--alpha-white-50);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    overflow: hidden;
    position: relative;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--alpha-purple-25), var(--alpha-cyan-20));
    opacity: 0;
    transition: opacity 0.25s;
}

.footer-social-link:hover {
    border-color: var(--alpha-purple-35);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--alpha-black-40);
}

.footer-social-link:hover::before { opacity: 1; }

.social-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(0.4) brightness(0.9);
    transition: all 0.25s;
    position: relative;
    z-index: 1;
}

.footer-social-link:hover .social-logo {
    filter: grayscale(0) brightness(1.15);
    transform: scale(1.1);
}

/* ── Link Columns ── */
.footer-column h4 {
    font-family: var(--font-accent, 'Exo 2', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--alpha-white-70);
    margin: 0 0 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--twitch-purple), var(--neon-cyan));
    border-radius: 1px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--alpha-white-35);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    transform: translateX(4px);
}

/* ── Affiliate Disclaimer ── */
.affiliate-disclaimer {
    padding: 20px 24px;
    background: rgba(15,15,25,0.6);
    border: 1px solid var(--alpha-white-4);
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.affiliate-disclaimer p {
    font-size: 0.78rem;
    color: var(--alpha-white-25);
    line-height: 1.7;
    margin: 0;
}

.affiliate-disclaimer strong {
    color: var(--alpha-white-45);
}

/* ── Footer Bottom ── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 56px;
    border-top: 1px solid var(--alpha-white-4);
    position: relative;
    z-index: var(--z-normal);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--alpha-white-20);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.78rem;
    color: var(--alpha-white-20);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--alpha-white-50);
}

/* ── Responsive ── */
@media (max-width: 1400px) {
    .footer > .container { padding: 0 36px; }
}

@media (max-width: 1100px) {
    .footer > .container { padding: 0 24px; }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
    .footer-social { justify-content: center; }
    .footer-column h4::after { left: 50%; transform: translateX(-50%); }
    .footer-links a { text-align: center; }
}

@media (max-width: 768px) {
    .footer > .container { padding: 0 20px; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-links a:hover { transform: translateY(-2px); }
    .age-warning { margin: 36px 0 32px; }
    .age-warning-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
}

@media (max-width: 480px) {
    .footer > .container { padding: 0 16px; }
    .footer-social-link { width: 38px; height: 38px; }
    .age-badge { width: 48px; height: 48px; font-size: 1rem; }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cc-banner {
    position: fixed;
    inset: 0;
    z-index: var(--z-cookie);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--alpha-black-60);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.cc-banner.cc-visible {
    opacity: 1;
    pointer-events: auto;
}
.cc-inner {
    max-width: 720px;
    width: calc(100% - 32px);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(12,12,20,0.97);
    border: 1px solid var(--alpha-purple-20);
    border-radius: 16px;
    padding: 18px 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px var(--alpha-black-50), 0 0 20px var(--alpha-purple-8);
}
.cc-text {
    flex: 1;
}
.cc-text p {
    font-size: 0.82rem;
    color: var(--alpha-white-60);
    line-height: 1.5;
    margin: 0;
}
.cc-text strong {
    color: var(--alpha-white-85);
}
.cc-link {
    font-size: 0.75rem;
    color: var(--twitch-purple);
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
}
.cc-link:hover {
    color: var(--neon-cyan);
}
.cc-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cc-btn {
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.cc-btn-accept {
    background: linear-gradient(135deg, var(--alpha-purple-30), var(--alpha-cyan-25));
    border: 1px solid var(--alpha-cyan-30);
    color: #fff;
}
.cc-btn-accept:hover {
    background: linear-gradient(135deg, var(--alpha-purple-50), var(--alpha-cyan-40));
    box-shadow: 0 4px 20px var(--alpha-cyan-20);
}
.cc-btn-necessary {
    background: var(--alpha-white-4);
    border: 1px solid var(--alpha-white-10);
    color: var(--alpha-white-50);
}
.cc-btn-necessary:hover {
    background: var(--alpha-white-8);
    color: var(--alpha-white-70);
}

@media (max-width: 768px) {
    .cc-inner {
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }
    .cc-actions {
        width: 100%;
    }
    .cc-btn {
        flex: 1;
    }
}
