
.snow_area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 998px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.snow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ==================== 雪花飘落 ==================== */
@keyframes snowA {
  0% {
    transform: translate3d(0, -40px, 0);
  }
  50% {
    transform: translate3d(28px, 600px, 0);
  }
  100% {
    transform: translate3d(-14px, 1240px, 0);
  }
}

@keyframes snowB {
  0% {
    transform: translate3d(0, -40px, 0);
  }
  50% {
    transform: translate3d(-30px, 600px, 0);
  }
  100% {
    transform: translate3d(16px, 1240px, 0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.flake {
  position: absolute;
  top: 0;
  border-radius: 50%;
  background: #fff;
  filter: blur(.5px);
}

.crystal {
  position: absolute;
  top: 0;
}

.crystal svg {
  display: block;
}

.crystal .spin {
  animation: spin 9s linear infinite;
}

/* ==================== 顶部彩灯 ==================== */
@keyframes twinkle {
  0%,
  100% {
    opacity: .35;
    transform: scale(.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.garland {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.bulb {
  position: absolute;
  width: 10px;
  height: 13px;
  margin-left: -5px;
  border-radius: 50% 50% 55% 55%;
  z-index: 3;
  pointer-events: none;
  animation: twinkle 1.9s ease-in-out infinite;
}

/* ==================== 无障碍：减少动态效果 ==================== */
@media (prefers-reduced-motion: reduce) {
  .flake,
  .crystal,
  .crystal .spin,
  .bulb {
    animation: none !important;
  }
}