/* Age Verification Overlay Styles - Optimized for performance */

#age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ageFadeIn 0.2s ease-in;
}

@keyframes ageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#age-verification-overlay.age-verification-fadeout {
    animation: ageFadeOut 0.2s ease-out;
}

@keyframes ageFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.age-verification-modal {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: ageSlideUp 0.3s ease-out;
    will-change: transform, opacity;
}

@keyframes ageSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.age-gate-logo {
    max-width: 200px;
    margin-bottom: 20px;
    height: auto;
}

.age-verification-content h2 {
    color: #2C1810;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.age-verification-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.age-verification-content .age-question {
    font-size: 18px;
    font-weight: 600;
    color: #2C1810;
    margin-top: 25px;
    margin-bottom: 25px;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.age-btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.age-btn-yes {
    background: #D4AF37;
    color: white;
}

.age-btn-yes:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.age-btn-no {
    background: #666;
    color: white;
}

.age-btn-no:hover {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.age-disclaimer {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 20px;
}

.age-disclaimer a {
    color: #D4AF37;
    text-decoration: none;
}

.age-disclaimer a:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .age-verification-modal {
        padding: 30px 20px;
    }

    .age-verification-content h2 {
        font-size: 24px;
    }

    .age-verification-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .age-btn {
        width: 100%;
    }
}
