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);
}

.ws-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font: 700 clamp(22px, 6vw, 34px)/1.2 -apple-system, "Segoe UI", sans-serif;
  color: #fff7e6;
}

.ws-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(var(--blur, 6px));
}

@keyframes ws-rise {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(var(--blur, 6px));
    animation-timing-function: linear(0, 0.051, 0.176, 0.341, 0.518, 0.685, 0.831, 0.947, 1.032, 1.087, 1.117, 1.126, 1.121, 1.105, 1.085, 1.062, 1.041, 1.022, 1.008, 0.997, 1);
  }
  20%, 80% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(var(--blur, 6px));
  }
}
.ws-line.is-demo .ws-word {
  animation: ws-rise 2s ease-out infinite;
}

.ws-line.is-demo .ws-word:nth-child(2) {
  animation-delay: 160ms;
  --blur: 9px;
}

.ws-line.is-demo .ws-word:nth-child(3) {
  animation-delay: 320ms;
  --blur: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .ws-word,
  .ws-line.is-demo .ws-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
