body {
  margin: 0;
  background: linear-gradient(to bottom, #000, #020024, #090979, #00d4ff);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.drop {
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0, 255, 255, 0.7), rgba(0, 255, 255, 0.1));
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.5);
  animation: fall linear infinite, twinkle 3s infinite;
  filter: blur(1px);
  opacity: 0.8;
}

@keyframes fall {
  to {
      transform: translateY(100vh) translateX(var(--wind, 0px));
  }
}

@keyframes twinkle {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
}

@keyframes lightning {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
      opacity: 0;
  }
  20%, 24%, 55% {
      opacity: 1;
  }
}

.lightning {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  animation: lightning 3s infinite;
}

.splash {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 10px;
  background: rgba(0, 255, 255, 0.7);
  opacity: 0;
  animation: splash 0.3s ease-out forwards;
}

@keyframes splash {
  from {
      transform: scaleY(1);
      opacity: 0.7;
  }
  to {
      transform: scaleY(0);
      opacity: 0;
  }
}

.trail {
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: 120px;
  background: rgba(0, 255, 255, 0.2);
  filter: blur(2px);
  opacity: 0;
  animation: fall-trail linear infinite;
}

@keyframes fall-trail {
  0% {
      opacity: 0;
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0;
      transform: translateY(100vh);
  }
}
