/* Carousel Component Styles */
.carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.netflix-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.netflix-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 10px;
    padding: 10px 0;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 100px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.carousel-wrapper:hover .scroll-btn {
    opacity: 1;
    pointer-events: auto;
}

.scroll-btn:hover {
    background: rgba(229, 9, 20, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-btn-left {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.scroll-btn-right {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.scroll-btn.disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide scroll buttons on mobile */
@media (max-width: 1024px) {
    .scroll-btn {
        display: none;
    }

    .carousel-wrapper {
        padding: 0;
    }
}

/* Category Link Hover */
.category-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.category-link:hover {
    color: #e50914 !important;
}
