
/* Falling snow */
.snowflake {
  position: fixed;
  top: -20px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 4px rgba(255,255,255,0.5);
  animation: snowfall linear forwards;
}

@keyframes snowfall {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(25px, 50vh, 0);
  }
  100% {
    transform: translate3d(-15px, 105vh, 0);
  }
}

/* Snow accumulated at the bottom */
.snow-ground {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 9998;
  pointer-events: none;

  background: #ffffff;
  border-radius: 50% 50% 0 0 / 12px 12px 0 0;

  box-shadow: 0 -3px 12px rgba(255,255,255,0.5);

  transition: height 2s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .snowflake {
    display: none;
  }
  .snow-ground {
    transition: none;
  }
}
