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

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

.caption {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #17141a;
  font-weight: 700;
  font-size: clamp(16px, 5vw, 22px);
  line-height: 1;
  font-family: inherit;
}

.p {
  position: absolute;
  bottom: -10%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #17141a;
  background: rgba(23, 20, 26, 0.1);
  opacity: 0;
  animation: rise 4s ease-out infinite;
  animation-delay: calc(var(--i) * -0.24s);
}

.p:nth-child(1) {
  left: 43%;
  width: 8px;
  height: 8px;
  animation-duration: 4.5s;
}

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

.p:nth-child(3) {
  left: 37%;
  width: 12px;
  height: 12px;
  animation-duration: 5.5s;
}

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

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

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

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

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

.p:nth-child(9) {
  left: 19%;
  width: 14px;
  height: 14px;
  animation-duration: 4.5s;
}

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

.p:nth-child(11) {
  left: 13%;
  width: 8px;
  height: 8px;
  animation-duration: 5.5s;
}

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

.p:nth-child(13) {
  left: 7%;
  width: 12px;
  height: 12px;
  animation-duration: 4.5s;
}

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

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

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

.p:nth-child(17) {
  left: 87%;
  width: 10px;
  height: 10px;
  animation-duration: 4.5s;
}

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

.p:nth-child(19) {
  left: 81%;
  width: 14px;
  height: 14px;
  animation-duration: 5.5s;
}

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

@keyframes rise {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  55% {
    transform: translateY(-170px) scale(1.15);
  }
  100% {
    transform: translateY(-360px) scale(0.8);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p {
    animation: none;
    opacity: 0.4;
    bottom: 20%;
  }
}
