:root {
  --scene-background: url('./optical-field.svg'), radial-gradient(ellipse at 105% 40%, rgb(91 83 221 / 80%), transparent 55%), radial-gradient(ellipse at -20% 20%, rgb(105 79 210 / 42%), transparent 55%), linear-gradient(135deg, #281c59, #342875 58%, #35328b);
}
body.has-spotlight-background::before { content: none; }
.site-backdrop, .spotlight-blur { position: fixed; inset: 0; pointer-events: none; user-select: none; }
.site-backdrop { z-index: -3; background: var(--scene-background); background-position: center; background-size: cover; }
.spotlight-blur { z-index: -2; opacity: 0; transition: opacity 280ms ease; contain: strict; }
.spotlight-blur::before { content: ''; position: absolute; inset: 0; background: var(--scene-background); background-position: center; background-size: cover; filter: blur(24px) saturate(125%) brightness(1.12); }
.spotlight-blur.is-active { opacity: 1; }
@supports ((mask-image: radial-gradient(black, transparent)) or (-webkit-mask-image: radial-gradient(black, transparent))) {
  .spotlight-blur {
    -webkit-mask-image: radial-gradient(circle 260px at var(--spot-x, 50%) var(--spot-y, 50%), #000 0%, rgb(0 0 0 / 96%) 20%, rgb(0 0 0 / 65%) 46%, transparent 76%);
    mask-image: radial-gradient(circle 260px at var(--spot-x, 50%) var(--spot-y, 50%), #000 0%, rgb(0 0 0 / 96%) 20%, rgb(0 0 0 / 65%) 46%, transparent 76%);
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce), (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .spotlight-blur { display: none; }
}
