body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Custom Scrollbar for Video List */
.video-list::-webkit-scrollbar {
    width: 6px;
}
.video-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.video-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.video-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- UPDATED MOBILE SLIDER UTILITY --- */
.mobile-snap-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1.5rem; /* Space for shadow */
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.mobile-snap-container::-webkit-scrollbar {
    display: none;
}

.mobile-snap-item {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 85%; /* Card width on mobile (show part of next card) */
    max-width: 320px;
}

/* Reset for Desktop */
@media (min-width: 768px) {
    .mobile-snap-container {
        display: grid; /* Back to grid on tablet/desktop */
        overflow-x: visible;
        padding-bottom: 0;
    }
    .mobile-snap-item {
        width: auto; /* Reset width */
        max-width: none;
    }
}

/* Floating Animation for Hero Image */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Video Active State */
.video-item.active {
    background-color: #eef2ff;
    border-left: 4px solid #4f46e5;
}

/* Modal Transition */
.modal {
    transition: opacity 0.3s ease;
}