* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #0a0a0a;
  --accent-color: #6366f1;
  --text-color: #ffffff;
  --transition-speed: 0.5s;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 70vh;
  max-height: 800px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-speed) ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-button:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

@media (max-width: 768px) {
  body {
    padding: 0;
    justify-content: flex-start;
  }

  .carousel-container {
    width: 100vw;
    height: 85vh;
    max-height: none;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
  }

  .carousel-button {
    width: 56px;
    height: 56px;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
  }

  .carousel-button.prev {
    left: 16px;
  }

  .carousel-button.next {
    right: 16px;
  }

  .carousel-indicators {
    bottom: 24px;
    gap: 12px;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }
}