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

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  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;
  top: -12%;
  width: 2px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(rgba(47, 109, 246, 0), #2f6df6);
  opacity: 0.7;
  transform: rotate(12deg);
  animation: rain 600ms linear infinite;
  animation-delay: calc(var(--i) * -0.07s);
}

.p:nth-child(1) {
  left: 37%;
  animation-duration: 700ms;
}

.p:nth-child(2) {
  left: 74%;
  animation-duration: 800ms;
}

.p:nth-child(3) {
  left: 15%;
  animation-duration: 900ms;
}

.p:nth-child(4) {
  left: 52%;
  animation-duration: 600ms;
}

.p:nth-child(5) {
  left: 89%;
  animation-duration: 700ms;
}

.p:nth-child(6) {
  left: 30%;
  animation-duration: 800ms;
}

.p:nth-child(7) {
  left: 67%;
  animation-duration: 900ms;
}

.p:nth-child(8) {
  left: 8%;
  animation-duration: 600ms;
}

.p:nth-child(9) {
  left: 45%;
  animation-duration: 700ms;
}

.p:nth-child(10) {
  left: 82%;
  animation-duration: 800ms;
}

.p:nth-child(11) {
  left: 23%;
  animation-duration: 900ms;
}

.p:nth-child(12) {
  left: 60%;
  animation-duration: 600ms;
}

.p:nth-child(13) {
  left: 1%;
  animation-duration: 700ms;
}

.p:nth-child(14) {
  left: 38%;
  animation-duration: 800ms;
}

.p:nth-child(15) {
  left: 75%;
  animation-duration: 900ms;
}

.p:nth-child(16) {
  left: 16%;
  animation-duration: 600ms;
}

.p:nth-child(17) {
  left: 53%;
  animation-duration: 700ms;
}

.p:nth-child(18) {
  left: 90%;
  animation-duration: 800ms;
}

.p:nth-child(19) {
  left: 31%;
  animation-duration: 900ms;
}

.p:nth-child(20) {
  left: 68%;
  animation-duration: 600ms;
}

.p:nth-child(21) {
  left: 9%;
  animation-duration: 700ms;
}

.p:nth-child(22) {
  left: 46%;
  animation-duration: 800ms;
}

@keyframes rain {
  0% {
    transform: translateY(0) translateX(0) rotate(12deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(380px) translateX(60px) rotate(12deg);
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p {
    animation: none;
    opacity: 0.25;
    top: 45%;
  }
}
