.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body > *:not(.bg-wrap):not(footer) {
  position: relative;
  z-index: 1;
}

footer { z-index: 10; }

/* ── Aurora blobs ── */
.bg-aurora { position: absolute; inset: 0; }

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}

.bg-blob-1 {
  width: 650px; height: 650px;
  background: #0369a1;
  opacity: .2;
  top: -18%; left: -8%;
  animation: drift1 24s ease-in-out infinite alternate;
}

.bg-blob-2 {
  width: 500px; height: 500px;
  background: #4338ca;
  opacity: .15;
  top: 15%; right: -12%;
  animation: drift2 30s ease-in-out infinite alternate;
}

.bg-blob-3 {
  width: 420px; height: 420px;
  background: #0891b2;
  opacity: .17;
  bottom: -10%; left: 22%;
  animation: drift3 20s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0,   0)   scale(1);    }
  to   { transform: translate(70px, 50px) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate(0,   0)   scale(1);    }
  to   { transform: translate(-60px, 40px) scale(.9); }
}
@keyframes drift3 {
  from { transform: translate(0,   0)   scale(1);    }
  to   { transform: translate(40px, -60px) scale(1.1); }
}

/* ── Dot grid ── */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .35;
}

/* ── Particle canvas ── */
#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Vignette ── */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(10,14,24,.72) 100%);
}
