/**
 * SNELLIX - Intro Video Modal Styles
 * 
 * Stili per modale video intro
 * 
 * @author SNELLIX Team
 * @date 2025-11-16
 */

/* Modal overlay */
.intro-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.intro-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

/* Video container */
.intro-video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Video element */
.intro-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Close button */
.close-video-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    z-index: 3;
}

.close-video-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.close-video-btn:active {
    transform: scale(0.95);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .intro-video-container {
        width: 95%;
        height: 85dvh;
    }
    
    .close-video-btn {
        top: -45px;
        width: 36px;
        height: 36px;
    }
    
    .close-video-btn svg {
        width: 20px;
        height: 20px;
    }
}
