/**
 * Age Verification Overlay
 * Simple 18+ gate with transparent backdrop
 */

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: var(--z-age-gate);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.age-overlay.age-closing {
    opacity: 0;
    pointer-events: none;
}

.age-modal {
    background: linear-gradient(145deg, rgba(20, 15, 30, 0.95), rgba(10, 8, 15, 0.98));
    border: 1px solid var(--alpha-purple-30);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px var(--alpha-black-60), 0 0 40px var(--alpha-purple-15);
    animation: ageModalIn 0.4s ease-out;
}

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

.age-modal-logo {
    width: 80px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px var(--alpha-purple-40));
}

.age-badge-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-danger);
    color: white;
    font-family: var(--font-display, 'Exo 2', monospace);
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4), inset 0 2px 10px var(--alpha-white-15);
}

.age-modal-title {
    font-family: var(--font-display, 'Exo 2', monospace);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.age-modal-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.age-modal-text strong {
    color: #fff;
}

.age-modal-cookies-note {
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    margin: -12px 0 22px;
    padding: 12px 14px;
    background: rgba(0, 245, 255, 0.04);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 10px;
    text-align: left;
}

.age-modal-cookies-note strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.age-modal-link {
    color: var(--neon-cyan, #00f5ff);
    text-decoration: none;
    margin-left: 4px;
    font-weight: 500;
}

.age-modal-link:hover {
    text-decoration: underline;
}

.age-modal-necessary {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.15);
    text-underline-offset: 3px;
    transition: color var(--transition-normal);
}

.age-modal-necessary:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

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

.age-btn-yes {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00cc44, #00aa33);
    border: none;
    border-radius: 12px;
    font-family: var(--font-display, 'Exo 2', monospace);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 20px rgba(0, 204, 68, 0.35);
}

.age-btn-yes:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 204, 68, 0.5);
}

.age-btn-no {
    display: block;
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--alpha-white-20);
    border-radius: 12px;
    font-family: var(--font-body, 'Montserrat', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--alpha-white-50);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.age-btn-no:hover {
    border-color: rgba(255, 100, 100, 0.6);
    color: rgba(255, 100, 100, 0.9);
    background: rgba(255, 0, 0, 0.08);
}

@media (max-width: 480px) {
    .age-modal {
        padding: 32px 24px;
    }
    .age-badge-circle {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }
    .age-modal-title {
        font-size: 1.2rem;
    }
}
