/* ===== CONTAINER ===== */
#tvCarousel {
  font-family: Arial, sans-serif;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  padding: 10px;
}

/* ===== TITRE (STYLE MODULE) ===== */
#tvCarousel .tv-carousel-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

/* ===== WRAPPER ===== */
#tvCarousel .tv-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== TRACK ===== */
#tvCarousel .tv-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 5px;
  padding: 5px 0;
}

/* ===== BOUTONS STYLE SPORT ===== */
#tvCarousel .tv-carousel-card {
  flex: 0 0 auto;
  width: 100px;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  background-color: #ff0000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
}

#tvCarousel .tv-carousel-card:hover {
  transform: scale(1.05);
  background-color: #3E1F0D;
}

/* ===== NOM COMME SPORT BUTTON ===== */
#tvCarousel .tv-carousel-name {
  position: absolute;
  bottom: 5px;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  color: red;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

#tvCarousel .tv-carousel-card:hover .tv-carousel-name {
  opacity: 1;
  visibility: visible;
}

/* ===== FLÈCHES ===== */
#tvCarousel .tv-carousel-btn {
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.2rem;
  width: 30px;
  height: 60px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#tvCarousel:hover .tv-carousel-btn {
  opacity: 1;
  pointer-events: auto;
}

#tvCarousel .tv-carousel-btn:hover {
  background: rgba(0,0,0,0.9);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #tvCarousel .tv-carousel-card {
    width: 65px;
  }
}

@media (max-width: 480px) {
  #tvCarousel .tv-carousel-card {
    width: 55px;
  }

  #tvCarousel .tv-carousel-name {
    font-size: 11px;
  }
}