/* Animated aurora background, fixed behind everything */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background:
  radial-gradient(1400px 900px at 85% -15%, #1d1042 0%, transparent 60%),
  radial-gradient(1000px 700px at -10% 110%, #1a0b2e 0%, transparent 60%),
  var(--bg); }
.backdrop .orb { position: absolute; border-radius: 50%; filter: blur(110px); mix-blend-mode: screen; will-change: transform; }
.backdrop .orb-uv { width: 62vmax; height: 62vmax; left: 45%; top: -30%; background: radial-gradient(circle, rgb(139 92 255 / 0.55), transparent 65%); animation: orb-a 34s var(--ease) infinite alternate; }
.backdrop .orb-magenta { width: 48vmax; height: 48vmax; left: -18%; top: 22%; background: radial-gradient(circle, rgb(255 79 216 / 0.30), transparent 65%); animation: orb-b 41s var(--ease) infinite alternate; }
.backdrop .orb-coral { width: 40vmax; height: 40vmax; left: 55%; top: 60%; background: radial-gradient(circle, rgb(255 138 107 / 0.22), transparent 65%); animation: orb-c 47s var(--ease) infinite alternate; }
.backdrop .orb-lime { width: 26vmax; height: 26vmax; left: 12%; top: -10%; background: radial-gradient(circle, rgb(210 255 77 / 0.12), transparent 65%); animation: orb-b 53s var(--ease) infinite alternate-reverse; }
.backdrop .grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 70%);
}
.backdrop .grain {
  position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@keyframes orb-a { to { transform: translate3d(-22vw, 18vh, 0) scale(1.15); } }
@keyframes orb-b { to { transform: translate3d(26vw, -14vh, 0) scale(0.9); } }
@keyframes orb-c { to { transform: translate3d(-30vw, -26vh, 0) scale(1.2); } }
