* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    overflow-x: hidden;
    height: 100vh;
}

.video-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.video-wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.side-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 2rem;
    color: #fff;
    z-index: 10;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.left-text {
    left: 2rem;
}

.right-text {
    right: 2rem;
}

.video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Entrance animation for first video */
.video-wrapper[data-video="1"] .video {
    opacity: 0;
    transform: scale(0.95);
    animation: entranceAnimation 0.6s ease-out forwards;
}

@keyframes entranceAnimation {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth transitions for video switching */
.video-wrapper {
    transition: opacity 0.3s ease;
}

/* Hide scrollbar but keep functionality */
.video-container::-webkit-scrollbar {
    display: none;
}

.video-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-wrapper {
        width: 100vw;
        height: 100vh;
    }
    
    .side-text {
        font-size: 1.2rem;
    }
    
    .left-text {
        left: 1rem;
    }
    
    .right-text {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .side-text {
        font-size: 1rem;
    }
    
    .left-text {
        left: 0.5rem;
    }
    
    .right-text {
        right: 0.5rem;
    }
}

