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

.fw-wrap {
  position: relative;
  width: 8px;
  height: 8px;
}

.fw-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  opacity: 0;
}

.fw-dot:nth-child(1) {
  background: #ffd23f;
  --angle: 45deg;
}

.fw-dot:nth-child(2) {
  background: #2f6df6;
  --angle: 90deg;
}

.fw-dot:nth-child(3) {
  background: #ff4d1f;
  --angle: 135deg;
}

.fw-dot:nth-child(4) {
  background: #fff7e6;
  --angle: 180deg;
}

.fw-dot:nth-child(5) {
  background: #ffd23f;
  --angle: 225deg;
}

.fw-dot:nth-child(6) {
  background: #2f6df6;
  --angle: 270deg;
}

.fw-dot:nth-child(7) {
  background: #ff4d1f;
  --angle: 315deg;
}

.fw-dot:nth-child(8) {
  background: #fff7e6;
  --angle: 360deg;
}

@keyframes fw-burst {
  0% {
    transform: rotate(var(--angle)) translateY(0) scale(1);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(var(--angle)) translateY(-92px) scale(0.3);
    opacity: 0;
  }
}
.fw-wrap.is-demo .fw-dot {
  animation: fw-burst 1s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fw-wrap.is-demo .fw-dot {
    animation: none !important;
    opacity: 0 !important;
  }
}
