html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.turntable {
  position: relative;
  width: 130px;
  height: 160px;
  perspective: 700px;
}

.turntable__floor {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 120px;
  height: 28px;
  border-radius: 50%;
  background: rgba(23, 20, 26, 0.1);
  transform: translateX(-50%) rotateX(70deg);
  transform-style: preserve-3d;
}

.turntable__object {
  position: absolute;
  inset: 12px 25px 34px;
  transform-style: preserve-3d;
  animation: turn 5s linear infinite;
}

.turntable__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff7e6;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  backface-visibility: hidden;
}

.turntable__face--front {
  background: #0a4fe8;
}

.turntable__face--back {
  background: rgb(2.5992545779%, 20.5341111651%, 60.3027062064%);
  transform: rotateY(180deg);
}

@keyframes turn {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .turntable__object {
    animation: none;
    transform: rotateY(-20deg);
  }
}
