.fx {
  z-index: 1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: drift 20s ease-in-out infinite alternate;
  will-change: transform;
}

.orb-one {
  width: 44vw;
  height: 44vw;
  left: -10vw;
  top: -10vw;
  background:
    radial-gradient(circle at 35% 35%, rgba(125, 211, 252, 0.6), rgba(125, 211, 252, 0.08) 40%, transparent 70%);
  animation-duration: 18s;
}

.orb-two {
  width: 38vw;
  height: 38vw;
  right: -8vw;
  top: 8vh;
  background:
    radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.55), rgba(192, 132, 252, 0.08) 42%, transparent 72%);
  animation-duration: 24s;
}

.orb-three {
  width: 32vw;
  height: 32vw;
  left: 20vw;
  bottom: -8vw;
  background:
    radial-gradient(circle at 50% 50%, rgba(103, 232, 249, 0.48), rgba(103, 232, 249, 0.08) 45%, transparent 75%);
  animation-duration: 28s;
}

.mesh {
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px, 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  opacity: 0.18;
  transform: perspective(900px) rotateX(70deg) translateY(34vh) scale(1.8);
  transform-origin: center center;
}

.vignette {
  z-index: 3;
  background:
    radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.58) 100%);
}

.noise {
  z-index: 4;
  opacity: 0.06;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: soft-light;
  animation: noiseShift 0.35s steps(2) infinite;
}

.scanlines {
  z-index: 5;
  opacity: 0.07;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 2px,
      transparent 4px
    );
  mix-blend-mode: overlay;
}

.glow-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      rgba(125, 211, 252, 0.00),
      rgba(125, 211, 252, 0.35),
      rgba(192, 132, 252, 0.25),
      rgba(103, 232, 249, 0.30),
      rgba(125, 211, 252, 0.00)
    );
  filter: blur(48px);
  opacity: 0.65;
  animation: spin 18s linear infinite;
  z-index: -2;
}

.corner-light {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -3;
}

.corner-a {
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.55), transparent 70%);
}

.corner-b {
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.45), transparent 72%);
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4vw, -3vh, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-3vw, 4vh, 0) scale(0.96);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-1%, 1%, 0);
  }
  50% {
    transform: translate3d(1%, -1%, 0);
  }
  75% {
    transform: translate3d(1%, 1%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
