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

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

.cascade {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: min(400px, 90vw);
  font-weight: 600;
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1.2;
  font-family: inherit;
}
.cascade li {
  padding: clamp(8px, 2.6vw, 11px) clamp(12px, 3.4vw, 16px);
  border-radius: 999px;
  background: #fff7e6;
  color: #17141a;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  animation: cascade-loop 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
  white-space: nowrap;
}
.cascade li:nth-child(1) {
  animation-delay: 0ms;
}
.cascade li:nth-child(2) {
  animation-delay: 90ms;
}
.cascade li:nth-child(3) {
  animation-delay: 180ms;
}

@keyframes cascade-loop {
  0%, 8% {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
  26%, 66% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  86%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cascade li {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
