/* Hero space — gravitational anomaly backdrop */

.hero-space {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-lens,
.hero-distortion,
.hero-reactor {
  position: absolute;
  inset: 0;
}

.hero-lens canvas,
.hero-distortion canvas,
.hero-reactor canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-space-veil {
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* Left-to-right fade for split dashboard layout */
.hero-space-veil--console {
  background:
    linear-gradient(90deg,
      rgba(6, 6, 8, 0.04) 0%,
      rgba(6, 6, 8, 0.02) 30%,
      transparent 55%,
      rgba(6, 6, 8, 0.55) 82%,
      rgba(6, 6, 8, 0.88) 100%
    ),
    linear-gradient(to top, rgba(6, 6, 8, 0.35) 0%, transparent 45%);
}

.hero-space-veil--center {
  background:
    radial-gradient(ellipse 72% 58% at 50% 38%,
      rgba(6, 6, 8, 0.80) 0%,
      rgba(6, 6, 8, 0.40) 42%,
      rgba(6, 6, 8, 0.10) 68%,
      rgba(6, 6, 8, 0.30) 100%
    ),
    linear-gradient(to bottom, rgba(6, 6, 8, 0.55) 0%, transparent 38%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-lens canvas,
  .hero-distortion canvas,
  .hero-reactor canvas {
    will-change: auto;
  }
}
