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

.field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.caption {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff7e6;
  font-weight: 700;
  font-size: clamp(16px, 5vw, 22px);
  line-height: 1;
  font-family: inherit;
  text-shadow: 0 2px 8px rgba(23, 20, 26, 0.6);
}

.p {
  position: absolute;
  top: -8%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff7e6;
  opacity: 0;
  animation: fall 6s linear infinite;
  animation-delay: calc(var(--i) * -0.28s);
}

.p:nth-child(1) {
  left: 53%;
  width: 6px;
  height: 6px;
  animation-duration: 6.6s;
}

.p:nth-child(2) {
  left: 9%;
  width: 8px;
  height: 8px;
  animation-duration: 7.2s;
}

.p:nth-child(3) {
  left: 62%;
  width: 10px;
  height: 10px;
  animation-duration: 7.8s;
}

.p:nth-child(4) {
  left: 18%;
  width: 4px;
  height: 4px;
  animation-duration: 8.4s;
}

.p:nth-child(5) {
  left: 71%;
  width: 6px;
  height: 6px;
  animation-duration: 6s;
}

.p:nth-child(6) {
  left: 27%;
  width: 8px;
  height: 8px;
  animation-duration: 6.6s;
}

.p:nth-child(7) {
  left: 80%;
  width: 10px;
  height: 10px;
  animation-duration: 7.2s;
}

.p:nth-child(8) {
  left: 36%;
  width: 4px;
  height: 4px;
  animation-duration: 7.8s;
}

.p:nth-child(9) {
  left: 89%;
  width: 6px;
  height: 6px;
  animation-duration: 8.4s;
}

.p:nth-child(10) {
  left: 45%;
  width: 8px;
  height: 8px;
  animation-duration: 6s;
}

.p:nth-child(11) {
  left: 1%;
  width: 10px;
  height: 10px;
  animation-duration: 6.6s;
}

.p:nth-child(12) {
  left: 54%;
  width: 4px;
  height: 4px;
  animation-duration: 7.2s;
}

.p:nth-child(13) {
  left: 10%;
  width: 6px;
  height: 6px;
  animation-duration: 7.8s;
}

.p:nth-child(14) {
  left: 63%;
  width: 8px;
  height: 8px;
  animation-duration: 8.4s;
}

.p:nth-child(15) {
  left: 19%;
  width: 10px;
  height: 10px;
  animation-duration: 6s;
}

.p:nth-child(16) {
  left: 72%;
  width: 4px;
  height: 4px;
  animation-duration: 6.6s;
}

.p:nth-child(17) {
  left: 28%;
  width: 6px;
  height: 6px;
  animation-duration: 7.2s;
}

.p:nth-child(18) {
  left: 81%;
  width: 8px;
  height: 8px;
  animation-duration: 7.8s;
}

.p:nth-child(19) {
  left: 37%;
  width: 10px;
  height: 10px;
  animation-duration: 8.4s;
}

.p:nth-child(20) {
  left: 90%;
  width: 4px;
  height: 4px;
  animation-duration: 6s;
}

.p:nth-child(21) {
  left: 46%;
  width: 6px;
  height: 6px;
  animation-duration: 6.6s;
}

.p:nth-child(22) {
  left: 2%;
  width: 8px;
  height: 8px;
  animation-duration: 7.2s;
}

.p:nth-child(23) {
  left: 55%;
  width: 10px;
  height: 10px;
  animation-duration: 7.8s;
}

.p:nth-child(24) {
  left: 11%;
  width: 4px;
  height: 4px;
  animation-duration: 8.4s;
}

@keyframes fall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  92% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(340px) translateX(14px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p {
    animation: none;
    opacity: 0.35;
    top: 40%;
  }
}
