
/* ========================================
   18+ AGE VERIFICATION POPUP
======================================== */

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    box-sizing: border-box;
}

.age-gate[hidden] {
    display: none !important;
}

.age-gate *,
.age-gate *::before,
.age-gate *::after {
    box-sizing: border-box;
}

.age-gate-card {
    width: 100%;
    max-width: 430px;
    padding: 38px 32px 30px;

    background: linear-gradient(145deg, #17121C, #0D0A11);
    border: 1px solid #8A6935;
    border-radius: 0 26px 0 26px;

    color: #F8F3EC;
    text-align: center;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    animation: ageGateAppear 0.3s ease-out;
}

/* 18+ Badge */

.age-gate-badge {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;
    margin: 0 auto 22px;

    background: #241C25;
    border: 1px solid #D9B15E;
    border-radius: 50%;

    color: #D9B15E;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    font-weight: 700;
}

/* Heading */

.age-gate-title {
    margin: 0 0 15px;
    color: #F8F3EC;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.3;
}

.age-gate-title span {
    color: #D9B15E;
}

.age-gate-description {
    margin: 0 auto 26px;
    max-width: 340px;

    color: #C9C0CE;
    font-size: 14px;
    line-height: 1.85;
}

/* Buttons */

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-gate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;
    padding: 12px 18px;

    border: 1px solid transparent;
    border-radius: 0 18px 0 18px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;

    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Confirm */

.age-gate-confirm {
    background: #D9B15E;
    border-color: #D9B15E;
    color: #100C10;
}

.age-gate-confirm:hover {
    background: #E8C77D;
    border-color: #E8C77D;
}

/* Exit */

.age-gate-exit {
    background: #17121C;
    border-color: #49374C;
    color: #D9B15E;
}

.age-gate-exit:hover {
    background: #241923;
    border-color: #8A6935;
}

.age-gate-note {
    margin: 20px 0 0;
    color: #958A9B;
    font-size: 11px;
    line-height: 1.7;
}

/* Animation */

@keyframes ageGateAppear {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile */

@media (max-width: 480px) {
    .age-gate {
        padding: 16px;
    }

    .age-gate-card {
        max-width: 380px;
        padding: 30px 22px 24px;
        border-radius: 0 22px 0 22px;
    }

    .age-gate-badge {
        width: 66px;
        height: 66px;
        margin-bottom: 19px;
        font-size: 24px;
    }

    .age-gate-title {
        font-size: 26px;
    }

    .age-gate-description {
        margin-bottom: 22px;
        font-size: 13px;
    }

    .age-gate-button {
        min-height: 44px;
        padding: 11px 14px;
        font-size: 13px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .age-gate-card {
        animation: none;
    }

    .age-gate-button {
        transition: none;
    }
}
