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

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  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;
}

.p {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff7e6;
  box-shadow: 0 0 12px rgba(255, 247, 230, 0.8);
  opacity: 0;
  animation: drift 3.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.37s);
}

.p:nth-child(1) {
  left: 29%;
  top: 61%;
  animation-duration: 3.9s;
}

.p:nth-child(2) {
  left: 58%;
  top: 44%;
  animation-duration: 4.3s;
}

.p:nth-child(3) {
  left: 87%;
  top: 27%;
  animation-duration: 4.7s;
}

.p:nth-child(4) {
  left: 26%;
  top: 10%;
  animation-duration: 3.5s;
}

.p:nth-child(5) {
  left: 55%;
  top: 71%;
  animation-duration: 3.9s;
}

.p:nth-child(6) {
  left: 84%;
  top: 54%;
  animation-duration: 4.3s;
}

.p:nth-child(7) {
  left: 23%;
  top: 37%;
  animation-duration: 4.7s;
}

.p:nth-child(8) {
  left: 52%;
  top: 20%;
  animation-duration: 3.5s;
}

.p:nth-child(9) {
  left: 81%;
  top: 3%;
  animation-duration: 3.9s;
}

.p:nth-child(10) {
  left: 20%;
  top: 64%;
  animation-duration: 4.3s;
}

.p:nth-child(11) {
  left: 49%;
  top: 47%;
  animation-duration: 4.7s;
}

.p:nth-child(12) {
  left: 78%;
  top: 30%;
  animation-duration: 3.5s;
}

.p:nth-child(13) {
  left: 17%;
  top: 13%;
  animation-duration: 3.9s;
}

.p:nth-child(14) {
  left: 46%;
  top: 74%;
  animation-duration: 4.3s;
}

.p:nth-child(15) {
  left: 75%;
  top: 57%;
  animation-duration: 4.7s;
}

.p:nth-child(16) {
  left: 14%;
  top: 40%;
  animation-duration: 3.5s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  35% {
    transform: translate(14px, -10px);
  }
  55% {
    transform: translate(-8px, -20px);
    opacity: 0.3;
  }
  70% {
    opacity: 0.85;
  }
  85% {
    transform: translate(10px, -6px);
  }
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p {
    animation: none;
    opacity: 0.45;
  }
}
