.channel-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s;
    opacity: 0.8;
}

.scroll-btn i {
    transition: transform 0.2s;
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
}

.scroll-btn:hover i {
    transform: scale(1.2);
}

.left-scroll {
    left: 0;
}

.right-scroll {
    right: 0;
}


.channel-container {
    width: calc(100% - 90px);
    overflow: hidden;
}

.channel-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 15px 10px;
    gap: 20px;
    scrollbar-width: none;
}

.channel-scroller::-webkit-scrollbar {
    display: none;
}

.channel-item {
    flex: 0 0 calc(16.666% - 17px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    transition: transform 0.2s;
}

.channel-item:hover {
    transform: scale(1.05);
}


@media (max-width: 1400px) {
    .channel-item {
        flex: 0 0 calc(20% - 16px);
    }
}

@media (max-width: 1100px) {
    .channel-item {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 800px) {
    .channel-item {
        flex: 0 0 calc(33.333% - 13.333px);
    }
}

@media (max-width: 600px) {
    .channel-container {
        width: calc(100% - 70px);
    }
    .channel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
    }
    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .channel-item {
        flex: 0 0 calc(100% - 10px);
    }
}