/* ============================================
   Age Verification Warning Modal
   Dark + Purple theme matching the application
   ============================================ */

.age-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    animation: ageWarningFadeIn 0.4s ease-out;
}

.age-warning-overlay.age-warning-hide {
    animation: ageWarningFadeOut 0.4s ease-in forwards;
}

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

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

.age-warning-modal {
    background: linear-gradient(145deg, #1e1a2e 0%, #15121f 50%, #1a1530 100%);
    border: 1px solid rgba(130, 64, 255, 0.25);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 0 40px rgba(130, 64, 255, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(210, 184, 255, 0.08);
    animation: ageWarningSlideUp 0.5s ease-out;
}

@keyframes ageWarningSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.age-warning-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #D2B8FF, #8240FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.age-warning-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.age-warning-description {
    font-size: 0.9rem;
    color: rgba(210, 184, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.age-warning-disclaimer {
    font-size: 0.82rem;
    color: rgba(210, 184, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 1.75rem;
    font-style: italic;
    padding: 0 0.5rem;
}

.age-warning-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.age-warning-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border: 1px solid rgba(130, 64, 255, 0.4);
    border-radius: 0.6rem;
    color: #D2B8FF;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    background: rgba(130, 64, 255, 0.06);
}

.age-warning-link:hover {
    border-color: rgba(130, 64, 255, 0.7);
    background: rgba(130, 64, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(130, 64, 255, 0.2);
    transform: translateY(-1px);
}

.age-warning-continue-btn {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #8240FF 0%, #6E20F4 50%, #a855f7 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(130, 64, 255, 0.35);
    letter-spacing: 0.3px;
}

.age-warning-continue-btn:hover {
    background: linear-gradient(135deg, #9E5CFF 0%, #8240FF 50%, #b97aff 100%);
    box-shadow: 0 6px 30px rgba(130, 64, 255, 0.5);
    transform: translateY(-2px);
}

.age-warning-continue-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(130, 64, 255, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .age-warning-modal {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

    .age-warning-title {
        font-size: 2rem;
    }

    .age-warning-subtitle {
        font-size: 1rem;
    }

    .age-warning-links {
        gap: 0.5rem;
    }

    .age-warning-link {
        padding: 0.45rem 0.9rem;
        font-size: 0.78rem;
    }
}
