.nf-season-banner {
  position: fixed;
  left: 50%;
  top: 64px;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: calc(100% - 20px);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
  opacity: 1;
}

.nf-season-banner.is-fading {
  animation: nfSeasonBannerFade .8s ease forwards;
}

@keyframes nfSeasonBannerFade {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
}

#nf-season-effects-layer,
#nf-season-admin-preview-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.nf-season-particle {
  position: absolute;
  top: -10vh;
  opacity: 0.85;
  will-change: transform, opacity;
  animation-name: nfSeasonFall;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.nf-season-particle.nf-up {
  top: auto;
  bottom: -14vh;
  animation-name: nfSeasonRise;
}

@keyframes nfSeasonFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  100% {
    transform: translate3d(var(--dx, 0px), 110vh, 0) rotate(var(--rot, 180deg));
    opacity: 0;
  }
}

@keyframes nfSeasonRise {
  0% {
    transform: translate3d(0, 10vh, 0) rotate(0deg);
    opacity: 0;
  }
  12% { opacity: 1; }
  100% {
    transform: translate3d(var(--dx, 0px), -120vh, 0) rotate(var(--rot, 120deg));
    opacity: 0;
  }
}

.nf-season-rainbow {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  z-index: 9999;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00cc00, #0066ff, #4b0082, #9400d3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.nf-season-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nf-season-beams {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 68px),
    linear-gradient(180deg, rgba(85,190,255,0.25), rgba(5,10,20,0));
  animation: nfBeamShift 6s linear infinite;
}

@keyframes nfBeamShift {
  0% { transform: translateX(0); }
  100% { transform: translateX(68px); }
}

.nf-season-glitch {
  mix-blend-mode: screen;
  background:
    repeating-linear-gradient(0deg, rgba(255,0,80,0.15) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(90deg, rgba(0,220,255,0.08) 0 3px, transparent 3px 22px);
  animation: nfGlitchShift 1800ms steps(12) infinite;
}

@keyframes nfGlitchShift {
  0% { transform: translate(0,0); opacity: .7; }
  20% { transform: translate(-6px,2px); opacity: .9; }
  40% { transform: translate(7px,-2px); opacity: .5; }
  60% { transform: translate(-3px,4px); opacity: .8; }
  80% { transform: translate(4px,-3px); opacity: .6; }
  100% { transform: translate(0,0); opacity: .7; }
}

.nf-season-warp {
  background: radial-gradient(circle at center, rgba(130, 215, 255, .15), rgba(15, 20, 40, .05) 35%, transparent 70%);
}

.nf-season-boxes {
  background:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: nfBoxesMove 10s linear infinite;
}

@keyframes nfBoxesMove {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 42px 0, 0 42px; }
}

.nf-season-underwater {
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 221, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(100, 169, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(0, 47, 90, 0.28), rgba(2, 14, 36, 0.22));
}
