.categorie {
  position: relative;
  margin: 2rem 0;
  padding: 1rem 4rem;
}

.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.carousel__slide {
  flex: 0 0 200px;
  min-height: 150px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #1e202b;
  border: 1px solid  #36383b;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #9f9fec;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.carousel__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  pointer-events: none;
}

.carousel__slide:hover::before {
  opacity: 1;
}

.carousel__slide:hover {
  transform: scale(1.05);
  background: #9f9fec;
  box-shadow: 0 0 20px rgba(159, 159, 236, 0.6), 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #14161a;
}

.carousel--scroll-buttons {
  position: relative;
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #9f9fec;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel__button:hover {
  background: var(--color-primary-hover, #0056b3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel__button--prev {
  left: 0;
}

.carousel__button--next {
  right: 0;
}