.carousel-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Container do carrossel */
.carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
    flex-grow: 1;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 10px;
}

/* Esconde scroll no Chrome/Safari */
.carousel::-webkit-scrollbar {
    display: none;
}

/* Estilo dos itens */
.item-season {
    min-width: 120px;
    background-color: #111;
    border-radius: 10px;
    color: #eee;
    padding: 6px 10px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s, background-color 0.3s;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.item-season.selected {
    border-color: #e53935;
    background-color: #330000;
}

.item-season .title {
    font-weight: 600;
    font-size: 1.1rem;
}

.item-season .sub {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .carousel {
        gap: 0.5rem;
    }

    .item-season {
        min-width: 140px;
        padding: 10px;
        font-size: 1rem;
    }

    .item-season .title {
        font-size: 1.1rem;
    }

    .item-season .sub {
        font-size: 0.85rem;
    }

    .carousel-arrow {
        display: none; /* Oculta setas no mobile */
    }

    .episodio-box {
        flex-direction: column;
    }

    .episodio-box img {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #222;
    }

    .episodio-box .info {
        padding: 15px;
    }
}