/* ============================================================
   VIBEST /next2 — IL FIUME DI FUMO
   Un palco fisso. Un fumo continuo. Lo scroll è la storia:
   ogni cosa si materializza dal fumo al centro, racconta,
   e si riscioglie nel fumo. Nulla è mai statico.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #05020f;
  --viola: #7A00FF;
  --viola-soft: #c084fc;
  --ciano: #00F0FF;
  --oro: #FFD24A;
  --fucsia: #FF3DA8;
  --text: #fff;
  --text-soft: #cfcfcf;
  --text-dim: #888;
}
html { background: var(--bg); }
html, body {
  color: var(--text);
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  overflow-anchor: none;
}
body {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(120vmax 80vmax at 50% -10%, rgba(122,0,255,0.10), transparent 60%),
    radial-gradient(90vmax 70vmax at 80% 110%, rgba(255,61,168,0.07), transparent 60%),
    var(--bg);
}

/* ==================== FUMO ==================== */
#fluidCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
#fogFallback {
  position: fixed; inset: -20%;
  z-index: 1;
  pointer-events: none;
  display: none;
  background:
    radial-gradient(45vmax 35vmax at 25% 30%, rgba(255,61,168,0.15), transparent 65%),
    radial-gradient(50vmax 40vmax at 75% 60%, rgba(122,0,255,0.16), transparent 65%),
    radial-gradient(40vmax 32vmax at 50% 85%, rgba(0,240,255,0.08), transparent 65%);
  filter: blur(30px);
  animation: fogDrift 16s ease-in-out infinite alternate;
}
#fogFallback.on { display: block; }
@keyframes fogDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

/* ==================== HEADER ==================== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center; align-items: center;
  padding: 14px 18px;
  padding-top: calc(14px + env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(5,2,15,0.92), rgba(5,2,15,0.5) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.h-logo { display: flex; align-items: center; text-decoration: none; }
.h-logo img {
  width: auto; height: 52px;
  object-fit: contain;
  /* Il jpeg ha la targa scura rettangolare: doppia mask (orizzontale +
     verticale, intersecate) sfuma tutti e 4 i bordi, resta solo il neon */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 26%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0, #000 26%, #000 74%, transparent 100%);
  mask-composite: intersect;
  filter: drop-shadow(0 0 14px rgba(122,0,255,0.5)) drop-shadow(0 0 22px rgba(255,61,168,0.20));
}
.h-left {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 8px;
  z-index: 101;
}
.mute-btn {
  background: rgba(122,0,255,0.10);
  border: 1px solid rgba(122,0,255,0.38);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1em;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.15s;
}
.mute-btn:active { transform: scale(0.92); }
/* Switch lingua IT|EN: si illumina quella attiva */
.lang-switch {
  background: rgba(0,240,255,0.07);
  border: 1px solid rgba(0,240,255,0.35);
  height: 38px;
  padding: 3px;
  border-radius: 100px;
  display: flex; align-items: center; gap: 2px;
  cursor: pointer;
  transition: transform 0.15s;
}
.lang-switch:active { transform: scale(0.94); }
.ls-opt {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68em; font-weight: 700; letter-spacing: 1px;
  padding: 0 9px;
  height: 30px;
  display: flex; align-items: center;
  border-radius: 100px;
  color: var(--text-dim);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.ls-opt.on {
  background: rgba(0,240,255,0.18);
  color: var(--ciano);
  box-shadow: 0 0 12px rgba(0,240,255,0.35), inset 0 0 8px rgba(0,240,255,0.12);
}
.menu-wrap { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 101; }
.menu-toggle {
  background: transparent; border: none; cursor: pointer;
  padding: 6px; display: inline-flex; flex-direction: column;
  gap: 5px; align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: rgba(10, 5, 35, 0.98);
  border: 1px solid rgba(122,0,255,0.3);
  border-radius: 12px; padding: 6px 0; min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 24px rgba(122,0,255,0.18);
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.menu-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.menu-dropdown a { display: block; padding: 10px 18px; color: #ccc; text-decoration: none; font-size: 0.88em; }
.menu-dropdown a:hover { background: rgba(122,0,255,0.12); color: #fff; }

/* ==================== TRACK + PALCO ==================== */
/* Il track dà la lunghezza dello scroll; il palco è fisso e ci vive tutto */
#scrollTrack { position: relative; z-index: 0; width: 100%; }
#stage {
  position: fixed; inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.moment {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 22px 60px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity, filter;
}
/* L'ultimo momento resta e i bottoni tornano cliccabili */
body.at-end #stage { pointer-events: auto; }
body.at-end .moment { pointer-events: none; }
body.at-end #m-download { pointer-events: auto; }

/* Tipografia dei momenti */
.mo-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(1.7em, 7vw, 4.2em);
  line-height: 1.03;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--viola-soft) 60%, var(--viola) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* neon elegante + velatura scura: stacca dal fumo brillante */
  filter: drop-shadow(0 0 14px rgba(122,0,255,0.55)) drop-shadow(0 3px 16px rgba(0,0,0,0.8));
}
.mo-title.cy {
  background: linear-gradient(135deg, var(--ciano) 0%, #fff 55%, var(--viola) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(0,240,255,0.45)) drop-shadow(0 3px 16px rgba(0,0,0,0.8));
}
.mo-title.fx {
  background: linear-gradient(135deg, var(--fucsia) 0%, #fff 50%, var(--viola-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255,61,168,0.45)) drop-shadow(0 3px 16px rgba(0,0,0,0.8));
}
.mo-sub {
  font-size: clamp(1em, 3.8vw, 1.25em);
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 560px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 16px rgba(0,0,0,0.75), 0 0 28px rgba(122,0,255,0.22);
}
.mo-sub strong { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3), 0 1px 3px rgba(0,0,0,0.9); }
.mo-sub .hl-c { color: var(--ciano); font-weight: 700; text-shadow: 0 0 12px rgba(0,240,255,0.55), 0 1px 3px rgba(0,0,0,0.9); }
.mo-sub .hl-v { color: var(--viola-soft); font-weight: 700; text-shadow: 0 0 12px rgba(192,132,252,0.55), 0 1px 3px rgba(0,0,0,0.9); }
.mo-sub .hl-f { color: var(--fucsia); font-weight: 700; text-shadow: 0 0 12px rgba(255,61,168,0.55), 0 1px 3px rgba(0,0,0,0.9); }

/* --- M0: LOGO --- */
.big-logo-wrap {
  position: relative;
  width: clamp(180px, 46vw, 280px);
  height: clamp(180px, 46vw, 280px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.big-logo-glow {
  position: absolute; inset: -16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ciano), var(--viola), var(--fucsia), var(--oro), var(--ciano));
  filter: blur(26px);
  opacity: 0.28;
  animation: spinGlow 8s linear infinite;
}
@keyframes spinGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.big-logo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
  clip-path: circle(46% at center);
  -webkit-clip-path: circle(46% at center);
  position: relative;
  filter: drop-shadow(0 0 20px rgba(255,61,168,0.28));
}
.logo-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.75em, 3vw, 0.95em);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-soft);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 16px rgba(0,0,0,0.7), 0 0 24px rgba(122,0,255,0.3);
}
.logo-tag strong { color: var(--fucsia); text-shadow: 0 0 16px rgba(255,61,168,0.6); }
/* Indicatore di scroll: mouse su PC, swipe su telefono */
.scroll-cue {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  /* Il palco ha pointer-events:none: il cue si riattiva da solo perché
     è anche un bottone (click = scendi di una schermata, per chi non
     ha la rotellina) */
  pointer-events: auto;
  cursor: pointer;
}
.cue-mouse {
  width: 27px; height: 42px;
  border: 2px solid rgba(0,240,255,0.75);
  border-radius: 16px;
  position: relative;
  box-shadow: 0 0 14px rgba(0,240,255,0.4), inset 0 0 8px rgba(0,240,255,0.15);
}
.cue-wheel {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--ciano);
  box-shadow: 0 0 10px var(--ciano);
  animation: wheelDrop 1.7s ease-in-out infinite;
}
@keyframes wheelDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
/* Il gesto di swipe vero, a insegna neon (stessa lingua del logo V):
   il dito TOCCA (cerchietto di contatto), TRASCINA in su stirando il
   tratto dal punto di contatto — la mano inclinata a sinistra non lo
   copre — poi rilascia e svanisce ANCORA IN MOVIMENTO: il ciclo
   riparte subito da sotto, senza pause. */
.cue-swipe {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 64px; height: 84px;
}
.cue-hand {
  width: 44px; height: 51px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(0,240,255,0.55)) drop-shadow(0 0 14px rgba(122,0,255,0.45));
  animation: handSwipe 1.6s linear infinite;
  will-change: transform, opacity;
}
/* Punto di contatto: appare quando il dito appoggia e resta lì.
   Cerchio e tratto sono centrati sullo stesso asse (x=21); il tratto
   finisce sul bordo alto del cerchio, non lo attraversa. */
.cue-ring {
  position: absolute;
  left: 21px; top: 40px;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid rgba(0,240,255,0.9);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,240,255,0.6), inset 0 0 6px rgba(0,240,255,0.35);
  animation: ringTouch 1.6s linear infinite;
}
.cue-trail {
  position: absolute;
  left: 21px; top: 9px;
  width: 3px; height: 25px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0,240,255,0.25), rgba(0,240,255,0.95) 45%, rgba(0,240,255,0.95));
  box-shadow: 0 0 8px rgba(0,240,255,0.5);
  transform-origin: 50% 100%;
  animation: trailDraw 1.6s linear infinite;
}
@keyframes handSwipe {
  0%   { transform: translateY(22px); opacity: 0; animation-timing-function: ease-out; }
  9%   { transform: translateY(17px); opacity: 1; animation-timing-function: ease-in-out; }
  18%  { transform: translateY(17px) scale(0.96); opacity: 1; animation-timing-function: cubic-bezier(0.3, 0, 0.45, 1); }
  84%  { transform: translateY(-12px); opacity: 1; animation-timing-function: linear; }
  100% { transform: translateY(-17px); opacity: 0; }
}
@keyframes ringTouch {
  0%, 9%  { transform: scale(0.4); opacity: 0; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  18% { transform: scale(1); opacity: 1; animation-timing-function: linear; }
  84% { transform: scale(1); opacity: 0.8; animation-timing-function: linear; }
  100% { transform: scale(1.15); opacity: 0; }
}
@keyframes trailDraw {
  0%, 18% { transform: scaleY(0.03); opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.45, 1); }
  30% { opacity: 1; }
  84% { transform: scaleY(1); opacity: 1; animation-timing-function: linear; }
  100% { transform: scaleY(1.12); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cue-hand, .cue-ring, .cue-trail { animation: none; }
  .cue-ring, .cue-trail { opacity: 0; }
  .cue-hand { transform: none; opacity: 1; }
}
/* Touch: niente mouse, mano swipe */
@media (pointer: coarse) {
  .cue-mouse { display: none; }
  .cue-swipe { display: flex; }
}
.scroll-hint {
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-align: center;
  animation: hintPulse 2.4s ease-in-out infinite;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 14px rgba(0,0,0,0.7), 0 0 22px rgba(0,240,255,0.25);
}
@keyframes hintPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Promemoria pigro: fermo da più di 2s sulla stessa slide → in basso
   riappare in dissolvenza SOLO l'icona del gesto (mouse su PC, dito su
   touch), niente scritte. Sparisce al primo movimento. */
.idle-cue {
  position: fixed;
  left: 50%; bottom: 18px;
  transform: translateX(-50%) scale(0.82);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.idle-cue.show {
  opacity: 0.85;
  transform: translateX(-50%) scale(1);
}

/* --- M1: HERO --- */
.hero-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-inner { display: block; will-change: transform, opacity, filter; }
.hero-white {
  color: #fff;
  /* il parent .mo-title ha text-fill transparent (gradiente): senza questo
     override la riga eredita il riempimento trasparente e appare NERA */
  -webkit-text-fill-color: #fff;
  background: none;
  /* bordo scuro sottile + ombra morbida: stacca dal fumo senza annerire */
  -webkit-text-stroke: 0.5px rgba(10,4,30,0.4);
  text-shadow:
    0 2px 6px rgba(5,2,15,0.75),
    0 4px 16px rgba(5,2,15,0.55),
    0 0 26px rgba(122,0,255,0.35);
}
.hero-grad {
  background: linear-gradient(135deg, var(--fucsia) 0%, var(--viola-soft) 45%, var(--ciano) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(255,61,168,0.45)) drop-shadow(0 3px 14px rgba(0,0,0,0.8));
}

/* --- M2: CERCO --- */
.seek-fix {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  color: var(--text-dim);
  font-size: clamp(0.7em, 3.1vw, 1.6em);
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 18px rgba(0,0,0,0.7);
}
.seek-word {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4em, 6.2vw, 3.2em);
  line-height: 1.18;
  min-height: 2.5em;
  background: linear-gradient(135deg, var(--ciano) 0%, #fff 50%, var(--fucsia) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(0,240,255,0.45)) drop-shadow(0 3px 14px rgba(0,0,0,0.8));
}
.seek-note { margin-top: 24px; }

/* --- M3: TEAM VIBE --- */
#m-teamvibe { justify-content: flex-start; padding-top: calc(96px + env(safe-area-inset-top)); }
.tv-head { margin-bottom: 18px; }
.tv-caption {
  font-size: clamp(0.95em, 3.6vw, 1.15em);
  color: var(--text-soft);
  min-height: 2.6em;
  max-width: 460px;
  margin: 8px auto 0;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 16px rgba(0,0,0,0.75);
}
.tv-caption strong { color: var(--ciano); }
.phone {
  position: relative;
  z-index: 2;
  width: clamp(220px, 54vw, 270px);
  aspect-ratio: 9 / 17.5;
  border-radius: 32px;
  border: 2px solid rgba(122,0,255,0.55);
  background: linear-gradient(180deg, rgba(14,8,44,0.92), rgba(6,4,26,0.94));
  box-shadow: 0 0 44px rgba(255,61,168,0.25), 0 0 44px rgba(122,0,255,0.35), inset 0 0 20px rgba(0,0,0,0.6);
  overflow: hidden;
  will-change: transform, opacity, filter;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 15px;
  background: #000;
  border-radius: 100px;
  z-index: 5;
}
.phone-screen { position: absolute; inset: 0; padding: 32px 12px 12px; }
.tv-form { display: flex; flex-direction: column; gap: 8px; }
.tv-field {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(122,0,255,0.35);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
}
.tv-field small {
  display: block;
  font-size: 0.58em; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.tv-field span { font-size: 0.8em; font-weight: 700; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.25), 0 1px 3px rgba(0,0,0,0.8); }
.tv-launch {
  margin-top: 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7em; font-weight: 800; letter-spacing: 2px;
  color: #fff;
  text-align: center;
  padding: 11px 8px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--viola), #4c00a4);
  box-shadow: 0 0 18px rgba(122,0,255,0.6);
  opacity: 0;
  transform: translateY(14px);
}
.tv-wave {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--viola-soft);
  box-shadow: 0 0 24px rgba(255,61,168,0.6);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
/* SOPRA il telefono: le notifiche devono leggersi sempre */
.tv-notifs { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tv-mini-notif {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(10,6,40,0.92);
  border: 1px solid rgba(0,240,255,0.35);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.72em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 16px rgba(0,240,255,0.2);
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity;
}
.tv-mini-notif .join {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85em; font-weight: 800;
  color: var(--ciano);
  border: 1px solid rgba(0,240,255,0.5);
  border-radius: 100px;
  padding: 3px 9px;
  text-shadow: 0 0 10px rgba(0,240,255,0.5);
}
/* Posizioni: su mobile ai lati, su desktop VICINE al telefono */
.tv-mini-notif.n1 { top: 24%; left: 4%; }
.tv-mini-notif.n2 { top: 32%; right: 4%; }
.tv-mini-notif.n3 { top: 58%; left: 3%; }
.tv-mini-notif.n4 { top: 66%; right: 3%; }
@media (min-width: 768px) {
  .tv-mini-notif.n1 { top: 30%; left: calc(50% - 370px); }
  .tv-mini-notif.n2 { top: 36%; right: calc(50% - 380px); }
  .tv-mini-notif.n3 { top: 58%; left: calc(50% - 390px); }
  .tv-mini-notif.n4 { top: 64%; right: calc(50% - 395px); }
}
/* La connessione telefono→persone è fumo ciano della simulazione (vedi JS) */
.tv-chat {
  display: flex; flex-direction: column; gap: 7px;
  position: absolute; inset: 32px 12px 12px;
  opacity: 0; visibility: hidden;
}
.tv-chat-head {
  font-size: 0.62em; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ciano);
  text-align: center;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(0,240,255,0.5);
}
.tv-msg {
  max-width: 82%;
  border-radius: 12px;
  padding: 7px 10px;
  font-size: 0.74em;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
}
.tv-msg .m-name { display: block; font-size: 0.82em; font-weight: 800; color: var(--viola-soft); margin-bottom: 1px; }
.tv-msg.left { align-self: flex-start; background: rgba(255,255,255,0.08); }
.tv-msg.right { align-self: flex-end; background: rgba(122,0,255,0.35); }
.tv-msg.right .m-name { color: var(--ciano); }

/* --- M4: RADAR --- */
.radar-wrap {
  position: relative;
  width: clamp(220px, 52vw, 330px);
  aspect-ratio: 1;
  margin: 26px auto 0;
  will-change: transform, opacity, filter;
}
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0,240,255,0.25); }
.radar-ring.r1 { inset: 33%; }
.radar-ring.r2 { inset: 18%; border-color: rgba(0,240,255,0.18); }
.radar-ring.r3 { inset: 3%; border-color: rgba(0,240,255,0.12); }
.radar-sweep {
  position: absolute; inset: 3%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0,240,255,0.35), transparent 22%);
  animation: radarSpin 3.6s linear infinite;
}
@keyframes radarSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.radar-pulse {
  position: absolute; inset: 46%;
  border-radius: 50%;
  border: 2px solid var(--viola-soft);
  animation: radarPulse 2.4s ease-out infinite;
  opacity: 0;
}
.radar-pulse.p2 { animation-delay: 0.8s; }
.radar-pulse.p3 { animation-delay: 1.6s; }
@keyframes radarPulse {
  0% { transform: scale(0.2); opacity: 0.9; }
  100% { transform: scale(5.4); opacity: 0; }
}
.radar-me {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--fucsia));
  box-shadow: 0 0 18px var(--fucsia);
}
.radar-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--ciano));
  box-shadow: 0 0 12px var(--ciano);
  opacity: 0;
  animation: pinBlink 2.4s ease-in-out infinite;
}
.radar-pin.out { background: radial-gradient(circle, #777, #444); box-shadow: none; opacity: 0.25; animation: none; }
@keyframes pinBlink {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

/* --- M5: ABILITÀ --- */
.as-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.as-inner { display: block; will-change: transform, opacity; }
.ability-statement {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1em, 5vw, 2.8em);
  line-height: 1.1;
}
.ability-statement .dim {
  color: var(--text-dim);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 16px rgba(0,0,0,0.7);
}
.ability-statement .white {
  color: #fff;
  -webkit-text-stroke: 0.4px rgba(10,4,30,0.35);
  text-shadow:
    0 2px 6px rgba(5,2,15,0.75),
    0 3px 14px rgba(5,2,15,0.5),
    0 0 22px rgba(122,0,255,0.3);
}
.ability-statement .grad {
  background: linear-gradient(135deg, var(--oro) 0%, #fff 40%, var(--fucsia) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255,61,168,0.45)) drop-shadow(0 3px 14px rgba(0,0,0,0.8));
}
.ability-card {
  margin: 28px auto 0;
  width: clamp(220px, 60vw, 300px);
  border-radius: 20px;
  border: 1px solid rgba(122,0,255,0.30);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 20px;
  box-shadow: 0 0 30px rgba(122,0,255,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
  will-change: transform, opacity, filter;
}
.ability-emoji { font-size: 2.4em; line-height: 1; margin-bottom: 8px; }
.ability-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.05em, 4.2vw, 1.4em);
  font-weight: 800;
  min-height: 1.3em;
  text-shadow: 0 0 12px rgba(255,255,255,0.3), 0 0 24px rgba(122,0,255,0.45), 0 2px 8px rgba(0,0,0,0.8);
}
.ability-kind {
  font-size: 0.72em; letter-spacing: 2px; text-transform: uppercase; color: var(--ciano); margin-top: 6px;
  text-shadow: 0 0 12px rgba(0,240,255,0.5), 0 1px 3px rgba(0,0,0,0.9);
}

/* --- M6: HOME FEED --- */
.feed-demo {
  margin: 26px auto 0;
  width: 100%;
  max-width: 400px;
  display: flex; flex-direction: column; gap: 9px;
}
.feed-filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.feed-pill {
  font-size: 0.76em; font-weight: 700;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(122,0,255,0.4);
  background: rgba(122,0,255,0.08);
  color: #e0d4ff;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.feed-pill.on {
  background: linear-gradient(135deg, var(--viola), #4c00a4);
  color: #fff;
  box-shadow: 0 0 16px rgba(122,0,255,0.55);
}
.feed-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(122,0,255,0.28);
  border-radius: 14px;
  padding: 10px 14px;
  text-align: left;
  will-change: transform, opacity;
}
.feed-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1em;
  background: radial-gradient(circle at 30% 30%, rgba(255,61,168,0.35), rgba(122,0,255,0.4));
  border: 1px solid rgba(255,255,255,0.18);
}
.feed-info { flex: 1; min-width: 0; }
.feed-name { font-size: 0.84em; font-weight: 800; text-shadow: 0 0 8px rgba(255,255,255,0.25), 0 1px 3px rgba(0,0,0,0.8); }
.feed-meta { font-size: 0.7em; color: var(--text-dim); margin-top: 1px; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.feed-dist {
  font-family: 'Orbitron', sans-serif; font-size: 0.66em; font-weight: 700; color: var(--ciano); flex-shrink: 0;
  text-shadow: 0 0 10px rgba(0,240,255,0.5);
}

/* --- M7: POST --- */
.post-float-wrap {
  position: relative;
  margin: 24px auto 0;
  width: 100%;
  max-width: 720px;
  display: flex; justify-content: center; gap: 16px;
  flex-wrap: wrap;
  perspective: 900px;
}
.post-card {
  width: clamp(130px, 24vw, 200px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(122,0,255,0.4);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 24px rgba(255,61,168,0.2);
  will-change: transform, opacity;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.post-card .pc-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3em; }
.post-card.pc1 .pc-bg { background: linear-gradient(160deg, #2b0a5e, #7A00FF 130%); }
.post-card.pc2 .pc-bg { background: linear-gradient(160deg, #002d38, #00F0FF 180%); }
.post-card.pc3 .pc-bg { background: linear-gradient(160deg, #3d0a2c, #FF3DA8 170%); }
.post-card .pc-label {
  position: relative;
  padding: 9px 12px;
  font-size: 0.75em; font-weight: 700;
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  text-shadow: 0 0 8px rgba(255,255,255,0.25), 0 1px 3px rgba(0,0,0,0.9);
}
.post-card .pc-label small { display: block; font-weight: 400; color: var(--text-soft); font-size: 0.82em; }

/* --- M8: SHOP --- */
.shop-row {
  margin: 26px auto 0;
  display: flex; gap: 13px; justify-content: center;
  flex-wrap: wrap;
  max-width: 680px;
}
.shop-card {
  width: clamp(130px, 34vw, 190px);
  border-radius: 16px;
  border: 1px solid rgba(0,240,255,0.3);
  background: rgba(255,255,255,0.045);
  overflow: hidden;
  text-align: left;
  will-change: transform, opacity;
}
.shop-img {
  height: 84px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2em;
  background: linear-gradient(150deg, rgba(122,0,255,0.35), rgba(255,61,168,0.15));
}
.shop-body { padding: 9px 12px 11px; }
.shop-name { font-size: 0.8em; font-weight: 800; text-shadow: 0 0 8px rgba(255,255,255,0.25), 0 1px 3px rgba(0,0,0,0.8); }
.shop-price {
  font-family: 'Orbitron', sans-serif; font-size: 0.78em; font-weight: 800; color: var(--oro); margin-top: 3px;
  text-shadow: 0 0 10px rgba(255,210,74,0.5), 0 1px 3px rgba(0,0,0,0.8);
}
.shop-km { font-size: 0.66em; color: var(--ciano); margin-top: 2px; text-shadow: 0 0 8px rgba(0,240,255,0.45); }

/* --- M9: COSTELLAZIONE --- */
.constellation {
  position: relative;
  margin: 24px auto 0;
  width: clamp(250px, 66vw, 460px);
  aspect-ratio: 1;
}
.const-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--fucsia));
  box-shadow: 0 0 22px var(--fucsia);
  z-index: 2;
}
.const-line {
  position: absolute; top: 50%; left: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,61,168,0.6), rgba(0,240,255,0.15));
  transform-origin: left center;
  opacity: 0;
  will-change: opacity;
}
.const-node {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  background: rgba(10,6,40,0.9);
  border: 1px solid rgba(0,240,255,0.35);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 0.72em; font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(0,240,255,0.3), 0 0 30px rgba(122,0,255,0.2);
  text-shadow: 0 0 10px rgba(0,240,255,0.4), 0 1px 3px rgba(0,0,0,0.8);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 3;
  will-change: transform, opacity;
}

/* --- M10: COMMUNITY --- */
#m-community { padding-left: 0; padding-right: 0; }
.marquee {
  width: 100vw;
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 13px; }
.marquee-track {
  display: inline-flex; gap: 12px;
  padding: 4px 0;
  animation: marqueeMove 36s linear infinite;
  will-change: transform;
}
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 42s; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(122,0,255,0.10);
  border: 1px solid rgba(122,0,255,0.38);
  border-radius: 100px;
  padding: 8px 17px;
  font-size: 0.88em; font-weight: 700;
  color: #e8ddff;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(192,132,252,0.4), 0 1px 3px rgba(0,0,0,0.8);
  box-shadow: 0 0 12px rgba(122,0,255,0.25);
}
.mq-chip.cy {
  border-color: rgba(0,240,255,0.35); background: rgba(0,240,255,0.07); color: #d2f9ff;
  text-shadow: 0 0 10px rgba(0,240,255,0.4), 0 1px 3px rgba(0,0,0,0.8);
  box-shadow: 0 0 12px rgba(0,240,255,0.2);
}

/* --- M11: NUMERI --- */
.stats-grid {
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(125px, 210px));
  gap: 14px;
  justify-content: center;
}
.stat-tile {
  border: 1px solid rgba(122,0,255,0.35);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  padding: 20px 12px 16px;
  will-change: transform, opacity;
}
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.9em, 7.5vw, 2.8em);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--ciano), #fff 55%, var(--fucsia));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0,240,255,0.45)) drop-shadow(0 2px 10px rgba(0,0,0,0.8));
}
.stat-num.gold {
  background: linear-gradient(135deg, #FFE89C 0%, #FFD24A 45%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(255,210,74,0.5)) drop-shadow(0 2px 10px rgba(0,0,0,0.8));
}
.stat-label {
  margin-top: 7px; font-size: 0.78em; color: var(--text-soft); line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.7);
}

/* --- M12: DOWNLOAD --- */
.dl-logo-wrap {
  position: relative;
  width: clamp(150px, 36vw, 220px);
  height: clamp(150px, 36vw, 220px);
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  will-change: transform, opacity, filter;
}
.dl-logo-glow {
  position: absolute; inset: -26px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ciano), var(--viola), var(--fucsia), var(--oro), var(--ciano));
  filter: blur(30px);
  opacity: 0.6;
  animation: spinGlow 8s linear infinite;
}
.dl-logo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
  clip-path: circle(46% at center);
  -webkit-clip-path: circle(46% at center);
  position: relative;
  filter: drop-shadow(0 0 34px rgba(255,61,168,0.55));
}
.stores {
  display: flex; gap: 10px; justify-content: center;
  max-width: 360px;
  margin: 26px auto 0;
  width: 100%;
}
.btn-store {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #000;
  border: 1.5px solid rgba(122,0,255,0.55);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 14px rgba(122,0,255,0.35);
  min-width: 0;
}
.btn-store:active { transform: scale(0.97); }
.btn-store:hover { border-color: var(--fucsia); box-shadow: 0 0 22px rgba(255,61,168,0.5); }
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store .st-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; min-width: 0; }
.btn-store .st-text small { font-size: 0.6em; color: #aaa; letter-spacing: 0.5px; }
.btn-store .st-text strong {
  font-family: 'Orbitron', sans-serif; font-size: 0.86em; font-weight: 800;
  text-shadow: 0 0 10px rgba(255,255,255,0.3), 0 0 18px rgba(122,0,255,0.4);
}
.dl-free {
  margin-top: 14px; font-size: 0.82em; color: var(--text-dim); letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 14px rgba(0,0,0,0.7);
}
.dl-links {
  margin-top: 26px;
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.dl-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.78em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.6);
}
.dl-links a:hover { color: var(--ciano); text-shadow: 0 0 12px rgba(0,240,255,0.6); }
.dl-copy { margin-top: 10px; font-size: 0.7em; color: #555; text-shadow: 0 1px 3px rgba(0,0,0,0.9); }

/* ==================== FALLBACK STATICO ==================== */
/* Reduced motion o niente GSAP: flusso normale, tutto visibile */
body.static-mode #stage { position: static; pointer-events: auto; overflow: visible; }
body.static-mode #scrollTrack { display: none; }
body.static-mode .moment {
  position: relative;
  opacity: 1;
  visibility: visible;
  min-height: 100dvh;
}
body.static-mode .tv-field, body.static-mode .tv-launch { opacity: 1; transform: none; }
body.static-mode .const-line { opacity: 1; }
body.static-mode .const-node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
body.static-mode .hero-inner, body.static-mode .as-inner { transform: none !important; opacity: 1 !important; }

/* ==================== RESPONSIVE ==================== */
/* Schermi piccoli: il testo è piccolo, l'alone bianco lo farebbe sembrare
   sfocato → glow ridotto al minimo, resta la velatura scura di stacco */
@media (max-width: 640px) {
  .hero-white {
    -webkit-text-stroke: 0.4px rgba(10,4,30,0.4);
    text-shadow:
      0 1px 4px rgba(5,2,15,0.7),
      0 3px 10px rgba(5,2,15,0.5);
  }
  .ability-statement .white {
    -webkit-text-stroke: 0.3px rgba(10,4,30,0.35);
    text-shadow:
      0 1px 4px rgba(5,2,15,0.7),
      0 2px 8px rgba(5,2,15,0.5);
  }
  .mo-sub strong { text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7); }
}
@media (max-width: 380px) {
  .h-logo img { height: 44px; }
  .h-left { left: 12px; gap: 6px; }
  .mute-btn { width: 32px; height: 32px; font-size: 0.85em; }
  .lang-btn { height: 32px; padding: 0 9px; font-size: 0.64em; }
  .menu-wrap { right: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-height: 700px) {
  .phone { width: clamp(190px, 44vw, 230px); }
  .big-logo-wrap { width: clamp(150px, 38vw, 220px); height: clamp(150px, 38vw, 220px); }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; transform: none; flex-wrap: wrap; justify-content: center; width: 100vw; }
  #fluidCanvas, #fogFallback { display: none !important; }
}

/* ==================== CANCELLO D'INGRESSO ====================
   Prima di tutto c'è solo una scritta centrale: al click nasce
   il logo dalle nubi, parte la musica e il resto dell'esperienza. */
#introGate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: radial-gradient(120vmax 120vmax at 50% 50%, rgba(5,2,15,0) 0%, rgba(5,2,15,0.4) 100%);
  transition: opacity 0.65s ease;
}
#introGate.gone { opacity: 0; pointer-events: none; }
/* Il logo Definitivo, sfumato ai bordi: niente cornice, esce dal buio */
.gate-logo {
  width: min(72vw, 430px);
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 60% 56% at 50% 50%, #000 50%, transparent 76%);
  mask-image: radial-gradient(ellipse 60% 56% at 50% 50%, #000 50%, transparent 76%);
  filter: drop-shadow(0 0 30px rgba(122,0,255,0.30));
  animation: gateBreath 3.2s ease-in-out infinite;
}
@keyframes gateBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
/* Sotto il logo, a intermittenza: si capisce che va cliccato/toccato */
.gate-line {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  animation: gateBlink 1.5s ease-in-out infinite;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 14px rgba(0,240,255,0.3);
}
/* Filetti laterali che sfumano: importanza senza gridare */
.gate-line::before, .gate-line::after {
  content: '';
  width: 34px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,240,255,0.65));
  box-shadow: 0 0 8px rgba(0,240,255,0.35);
}
.gate-line::after {
  background: linear-gradient(to left, transparent, rgba(0,240,255,0.65));
}
@media (pointer: coarse) {
  .gate-line { font-size: 0.72em; letter-spacing: 3.5px; gap: 12px; }
  .gate-line::before, .gate-line::after { width: 26px; }
  .gate-logo { width: min(80vw, 430px); }
}
@keyframes gateBlink { 0%, 40% { opacity: 1; } 68%, 82% { opacity: 0.12; } 100% { opacity: 1; } }
/* Finché il cancello è chiuso la pagina non scrolla e l'header sparisce
   (niente logo né luci in alto, anche su iOS) */
html.gate-open, html.gate-open body { overflow: hidden; }
header { transition: opacity 0.6s ease; }
/* Nascosto SUBITO (niente dissolvenza in uscita): sul cancello si vede
   solo il fumo. La transizione vale solo per il rientro dopo il tocco. */
html.gate-open header { opacity: 0; pointer-events: none; transition: none; }
/* Modalità statica (reduced motion / niente gsap): nessun cancello */
body.static-mode #introGate { display: none; }

/* ==================== USCITA DALLE NUBI ====================
   Durante la nascita del logo il fumo sta DAVANTI a tutto:
   il logo cresce verso di noi da dentro le nubi, poi il fumo
   torna dietro e si accende la luce dall'alto. */
/* Il canvas del fumo NON cambia mai livello (lo scalino nasceva lì).
   Il "davanti" lo fa il velo di nube personale del logo: sta sopra il
   tondo, cresce con lui e si dissolve mentre esce — continuo per natura. */
.logo-veil {
  position: absolute;
  left: -45%; top: -45%;
  width: 190%; height: 190%;
  pointer-events: none;
  opacity: 0;
}
.logo-veil::before {
  content: '';
  position: absolute; inset: -8%;
  background:
    radial-gradient(42% 38% at 32% 42%, rgba(255,61,168,0.40), transparent 70%),
    radial-gradient(48% 44% at 68% 55%, rgba(122,0,255,0.46), transparent 70%),
    radial-gradient(38% 36% at 50% 72%, rgba(0,240,255,0.24), transparent 70%),
    radial-gradient(55% 50% at 50% 45%, rgba(5,2,15,0.55), transparent 75%);
  filter: blur(22px);
  animation: veilSwirl 7s ease-in-out infinite alternate;
}
@keyframes veilSwirl {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(16deg) scale(1.1); }
}

