* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.back-button {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.back-icon {
  width: 24px;
  height: 24px;
}

.carousel-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  transition: all 0.7s ease-in-out;
}

.carousel-slide img {
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  user-select: none;
  -webkit-user-drag: none;
}

.navigation-dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 40;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.dot.active {
  width: 32px;
  background: #fff;
}

audio {
  display: block;
}

.loading-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  z-index: 10;
}

@media (max-width: 768px) {
  .carousel-slide img {
    width: 90vw;
    height: 50vh;
  }
  
  .music-control {
      bottom: 115px !important;
  }
}

.music-control {
  position: absolute;
  bottom: 82px;
  right: 32px;
  z-index: 50;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-control:hover {
  background: rgba(255, 255, 255, 0.2);
}