/* =========================================================
   SE VIENEN COSITAS — hoja de estilos
   ========================================================= */
:root {
  --bg: #05010f;
  --ink: #f2f0ff;
  --dim: #a59fc9;
  --c1: #00f0ff;   /* cian */
  --c2: #ff2bd6;   /* magenta */
  --c3: #c6ff00;   /* ácido */
  --c4: #7b2bff;   /* violeta */
  --gold: #ffd400;
  --panel: rgba(12, 4, 32, .62);
  --line: rgba(0, 240, 255, .28);
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-mono: "Share Tech Mono", ui-monospace, "Consolas", monospace;
  --f-glitch: "Rubik Glitch", "Unbounded", sans-serif;
  --f-honk: "Honk", "Unbounded", sans-serif;
  --hud-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 500;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--c2); color: #000; }

/* ---------- FONDO ---------- */
#bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -3; display: block;
  image-rendering: auto;
}
.bg-fallback {
  position: fixed; inset: 0; z-index: -4;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(123,43,255,.55), transparent 70%),
    radial-gradient(50% 50% at 75% 65%, rgba(255,43,214,.4), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(0,240,255,.35), transparent 70%),
    var(--bg);
  animation: fallbackShift 14s ease-in-out infinite alternate;
}
@keyframes fallbackShift { to { filter: hue-rotate(160deg); } }

.overlay-scan {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.16) 0 1px, transparent 1px 3px);
}
.overlay-scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22vh; top: -22vh;
  background: linear-gradient(to bottom, transparent, rgba(0,240,255,.07), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { transform: translateY(150vh); } }

/* capa de cosas sin sentido */
.fx-layer { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; perspective: 900px; }
.cube {
  --s: 90px;
  position: absolute; width: var(--s); height: var(--s);
  transform-style: preserve-3d;
  animation: cubeSpin 18s linear infinite;
}
.cube i {
  position: absolute; inset: 0;
  border: 1.5px solid var(--c1);
  background: linear-gradient(135deg, rgba(0,240,255,.08), rgba(255,43,214,.06));
  box-shadow: 0 0 18px rgba(0,240,255,.35) inset;
}
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube.c1 { top: 18%; left: 6%; }
.cube.c2 { --s: 54px; top: 62%; right: 8%; animation-duration: 11s; animation-direction: reverse; }
.cube.c2 i { border-color: var(--c2); box-shadow: 0 0 18px rgba(255,43,214,.4) inset; }
.cube.c3 { --s: 130px; top: 120%; left: 70%; animation-duration: 26s; }
.cube.c3 i { border-color: var(--c3); box-shadow: 0 0 22px rgba(198,255,0,.25) inset; }
@keyframes cubeSpin {
  0% { transform: rotateX(0) rotateY(0) rotateZ(0) translate3d(0,0,0); }
  50% { transform: rotateX(180deg) rotateY(360deg) rotateZ(90deg) translate3d(30px,-40px,60px); }
  100% { transform: rotateX(360deg) rotateY(720deg) rotateZ(180deg) translate3d(0,0,0); }
}
.ringo {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(198,255,0,.35);
  animation: ringo 30s linear infinite;
}
.ringo.r1 { width: 70vmax; height: 70vmax; left: -20vmax; top: 30vh; transform: rotateX(70deg); }
.ringo.r2 { width: 46vmax; height: 46vmax; right: -12vmax; top: -10vh; border-color: rgba(255,43,214,.35); animation-duration: 21s; animation-direction: reverse; }
@keyframes ringo { to { rotate: 360deg; } }
.frag {
  position: absolute; font-family: var(--f-mono); font-size: 11px; line-height: 1.5;
  color: var(--c1); opacity: .55; letter-spacing: .08em;
  text-shadow: 0 0 6px currentColor;
  animation: flick 4s steps(1) infinite;
}
.frag.f1 { top: 14%; right: 4%; }
.frag.f2 { bottom: 10%; left: 3%; color: var(--c2); animation-delay: -1.3s; }
.frag.f3 { top: 46%; left: 2%; color: var(--c3); animation-delay: -2.1s; }
.frag.f4 { bottom: 26%; right: 3%; animation-delay: -.6s; }
@keyframes flick { 0%, 100% { opacity: .55; } 7% { opacity: .1; } 9% { opacity: .7; } 52% { opacity: .2; } 54% { opacity: .6; } }

/* ---------- CURSOR ---------- */
#cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor * { cursor: none !important; }
  #cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 1.5px solid var(--c1); border-radius: 50%;
    box-shadow: 0 0 12px var(--c1), inset 0 0 8px var(--c2);
    transition: width .15s, height .15s, margin .15s, border-color .15s;
    mix-blend-mode: screen;
  }
  #cursor span {
    position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px;
    background: var(--c3); border-radius: 50%; box-shadow: 0 0 8px var(--c3);
  }
  #cursor::before, #cursor::after {
    content: ""; position: absolute; background: var(--c2);
  }
  #cursor::before { left: 50%; top: -8px; bottom: -8px; width: 1px; transform: translateX(-50%); opacity: .6; }
  #cursor::after { top: 50%; left: -8px; right: -8px; height: 1px; transform: translateY(-50%); opacity: .6; }
  #cursor.hot { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--c3); }
  body:not(.has-cursor) #cursor { display: none; }
}
.trail {
  position: fixed; z-index: 9998; pointer-events: none;
  font-family: var(--f-mono); font-size: 12px; color: var(--c1);
  text-shadow: 0 0 8px currentColor;
  animation: trail .7s ease-out forwards;
}
@keyframes trail { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(120deg); } }

/* ---------- HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hud-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, rgba(5,1,15,.88), rgba(5,1,15,.45));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hud::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 30%;
  background: linear-gradient(90deg, transparent, var(--c2), var(--c3), transparent);
  animation: hudline 3.5s linear infinite;
}
@keyframes hudline { from { transform: translateX(-100%); } to { transform: translateX(430%); } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(255,43,214,.7)); animation: markFloat 3s ease-in-out infinite; }
.brand-mark .logo-halo, .foot-mark .logo-halo { animation: haloSpin 2.4s ease-in-out infinite; transform-origin: 60px 19px; }
@keyframes haloSpin { 50% { transform: translateY(-3px) scaleX(1.12); } }
@keyframes markFloat { 50% { transform: translateY(-2px) rotate(-3deg); } }
.brand-word {
  font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: .04em;
  background: linear-gradient(90deg, #fff, var(--c1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word b {
  font-weight: 900;
  background: linear-gradient(90deg, var(--c2), var(--c3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hud-status {
  font-family: var(--f-mono); font-size: 12px; color: var(--dim); letter-spacing: .12em;
  display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden;
}
.hud-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c3); box-shadow: 0 0 10px var(--c3); animation: blink 1s steps(1) infinite; }
.hud-status .sep { color: var(--c2); }
#clock { color: var(--c1); }
.hud-ctrl { display: flex; align-items: center; gap: 8px; }
.aura-meter {
  display: flex; align-items: baseline; gap: 6px;
  padding: 5px 10px; border: 1px solid rgba(198,255,0,.5); border-radius: 4px;
  background: rgba(198,255,0,.06);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.am-label { font-family: var(--f-mono); font-size: 10px; color: var(--c3); letter-spacing: .2em; }
.am-val { font-family: var(--f-mono); font-size: 16px; color: #fff; min-width: 3ch; text-align: right; text-shadow: 0 0 8px var(--c3); }
.am-val.bump { animation: bump .35s ease-out; }
@keyframes bump { 30% { transform: scale(1.5); color: var(--c3); } }
.hbtn, .lang button {
  height: 34px; min-width: 34px; padding: 0 8px; border-radius: 4px;
  background: rgba(0,240,255,.06); border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.hbtn:hover, .lang button:hover { border-color: var(--c1); background: rgba(0,240,255,.15); }
.hbtn .snd-off { display: none; }
.hbtn[aria-pressed="false"] .snd-on { display: none; }
.hbtn[aria-pressed="false"] .snd-off { display: inline; }
.lang { display: flex; }
.lang button:first-child { border-radius: 4px 0 0 4px; }
.lang button:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.lang button[aria-pressed="true"] { background: var(--c1); color: #000; border-color: var(--c1); box-shadow: 0 0 14px rgba(0,240,255,.6); }

/* ---------- HERO ---------- */
main { position: relative; z-index: 1; }
main { overflow-x: clip; }
.hero {
  min-height: 100svh; justify-content: center; overflow-x: clip;
  padding: calc(var(--hud-h) + 22px) 16px 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
}
.kicker {
  font-family: var(--f-mono); font-size: clamp(11px, 1.4vw, 14px); letter-spacing: .28em;
  color: var(--c1); margin: 0 0 6px; text-shadow: 0 0 10px rgba(0,240,255,.7);
}
.blink { animation: blink .8s steps(1) infinite; color: var(--c2); }
@keyframes blink { 50% { opacity: 0; } }

/* Título gigante, letra por letra */
.title {
  margin: 0; line-height: .9; position: relative;
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2rem, 10.4vw, 8.8rem);
  letter-spacing: -.02em;
  user-select: none;
}
.title-inner { display: inline-flex; flex-direction: column; align-items: center; position: relative; }
.title-line { display: flex; justify-content: center; }
.title-line.l2 { font-size: 1.2em; margin-top: -.02em; }
.ch-sp { display: inline-block; width: .3em; }
.ch {
  position: relative; display: inline-block; text-align: center; white-space: nowrap;
  --mx: 0px; --my: 0px; --mr: 0deg; --ms: 1;
  transform: translate(var(--mx), var(--my)) rotate(var(--mr)) scale(var(--ms));
  transition: transform .25s cubic-bezier(.2,1.6,.4,1);
  animation: chFloat 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -.27s);
}
.ch-in {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #d8fbff 35%, var(--c1) 55%, var(--c2) 80%, var(--c4) 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chGrad 4s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.4s);
  filter: drop-shadow(0 0 18px rgba(255,43,214,.55)) drop-shadow(0 6px 0 rgba(123,43,255,.85));
}
.ch.num .ch-in {
  background: linear-gradient(180deg, #fff 0%, var(--c3) 45%, var(--gold) 70%, var(--c2) 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 18px rgba(198,255,0,.5)) drop-shadow(0 6px 0 rgba(255,43,214,.85));
}
.ch::before, .ch::after {
  content: attr(data-c); position: absolute; left: 0; right: 0; top: 0; text-align: center; pointer-events: none;
  mix-blend-mode: screen; opacity: .8;
}
.ch::before { color: var(--c1); transform: translate(-.04em, 0); clip-path: inset(0 0 55% 0); animation: rgb1 2.3s steps(2) infinite; animation-delay: calc(var(--i) * -.3s); }
.ch::after  { color: var(--c2); transform: translate(.04em, 0); clip-path: inset(50% 0 0 0); animation: rgb2 1.9s steps(2) infinite; animation-delay: calc(var(--i) * -.21s); }
@keyframes chFloat { 50% { translate: 0 -.06em; } }
@keyframes chGrad { to { background-position: 0 100%; } }
@keyframes rgb1 {
  0%, 82%, 100% { transform: translate(-.03em, 0); clip-path: inset(0 0 60% 0); }
  86% { transform: translate(-.09em, -.02em); clip-path: inset(10% 0 40% 0); }
  92% { transform: translate(.05em, .01em); clip-path: inset(70% 0 5% 0); }
}
@keyframes rgb2 {
  0%, 76%, 100% { transform: translate(.03em, 0); clip-path: inset(55% 0 0 0); }
  80% { transform: translate(.1em, .02em); clip-path: inset(30% 0 45% 0); }
  88% { transform: translate(-.06em, 0); clip-path: inset(2% 0 80% 0); }
}
/* glitch fuerte aleatorio */
.ch.glitch .ch-in { animation: chGlitch .32s steps(3) 1; }
.ch.glitch::before { opacity: 1; transform: translate(-.14em, .03em); }
.ch.glitch::after { opacity: 1; transform: translate(.14em, -.03em); }
@keyframes chGlitch {
  0% { transform: skewX(-30deg) scaleY(1.2); filter: hue-rotate(90deg) drop-shadow(0 0 30px var(--c3)); }
  50% { transform: skewX(25deg) translateY(-.05em) scaleX(1.3); }
  100% { transform: none; }
}
.ch.alien .ch-in { font-family: var(--f-glitch); }
.title.jolt { animation: titleShock .5s ease-out; }
@keyframes titleShock {
  20% { transform: scale(1.08) skewX(-6deg); filter: invert(1) hue-rotate(180deg); }
  40% { transform: scale(.97) skewX(4deg); filter: none; }
}

.sub {
  margin: 10px 0 0; font-weight: 800; letter-spacing: .14em;
  font-size: clamp(12px, 2vw, 22px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .55em;
  text-shadow: 0 0 14px rgba(0,0,0,.8);
}
.glitchword {
  position: relative; font-family: var(--f-glitch); font-weight: 400; color: var(--c3);
  font-size: 1.35em; letter-spacing: .04em; line-height: 1;
  text-shadow: 0 0 18px rgba(198,255,0,.7);
  animation: wobble 2.2s ease-in-out infinite;
}
.glitchword::before, .glitchword::after {
  content: attr(data-text); position: absolute; inset: 0;
}
.glitchword::before { color: var(--c2); animation: slice 1.7s steps(2) infinite; }
.glitchword::after { color: var(--c1); animation: slice 2.3s steps(2) infinite reverse; }
@keyframes slice {
  0%, 70%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  72% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, 0); }
  80% { clip-path: inset(55% 0 20% 0); transform: translate(7px, 0); }
  90% { clip-path: inset(80% 0 2% 0); transform: translate(-3px, 0); }
}
@keyframes wobble { 50% { transform: rotate(-2deg) scale(1.04); } }

/* Escenario de Scuba */
.stage {
  --size: clamp(220px, min(38vh, 66vw), 400px);
  position: relative; width: var(--size); height: var(--size);
  margin: clamp(10px, 3vh, 34px) auto 0;
  display: grid; place-items: center;
}
.rays, .rays-2 {
  position: absolute; inset: -40%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,212,0,.32) 0 6deg, transparent 6deg 18deg);
  mask: radial-gradient(circle, #000 18%, transparent 65%);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 65%);
  animation: ringo 26s linear infinite;
}
.rays-2 {
  inset: -25%;
  background: repeating-conic-gradient(from 7deg, rgba(0,240,255,.3) 0 3deg, transparent 3deg 24deg);
  animation-duration: 14s; animation-direction: reverse;
}
.stage-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.sr1 { inset: 4%; border: 2px solid rgba(0,240,255,.5); box-shadow: 0 0 30px rgba(0,240,255,.35), inset 0 0 30px rgba(255,43,214,.35);
  mask: conic-gradient(#000 0 60%, transparent 60% 70%, #000 70% 90%, transparent 90%);
  -webkit-mask: conic-gradient(#000 0 60%, transparent 60% 70%, #000 70% 90%, transparent 90%);
  animation: ringo 9s linear infinite; }
.sr2 { inset: -6%; border: 1px dashed rgba(255,43,214,.6); animation: ringo 16s linear infinite reverse; }
.scuba-btn {
  position: relative; z-index: 3; background: none; border: 0; padding: 0; cursor: pointer;
  width: 78%; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  animation: scubaBob 2.6s ease-in-out infinite;
}
/* Resplandor con degradado, no con drop-shadow grande: Chrome recorta el
   drop-shadow amplio de una imagen animada y deja un rectángulo visible. */
.scuba-btn::before {
  content: ""; position: absolute; inset: -14% -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,240,255,.42), rgba(255,43,214,.22) 55%, transparent 100%);
  pointer-events: none; transition: opacity .2s, transform .2s;
}
.scuba-btn img { width: 100%; height: auto; filter: drop-shadow(0 0 8px rgba(0,240,255,.75)); transition: filter .2s; }
.scuba-btn:hover img { filter: drop-shadow(0 0 8px rgba(198,255,0,.9)) brightness(1.06); }
.scuba-btn:hover::before { transform: scale(1.08); background: radial-gradient(closest-side, rgba(198,255,0,.4), rgba(255,43,214,.28) 55%, transparent 100%); }
.scuba-btn:active { transform: scale(.94); }
.scuba-btn.hit { animation: scubaHit .45s cubic-bezier(.2,1.8,.4,1); }
.scuba-btn:focus-visible { outline: 2px dashed var(--c3); outline-offset: 8px; border-radius: 12px; }
@keyframes scubaBob { 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes scubaHit { 0% { transform: scale(.85) rotate(-6deg); } 60% { transform: scale(1.12) rotate(4deg); filter: hue-rotate(120deg) brightness(1.4); } 100% { transform: none; } }
.halo {
  position: absolute; z-index: 4; top: -6%; left: 50%; width: 42%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 14px rgba(255,212,0,.9));
  animation: haloBob 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes haloBob { 50% { transform: translate(-50%, -14px) scaleX(1.06); } }
.stage { isolation: isolate; }
.orbit { display: contents; }
.orb {
  --R: calc(var(--size) * .64); --V: calc(var(--size) * .2);
  position: absolute; left: 50%; top: 50%; width: 26%; height: auto; z-index: 5;
  animation: orbit 9s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255,43,214,.7));
  pointer-events: none;
}
.orb.o2 { animation-delay: -3s; }
.orb.o3 { animation-delay: -6s; width: 21%; }
/* órbita elíptica: delante de Scuba en la mitad inferior, detrás en la superior */
@keyframes orbit {
  0%     { transform: translate(-50%,-50%) translate(var(--R), 0) scale(1); z-index: 5; }
  12.5%  { transform: translate(-50%,-50%) translate(calc(var(--R) * .707), calc(var(--V) * .707)) scale(1.18); }
  25%    { transform: translate(-50%,-50%) translate(0, var(--V)) scale(1.25); }
  37.5%  { transform: translate(-50%,-50%) translate(calc(var(--R) * -.707), calc(var(--V) * .707)) scale(1.18); }
  50%    { transform: translate(-50%,-50%) translate(calc(var(--R) * -1), 0) scale(1); z-index: 5; }
  50.1%  { z-index: 1; }
  62.5%  { transform: translate(-50%,-50%) translate(calc(var(--R) * -.707), calc(var(--V) * -.707)) scale(.82); }
  75%    { transform: translate(-50%,-50%) translate(0, calc(var(--V) * -1)) scale(.72); }
  87.5%  { transform: translate(-50%,-50%) translate(calc(var(--R) * .707), calc(var(--V) * -.707)) scale(.82); }
  99.9%  { z-index: 1; }
  100%   { transform: translate(-50%,-50%) translate(var(--R), 0) scale(1); z-index: 5; }
}
.hint {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); z-index: 6;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .25em; white-space: nowrap;
  color: var(--c3); text-shadow: 0 0 8px var(--c3);
  animation: blink 1.2s steps(1) infinite;
  pointer-events: none;
}
.hint.gone { display: none; }

.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(18px, 3vh, 34px); }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(12px, 1.6vw, 15px); letter-spacing: .12em;
  text-decoration: none; cursor: pointer; border: 0; overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(.96); }
.btn-main { color: #050010; background: linear-gradient(90deg, var(--c1), var(--c3), var(--c2), var(--c1)); background-size: 300% 100%; animation: btnGrad 4s linear infinite; }
.btn-main .btn-glow { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.85) 50%, transparent 70%); transform: translateX(-120%); animation: shine 2.4s ease-in-out infinite; }
.btn-main span:last-child { position: relative; }
.btn-alt { color: var(--c3); background: rgba(198,255,0,.08); box-shadow: inset 0 0 0 2px var(--c3); }
.btn-alt:hover { background: rgba(198,255,0,.2); }
@keyframes btnGrad { to { background-position: 300% 0; } }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.btn:focus-visible, .hbtn:focus-visible, .lang button:focus-visible { outline: 2px solid var(--c3); outline-offset: 3px; }

/* ---------- MARQUESINAS ---------- */
.bands { position: relative; height: 170px; margin: 10px 0 20px; overflow: hidden; }
.band {
  position: absolute; left: -5%; width: 110%; top: 50%;
  padding: 12px 0; white-space: nowrap; overflow: hidden;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(16px, 2.6vw, 30px); letter-spacing: .04em;
}
.band.b1 { transform: translateY(-50%) rotate(-4deg); background: var(--c3); color: #08000f; box-shadow: 0 0 40px rgba(198,255,0,.5); z-index: 2; }
.band.b2 { transform: translateY(-50%) rotate(3deg); background: var(--c2); color: #fff; box-shadow: 0 0 40px rgba(255,43,214,.5); }
.band-track { display: inline-flex; animation: marquee 22s linear infinite; will-change: transform; }
.band-track.rev { animation-direction: reverse; animation-duration: 28s; }
.band-track span { padding-right: 1.2em; }
.band-track .st { font-family: var(--f-honk); font-weight: 400; font-size: 1.2em; line-height: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECCIONES ---------- */
section { position: relative; }
.mission, .drop, .soon { max-width: 1180px; margin: 0 auto; padding: 70px 16px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 34px; }
.sec-num { font-family: var(--f-mono); color: var(--c2); font-size: 15px; letter-spacing: .2em; }
.sec-title {
  margin: 0; font-weight: 900; font-size: clamp(30px, 6.5vw, 76px); line-height: 1; letter-spacing: -.01em;
  background: linear-gradient(90deg, #fff, var(--c1) 50%, var(--c2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(123,43,255,.9));
}
.sec-tag {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .25em; color: #000; background: var(--c3);
  padding: 4px 10px; transform: skewX(-12deg);
}

.mission-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 860px) { .mission-grid { grid-template-columns: 1.6fr 1fr; } }
.manifesto .big { font-size: clamp(19px, 2.6vw, 30px); line-height: 1.35; font-weight: 500; margin: 0 0 24px; text-wrap: pretty; }
.manifesto em { font-style: normal; font-family: var(--f-honk); font-size: 1.4em; line-height: .8; }
.manifesto strong { color: var(--c3); text-shadow: 0 0 14px rgba(198,255,0,.6); }
.translate {
  position: relative; padding: 22px 20px 18px; background: var(--panel);
  border: 1px solid var(--line); border-left: 3px solid var(--c1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.translate-tag { position: absolute; top: -10px; left: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; background: var(--c1); color: #000; padding: 2px 8px; }
.translate p { margin: 0; font-family: var(--f-mono); font-size: 16px; line-height: 1.6; color: #dcd8ff; }
.chad { margin: 0; justify-self: center; text-align: center; position: relative; }
.chad img { width: min(260px, 70vw); height: auto; display: block; filter: saturate(1.25) contrast(1.05) drop-shadow(0 0 24px rgba(0,240,255,.6)); }
.chad::before {
  content: ""; position: absolute; inset: -8px -8px 26px -8px; border: 1px solid var(--c1);
  background: repeating-linear-gradient(0deg, rgba(0,240,255,.1) 0 2px, transparent 2px 5px);
  clip-path: polygon(0 0, 30% 0, 30% 2px, 70% 2px, 70% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.chad figcaption { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--c1); margin-top: 8px; }

.protocols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 46px; }
.proto {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 26px 22px 24px; background: var(--panel);
  border: 1px solid rgba(255,43,214,.35);
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .2s ease-out, border-color .2s, box-shadow .2s;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.proto:hover { border-color: var(--c3); box-shadow: 0 0 40px rgba(198,255,0,.25) inset; }
.proto-ico { font-size: 42px; line-height: 1; display: block; color: var(--c1); text-shadow: 0 0 20px var(--c1); margin-bottom: 14px; font-family: var(--f-mono); }
.proto:nth-child(2) .proto-ico { color: var(--c2); text-shadow: 0 0 20px var(--c2); }
.proto:nth-child(3) .proto-ico { color: var(--c3); text-shadow: 0 0 20px var(--c3); }
.proto h3 { margin: 0 0 10px; font-weight: 900; font-size: 19px; letter-spacing: .05em; }
.proto p { margin: 0; font-family: var(--f-mono); color: #cfc9f2; font-size: 15px; line-height: 1.55; }

/* DROP */
.drop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none;
  background: radial-gradient(circle at 50% 35%, rgba(123,43,255,.5), rgba(5,1,15,.9) 70%);
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--c2); }
.card img { position: absolute; left: 50%; top: 44%; width: 70%; height: auto; transform: translate(-50%, -50%); transition: filter .3s, transform .3s; }
.card.locked img { filter: blur(6px) brightness(.5) contrast(1.8) hue-rotate(var(--hue, 0deg)); }
.card.locked:hover img { filter: blur(4px) brightness(.6) contrast(2) hue-rotate(var(--hue, 0deg)); transform: translate(-50%, -50%) scale(1.06); }
.card-stamp {
  position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: .1em; white-space: nowrap;
  color: var(--c2); border: 3px solid var(--c2); padding: 6px 12px;
  text-shadow: 0 0 10px var(--c2); box-shadow: 0 0 14px rgba(255,43,214,.5), inset 0 0 14px rgba(255,43,214,.4);
  animation: stamp 3s ease-in-out infinite;
}
@keyframes stamp { 50% { transform: translate(-50%, -50%) rotate(-10deg) scale(1.06); } }
.card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(5,1,15,.95) 40%); }
.card-code { font-family: var(--f-mono); font-size: 11px; color: var(--c1); letter-spacing: .2em; }
.card-name { font-weight: 800; font-size: 16px; margin-top: 4px; }
.card-cta { font-family: var(--f-mono); font-size: 12px; color: var(--c3); margin-top: 6px; letter-spacing: .1em; }

/* PRONTO */
.soon { text-align: center; padding-top: 90px; padding-bottom: 110px; }
.eye { width: 150px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 0 30px rgba(198,255,0,.7)); animation: eyeFloat 4s ease-in-out infinite; }
@keyframes eyeFloat { 50% { transform: translateY(-14px) rotateY(180deg); } }
.soon-pre { font-family: var(--f-mono); color: var(--c2); letter-spacing: .4em; font-size: 14px; margin: 0; }
.soon-title { margin: 10px 0 18px; line-height: .95; }
.st1 {
  display: block; font-weight: 900; font-size: clamp(26px, 7.6vw, 112px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px var(--c1);
  text-shadow: 0 0 30px rgba(0,240,255,.5);
  animation: strokeFlash 2.6s steps(1) infinite;
}
@keyframes strokeFlash { 0%, 100% { color: transparent; } 50% { color: rgba(0,240,255,.18); } 52% { color: transparent; } 70% { color: #fff; -webkit-text-stroke-color: var(--c2); } 72% { color: transparent; -webkit-text-stroke-color: var(--c1); } }
.st2 {
  display: inline-block; font-family: var(--f-honk); font-weight: 400;
  font-size: clamp(54px, 13vw, 180px); line-height: .8; margin-top: 6px;
  animation: honkPulse 1.6s ease-in-out infinite;
}
@keyframes honkPulse { 50% { transform: scale(1.06) rotate(-2deg); } }
.soon-txt { font-family: var(--f-mono); font-size: clamp(16px, 2vw, 20px); color: #ddd8ff; max-width: 640px; margin: 0 auto 28px; line-height: 1.5; }
.countdown { display: inline-flex; align-items: baseline; gap: 14px; padding: 12px 20px; border: 1px solid var(--c2); background: rgba(255,43,214,.08); }
.cd-label { font-family: var(--f-mono); color: var(--c2); letter-spacing: .3em; font-size: 13px; }
.cd-val { font-family: var(--f-mono); font-size: clamp(22px, 4vw, 40px); color: #fff; text-shadow: 0 0 12px var(--c2); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.loader { max-width: 520px; margin: 28px auto 0; }
.loader-bar { height: 14px; border: 1px solid var(--c3); padding: 2px; }
.loader-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--c3) 0 8px, #8fbf00 8px 16px); box-shadow: 0 0 16px var(--c3); transition: width .3s; animation: stripes .6s linear infinite; background-size: 22.6px 22.6px; }
@keyframes stripes { to { background-position: 22.6px 0; } }
.loader-txt { margin-top: 8px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .2em; color: var(--c3); }

/* FOOTER */
.foot {
  position: relative; z-index: 1; border-top: 1px solid var(--line);
  padding: 40px 16px calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: linear-gradient(to top, rgba(5,1,15,.95), rgba(5,1,15,.5));
}
.foot-brand { display: flex; align-items: center; gap: 14px; text-align: left; }
.foot-mark { width: 64px; height: 64px; filter: drop-shadow(0 0 14px rgba(255,43,214,.7)); }
.brand-word.big { font-size: 28px; }
.foot-sub { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--dim); margin-top: 2px; }
.foot-copy { font-family: var(--f-mono); font-size: 13px; color: var(--dim); margin: 6px 0 0; }
.foot-secret { font-family: var(--f-mono); font-size: 11px; color: rgba(165,159,201,.5); margin: 0; letter-spacing: .1em; }

/* ---------- EXPLOSIONES Y POPUPS ---------- */
#boom-layer { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.boom {
  position: absolute; transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  -webkit-mask: radial-gradient(farthest-side, #000 72%, transparent 100%);
  mask: radial-gradient(farthest-side, #000 72%, transparent 100%);
}
@keyframes boomPlay { from { background-position: 0 0; } to { background-position: 100% 0; } }
.shock {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(.1);
  width: 300px; height: 300px; border: 6px solid var(--c1);
  box-shadow: 0 0 40px var(--c1), inset 0 0 40px var(--c2);
  animation: shockwave .6s ease-out forwards;
}
@keyframes shockwave { to { transform: translate(-50%, -50%) scale(2.2); opacity: 0; border-width: 1px; } }
.pop {
  position: absolute; transform: translate(-50%, -50%);
  font-family: var(--f-honk); font-size: clamp(34px, 6vw, 64px); line-height: 1; white-space: nowrap;
  animation: popUp 1.1s cubic-bezier(.2,1.4,.4,1) forwards;
}
.pop.txt { font-family: var(--f-display); font-weight: 900; font-size: clamp(18px, 3vw, 30px); color: var(--c3); text-shadow: 0 0 12px var(--c3), 3px 3px 0 var(--c2); }
@keyframes popUp {
  0% { transform: translate(-50%, -50%) scale(.2) rotate(-20deg); opacity: 0; }
  20% { transform: translate(-50%, -80%) scale(1.25) rotate(6deg); opacity: 1; }
  100% { transform: translate(-50%, -260%) scale(1) rotate(-4deg); opacity: 0; }
}
.spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 10px var(--c);
  animation: spark .7s ease-out forwards;
}
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
.flash { position: fixed; inset: 0; z-index: 190; pointer-events: none; background: #fff; mix-blend-mode: overlay; animation: flash .35s ease-out forwards; }
@keyframes flash { from { opacity: .9; } to { opacity: 0; } }
body.shake main, body.shake .hud { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake {
  10%, 90% { transform: translate(-2px, 1px); } 20%, 80% { transform: translate(5px, -3px) rotate(.4deg); }
  30%, 50%, 70% { transform: translate(-8px, 4px) rotate(-.6deg); } 40%, 60% { transform: translate(8px, -2px); }
}
body.invert main { filter: invert(1) hue-rotate(180deg); }

/* personajes que cruzan */
.flyer { position: fixed; z-index: 150; pointer-events: none; height: auto; left: 0; top: 0; will-change: transform; filter: drop-shadow(0 0 14px rgba(255,43,214,.6)); }
.bombardiro { width: clamp(180px, 24vw, 320px); }
.tralalero { width: clamp(140px, 18vw, 240px); }
.tung { width: clamp(120px, 14vw, 190px); }
.moai { width: clamp(90px, 10vw, 130px); }

/* toasts / logros */
#toasts { position: fixed; z-index: 300; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 420px); }
.toast {
  width: 100%; padding: 12px 16px; background: rgba(5,1,15,.92); border: 1px solid var(--c3);
  box-shadow: 0 0 24px rgba(198,255,0,.35);
  font-family: var(--f-mono); font-size: 14px; letter-spacing: .06em; color: #fff;
  display: flex; gap: 12px; align-items: center;
  animation: toastIn .4s cubic-bezier(.2,1.5,.4,1), toastOut .4s ease-in 3.2s forwards;
}
.toast b { color: var(--c3); display: block; font-size: 11px; letter-spacing: .25em; }
.toast .t-ico { font-size: 26px; }
@keyframes toastIn { from { transform: translateY(40px) scale(.8); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(20px); opacity: 0; } }

/* entrada al hacer scroll */
.reveal { opacity: 0; transform: translateY(40px) skewY(2deg); transition: opacity .7s ease, transform .7s cubic-bezier(.2,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .hud-status { display: none; }
}
@media (max-width: 520px) {
  :root { --hud-h: 54px; }
  .orb { --R: calc(var(--size) * .52); }
  .brand-word { font-size: 13px; line-height: 1.05; }
  .brand-word b { display: block; }
  .brand-mark { width: 30px; height: 30px; }
  .aura-meter { padding: 4px 7px; }
  .am-label { display: none; }
  .hbtn, .lang button { height: 32px; min-width: 32px; padding: 0 6px; font-size: 12px; }
  .frag { display: none; }
  .bands { height: 130px; }
  .cube.c1 { --s: 56px; }
  .btn { width: 100%; }
  .ctas { width: 100%; max-width: 360px; }
}

/* Movimiento reducido: mantenemos el estilo, quitamos lo frenético */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .band-track { animation: none !important; }
  html { scroll-behavior: auto; }
}
