/* 
 * Age Verification Modal - Styles
 * +18 Disclaimer System
 * Date: 6 janvier 2026
 */

/* Overlay de vérification d'âge */
.age-verify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.age-verify-overlay.active {
    display: flex;
}

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

/* Modal container */
.age-verify-modal {
    max-width: 500px;
    width: 90%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 50%, rgba(240, 147, 251, 0.98) 100%);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    color: white;
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Icône d'avertissement */
.age-verify-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Titre */
.age-verify-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #ffd6f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Message */
.age-verify-message {
    font-size: 1.1em;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.age-verify-message strong {
    color: #ffd700;
    font-size: 1.2em;
}

/* Boutons container */
.age-verify-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Bouton Enter */
.age-verify-btn-enter {
    padding: 15px 40px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
}

.age-verify-btn-enter:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.6);
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Bouton Exit */
.age-verify-btn-exit {
    padding: 15px 40px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.4);
}

.age-verify-btn-exit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* Footer disclaimer */
.age-verify-footer {
    margin-top: 30px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .age-verify-modal {
        padding: 40px 30px;
    }

    .age-verify-icon {
        font-size: 3em;
    }

    .age-verify-title {
        font-size: 1.6em;
    }

    .age-verify-message {
        font-size: 1em;
    }

    .age-verify-buttons {
        flex-direction: column;
    }

    .age-verify-btn-enter,
    .age-verify-btn-exit {
        width: 100%;
    }
}

/* Body scroll lock */
body.age-verify-locked {
    overflow: hidden;
}
