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

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

.letters {
  margin: 0;
  display: flex;
  gap: clamp(2px, 1vw, 6px);
  font-weight: 800;
  font-size: clamp(28px, 10vw, 46px);
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}
.letters span {
  display: inline-block;
  animation: letter-bounce 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite, letter-blur-in 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
  animation-delay: calc(var(--i) * 40ms + var(--n) * 60ms);
}

@keyframes letter-bounce {
  0%, 4% {
    opacity: 0;
    transform: translateY(22px);
  }
  22%, 70% {
    opacity: 1;
    transform: translateY(0);
  }
  88%, 100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes letter-blur-in {
  0%, 4% {
    filter: blur(10px);
  }
  22%, 70% {
    filter: blur(0);
  }
  88%, 100% {
    filter: blur(10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .letters span {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
