/* 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: 32px;
    font-weight: 700;
    color: #2F094A;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

#age-verification-popup p strong {
    color: #D60A84;
}

#age-verification-popup p a {
    color: #D60A84;
    text-decoration: underline;
    font-weight: 600;
}

#age-verification-popup p a:hover {
    color: #2F094A;
}

/* Category Selector */
.category-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.category-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 90px;
    background: #fff;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
}

.category-option:hover {
    border-color: #D60A84;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 10, 132, 0.2);
}

.category-option.selected {
    border-color: #D60A84;
    background: linear-gradient(135deg, rgba(214, 10, 132, 0.05), rgba(47, 9, 74, 0.05));
    box-shadow: 0 5px 20px rgba(214, 10, 132, 0.25);
}

.category-icon {
    font-size: 28px;
    margin-bottom: 8px;
    color: #D60A84;
}

.category-icon-gay {
    font-size: 24px;
}

.category-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.category-option.selected .category-label {
    color: #D60A84;
}

/* Buttons */
.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.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-confirm {
    background-color: #D60A84;
    color: #fff;
    width: 100%;
    max-width: 350px;
}

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

/* Exit Link */
.exit-link {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

.exit-link a {
    color: #D60A84 !important;
    font-size: 13px !important;
    text-decoration: underline !important;
}

.exit-link a:hover {
    color: #2F094A !important;
}

/* Legacy button styles (kept for compatibility) */
.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: 26px;
    }
    
    #age-verification-popup p {
        font-size: 14px;
    }
    
    .category-selector {
        gap: 10px;
    }
    
    .category-option {
        width: 85px;
        height: 80px;
        padding: 8px;
    }
    
    .category-icon {
        font-size: 24px;
    }
    
    .category-label {
        font-size: 12px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .age-btn {
        width: 100%;
        padding: 12px 30px;
    }
    
    .age-confirm {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #age-verification-popup {
        padding: 30px 20px;
    }
    
    #age-verification-popup h2 {
        font-size: 22px;
    }
    
    .category-option {
        width: 75px;
        height: 75px;
    }
    
    .category-icon {
        font-size: 20px;
    }
    
    .category-label {
        font-size: 11px;
    }
}

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