* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0a0a0a;
  color: white;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.carousel-container {
  perspective: 2000px;
  text-align: center;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel-wrapper {
  transform: rotateX(-6deg);
  position: relative;
}

.carousel {
  position: relative;
  width: 0;
  height: 500px;
  transform-style: preserve-3d;
  margin: 0 auto;
}

.carousel__item {
  position: absolute;
  width: 800px;
  height: 400px;
  left: -400px;
  top: 50px;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: grab;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel__item:hover {
  box-shadow: 0 0 35px rgba(0, 200, 255, 0.8);
}

.carousel__item.front:hover {
  transform: translateY(-15px) scale(1.08) !important;
  cursor: grab;
}

.carousel__item.not-front {
  pointer-events: none;
  cursor: default;
}

.carousel__item.not-front:hover {
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

.carousel__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 25px;
  height: 100%;
  background: #555;
  transform-origin: left;
  transform: rotateY(90deg);
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel__item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 30px;
  user-select: none;
}

.description {
  margin-top: 40px;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
  max-width: 800px;
  padding: 0 20px;
  min-height: 120px;
  display: flex;
  align-items: flex-start;
}

.description.active {
  opacity: 1;
}

.arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 150, 255, 0.3);
  border: 2px solid rgba(0, 200, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  transition: all 0.3s ease;
  z-index: 100;
  user-select: none;
}

.arrow:hover {
  background: rgba(0, 150, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: 30px;
}

.arrow-right {
  right: 30px;
}

.carousel-title {
  font-size: 48px;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 50px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}