/* Age Verification Popup Styles */

#age-verification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 9, 74, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#age-verification-overlay.show {
    display: flex;
}

#age-verification-popup {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 50px 60px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.4s ease-out;
}

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

#age-verification-popup h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2F094A;
    margin: 0 0 25px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#age-verification-popup p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#age-verification-popup .age-question {
    font-size: 18px;
    font-weight: 600;
    color: #D60A84;
    margin: 30px 0 25px 0;
}

.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.age-btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-yes {
    background-color: #E0E0E0;
    color: #333;
}

.age-yes:hover {
    background-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.age-no {
    background-color: #D60A84;
    color: #fff;
}

.age-no:hover {
    background-color: #B60971;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 10, 132, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    #age-verification-popup {
        padding: 40px 30px;
        width: 85%;
    }
    
    #age-verification-popup h2 {
        font-size: 28px;
    }
    
    #age-verification-popup p {
        font-size: 14px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .age-btn {
        width: 100%;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    #age-verification-popup {
        padding: 30px 20px;
    }
    
    #age-verification-popup h2 {
        font-size: 24px;
    }
}

/* Previeni scroll quando il popup è aperto */
body.age-verification-active {
    overflow: hidden;
}
