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

.age-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--veil-strong);
    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, #dbdbdb 0%, #e7e7e7 50%, #dcdcdc 100%);
    border: 1px solid rgba(119, 119, 119, 0.25);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(0, 0, 0, 0.06);
    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, #232323, #777777);
    -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: var(--ink);
    margin-bottom: 1.25rem;
}

.age-warning-description {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.age-warning-disclaimer {
    font-size: 0.82rem;
    color: var(--ink-muted);
    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(119, 119, 119, 0.4);
    border-radius: 0.6rem;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    background: var(--glass-strong);
}

.age-warning-link:hover {
    border-color: var(--line-strong);
    background: var(--glass-strong);
    color: var(--ink);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
    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: var(--ink);
    background: linear-gradient(135deg, #777777 0%, #8a8a8a 50%, #727272 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    letter-spacing: 0.3px;
}

.age-warning-continue-btn:hover {
    background: linear-gradient(135deg, #6c6c6c 0%, #777777 50%, #5f5f5f 100%);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

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

/* 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;
    }
}
