body {
  margin: 0;
  background: #f4fbfb;
}
.carousel-container {
  width: 100vw;
  max-width: 100vw;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: #e0f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  height: 100%;
  position: relative;
}
.carousel-slide {
  width: 800px;
  height: 360px;
  margin: 0 24px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transition: transform 0.4s, opacity 0.4s;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide.prev,
.carousel-slide.next {
  transform: scale(0.85);
  opacity: 0.6;
  z-index: 0;
}
.carousel-slide.not-visible {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
}
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.2);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(0,0,0,0.4); }