#rain-layer {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.rain-drop {
  position: fixed;
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: linear-gradient(#9ee7ff, #3b9df2);
  box-shadow: 0 0 5px rgba(70, 170, 255, .65);
  animation: rainFall 2.5s linear forwards;
}

.weather-particle {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: 22px;
  line-height: 1;
  animation: weatherFall 2.7s ease-in forwards;
}

.weather-flower { filter: drop-shadow(0 2px 3px rgba(255, 105, 160, .35)); }
.weather-mushroom { font-size: 24px; filter: drop-shadow(0 2px 3px rgba(120, 70, 40, .35)); }
.weather-snow { color: #fff; text-shadow: 0 0 7px #5ecbff; }
.weather-hail {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, #a9dfff 55%, #5c9ee8);
  box-shadow: 0 2px 5px rgba(63, 117, 190, .35);
}
.weather-candy {
  width: 18px;
  height: 10px;
  border-radius: 99px;
  background: var(--candy-color, #ff6b9d);
  box-shadow: inset 2px 2px 2px rgba(255,255,255,.65), 0 2px 4px rgba(80, 80, 140, .25);
}

@keyframes rainFall {
  0% { opacity: 0; transform: translateY(-8px) rotate(8deg); }
  12% { opacity: .9; }
  100% { opacity: 0; transform: translateY(260px) rotate(8deg); }
}

@keyframes weatherFall {
  0% { opacity: 0; transform: translateY(-8px) rotate(0deg) scale(.7); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(300px) rotate(260deg) scale(1); }
}

.kite.kite-chaos {
  animation: kiteChaos 6s linear 1;
}

.kite-set.k2 .kite.kite-chaos {
  animation-name: kiteChaosLeft;
}

@keyframes kiteChaos {
  0% { transform: translate(0, 0) rotate(43deg) translateX(-50%) scale(1); }
  25% { transform: translate(250px, -42px) rotate(46deg) translateX(-50%) scale(.9); }
  50% { transform: translate(540px, -52px) rotate(49deg) translateX(-50%) scale(.7); }
  70% { transform: translate(710px, -116px) rotate(46deg) translateX(-50%) scale(.58); }
  85% { transform: translate(370px, -58px) rotate(45deg) translateX(-50%) scale(.78); }
  100% { transform: translate(0, 0) rotate(43deg) translateX(-50%) scale(1); }
}

@keyframes kiteChaosLeft {
  0% { transform: translate(0, 0) rotate(43deg) translateX(-50%) scale(1); }
  25% { transform: translate(-250px, -42px) rotate(40deg) translateX(-50%) scale(.9); }
  50% { transform: translate(-540px, -52px) rotate(37deg) translateX(-50%) scale(.7); }
  70% { transform: translate(-710px, -116px) rotate(40deg) translateX(-50%) scale(.58); }
  85% { transform: translate(-370px, -58px) rotate(41deg) translateX(-50%) scale(.78); }
  100% { transform: translate(0, 0) rotate(43deg) translateX(-50%) scale(1); }
}

.star-spark {
  position: fixed; z-index: 6; color: #fff7a8; pointer-events: none;
  font-size: 18px; font-weight: bold; text-shadow: 0 0 8px #fff, 0 0 14px #ffe85c;
  animation: starSparkle .9s ease-out forwards;
}

@keyframes starSparkle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.25) rotate(0deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(1.15) rotate(180deg); }
}

