
.hx { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.hx-haze { position: absolute; left: 48%; top: 58%; width: 60%; height: 60%; border-radius: 50%; opacity: .16;
  background: radial-gradient(ellipse, rgba(120, 170, 255, .9), rgba(120, 170, 255, 0) 65%);
  animation: hxHaze 19s ease-in-out infinite alternate; }
.hx-embers i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); opacity: 0;
  box-shadow: 0 0 7px 1px var(--c); animation: hxDrift var(--d) linear var(--dl) infinite; }
.hx-flare, .hx-sweep, .hx-orbit { display: none; }

@media (min-width: 1024px) {
  .hx-flare { display: block; position: absolute; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 235, 255, .9), rgba(120, 180, 255, .3) 30%, rgba(120, 180, 255, 0) 68%); }
  .hx-flare.a { left: 52%; top: 19%; animation: hxFlare 5.3s ease-in-out infinite; }
  .hx-flare.b { left: 94%; top: 18.5%; animation: hxFlare 7.1s ease-in-out -2.4s infinite; }
  .hx-sweep { display: block; position: absolute; height: 3px; transform-origin: left center; filter: blur(1px); opacity: .75;
    background: linear-gradient(90deg, transparent 44%, rgba(255, 170, 170, .9) 49%, #fff 50%, rgba(255, 170, 170, .9) 51%, transparent 56%) 130% 0 / 320% 100% no-repeat; }
  .hx-sweep.a { left: 77.4%; top: 99%; width: 34%; transform: rotate(-48deg); animation: hxSweep 4.2s linear infinite; }
  .hx-sweep.b { left: 59%; top: 91%; width: 46%; transform: rotate(-30deg); animation: hxSweep 5.6s linear -2s infinite; }
  .hx-orbit { display: block; position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #cfeaff;
    box-shadow: 0 0 10px 3px rgba(110, 190, 255, .9); offset-path: ellipse(10.5% 4% at 83% 89%); offset-rotate: 0deg;
    animation: hxOrbit 6.5s linear infinite; }
}

@keyframes hxHaze { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
@keyframes hxDrift { 0% { opacity: 0; transform: translate(0, 0); } 14% { opacity: .95; } 78% { opacity: .55; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@keyframes hxFlare { 0%, 100% { opacity: .22; transform: scale(.9); } 22% { opacity: .5; } 31% { opacity: .3; } 55% { opacity: .62; transform: scale(1.08); } 71% { opacity: .36; } }
@keyframes hxSweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@keyframes hxOrbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }


.hx-pause { position: absolute; z-index: 3; right: 18px; top: 61%; display: inline-flex; align-items: center; gap: 7px; min-height: 0; margin: 0; padding: var(--space-1) 2px;
  border: 0; border-radius: var(--radius-s); background: none; box-shadow: none; cursor: pointer; -webkit-appearance: none; appearance: none;
  font: 500 13px/1 var(--font-body); color: var(--muted); text-shadow: 0 1px 6px #000; }
.hx-pause:hover { color: var(--ink); background: none; box-shadow: none; transform: none; }
.hx-pause svg { width: 12px; height: 12px; fill: currentColor; }
@media (max-width: 900px) { .hx-pause { top: auto; bottom: 10px; right: 16px; } }


.gateway-hero:is(.is-motion-paused, .is-offscreen) .hx * { animation-play-state: paused; }


@media (prefers-reduced-motion: reduce) {
  .hx, .hx-pause { display: none; }
}
