/* Audone highlight surface: an uneven, slowly drifting green gradient with a fine grain on top.
   Used only on the few things that should glow (play buttons, the one primary action). */
@property --gx{syntax:"<percentage>";inherits:false;initial-value:18%}
@property --gy{syntax:"<percentage>";inherits:false;initial-value:22%}
.glow.glow.glow{position:relative;isolation:isolate;overflow:hidden;color:#06110B!important;border:0!important;
  background:
    radial-gradient(85% 120% at var(--gx) var(--gy),#D6FF4A 0%,rgba(214,255,74,0) 58%),
    radial-gradient(70% 95% at 88% 85%,#0FB873 0%,rgba(15,184,115,0) 62%),
    radial-gradient(55% 75% at 72% 8%,#8BF7BD 0%,rgba(139,247,189,0) 60%),
    radial-gradient(60% 80% at 10% 95%,#1FE08A 0%,rgba(31,224,138,0) 70%),
    #22D886;
  animation:glowdrift 9s ease-in-out infinite alternate;
  box-shadow:inset 0 -8px 18px rgba(0,60,30,.16)}
.glow::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;opacity:.6;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");background-size:160px 160px}
.glow>*{position:relative;z-index:1}
/* hover: a touch brighter, never a different colour (beats .btn.w:hover which turns buttons white) */
.glow.glow.glow:hover,.glow.glow.glow:focus-visible{background-color:#22D886;filter:brightness(1.08) saturate(1.06)}
.glow.glow.glow:active{filter:brightness(.97)}
@keyframes glowdrift{0%{--gx:14%;--gy:18%}50%{--gx:42%;--gy:34%}100%{--gx:24%;--gy:70%}}
@media (prefers-reduced-motion:reduce){.glow{animation:none}}

/* Aura: the same light as the buttons, spread out behind empty screens (login, gates).
   Big soft blobs that drift, a fine grain, and the brand stays dark. */
.aura{isolation:isolate;overflow:hidden}
.aura::before{content:"";position:absolute;inset:-20%;z-index:-2;pointer-events:none;
  background:
    radial-gradient(38% 34% at var(--ax,70%) var(--ay,26%),rgba(31,224,138,.22),rgba(31,224,138,0) 70%),
    radial-gradient(46% 42% at 24% 78%,rgba(15,184,115,.30),rgba(15,184,115,0) 70%),
    radial-gradient(30% 28% at 86% 84%,rgba(139,247,189,.14),rgba(139,247,189,0) 70%),
    radial-gradient(60% 50% at 50% 50%,rgba(31,224,138,.06),rgba(31,224,138,0) 70%);
  filter:blur(18px);animation:auradrift 22s ease-in-out infinite alternate}
.aura::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.14;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");background-size:200px 200px}
@property --ax{syntax:"<percentage>";inherits:false;initial-value:70%}
@property --ay{syntax:"<percentage>";inherits:false;initial-value:26%}
@keyframes auradrift{0%{--ax:72%;--ay:22%;transform:rotate(0deg)}100%{--ax:58%;--ay:38%;transform:rotate(6deg)}}
@media (prefers-reduced-motion:reduce){.aura::before{animation:none}}

/* Aura as a band inside a page (not a full screen): melt into black at top and bottom */
.aura.fade::before,.aura.fade::after{-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%,#000 70%,transparent 100%)}
.aura.fade::before{inset:0 -20%}
