/* Reset e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    overflow: hidden;
}

/* Video container - Full screen su mobile */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video - Si adatta completamente allo schermo SENZA TAGLIARE */
video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .video-container {
        width: 360px;
        height: 640px;
        margin: 0 auto;
    }
    
    video {
        object-fit: contain;
    }
}

/* Fullscreen styles */
video:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    background: black;
}

video:-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    background: black;
}

video:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
    background: black;
}

/* Migliora i controlli del video */
video::-webkit-media-controls {
    display: flex !important;
    opacity: 1 !important;
}

video::-moz-media-controls {
    display: flex !important;
    opacity: 1 !important;
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Transizioni */
.transition {
    transition: all 0.2s ease;
}