/* Aurora background (pure CSS port of the "aurora-background" component, dark variant).
   Usage: add class "aurora-bg" to a container and put <div class="aurora-bg__layer" aria-hidden="true"></div>
   as its first child; the rest of the content must sit above it (position:relative; z-index:1).
   Add "aurora-bg--full" to fade the effect in from the top-right corner only (the component's
   default radial mask) — omit it for an even wash. */

.aurora-bg{
  position:relative;overflow:hidden;isolation:isolate;
  --aurora-black:#000;--aurora-clear:transparent;
  --aurora-dark:repeating-linear-gradient(100deg,var(--aurora-black) 0%,var(--aurora-black) 7%,var(--aurora-clear) 10%,var(--aurora-clear) 12%,var(--aurora-black) 16%);
  --aurora:repeating-linear-gradient(100deg,#3b82f6 10%,#a5b4fc 15%,#93c5fd 20%,#ddd6fe 25%,#60a5fa 30%);
}
.aurora-bg__layer{
  position:absolute;inset:-10px;z-index:0;pointer-events:none;
  background-image:var(--aurora-dark),var(--aurora);
  background-size:300%,200%;background-position:50% 50%,50% 50%;
  filter:blur(10px);opacity:.5;will-change:transform;
  -webkit-mask-image:radial-gradient(ellipse at 100% 0%,#000 10%,transparent 70%);
  mask-image:radial-gradient(ellipse at 100% 0%,#000 10%,transparent 70%);
}
.aurora-bg__layer::after{
  content:"";position:absolute;inset:0;
  background-image:var(--aurora-dark),var(--aurora);
  background-size:200%,100%;background-attachment:fixed;
  mix-blend-mode:difference;
  animation:aurora-shift 60s linear infinite;
}
.aurora-bg--full > .aurora-bg__layer{-webkit-mask-image:none;mask-image:none;}
@keyframes aurora-shift{
  from{background-position:50% 50%,50% 50%;}
  to{background-position:350% 50%,350% 50%;}
}
@media (prefers-reduced-motion:reduce){
  .aurora-bg__layer::after{animation:none;}
}
