body {
  margin: 0;
  background: url('https://i.redd.it/7sf4u9dsyqwe1.jpeg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.banner {
  width: 400px;
  height: 300px;
  perspective: 1000px;
  position: relative;
  z-index: 1;
}

.slider {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: rotateSlider 30s linear infinite;
}

.item {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 300px;
  transform: rotateY(calc((var(--position) - 1) * (360deg / var(--quntity)))) translateZ(500px);
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

@keyframes rotateSlider {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }
}

.content {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: 'Cinzel', serif;
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00;
  width: 100%;
  padding: 0 2rem;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: fadeInIntro 3s ease-out forwards;
}

@keyframes fadeInIntro {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#toggle-sound {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  color: #ffcc00;
  font-size: 1.2rem;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 6px #ffcc00;
}