/* CSS */
.carousel-container {
  padding: 20px;
  max-width: 100%;
  overflow: hidden;
  background: #121212;
  color: white;
}

.carousel-container h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.highlight {
  color: #ffc107;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.carousel-controls button {
  background-color: #444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.carousel-controls span {
  font-size: 16px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px;
}

.card {
  flex: 0 0 80%;
  max-width: 80%;
  background: #1c1c2e;
  border-radius: 10px;
  scroll-snap-align: start;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
  background: #0a0a1a;
  padding: 1rem;
}

.overlay {
  padding: 15px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 0 0 10px 10px;
}

.overlay h3 {
  margin: 0;
  font-size: 18px;
}

.overlay p {
  font-size: 14px;
  margin-top: 5px;
  text-align: left;
}
