@font-face { font-family: Anybody; font-weight: 900; font-stretch: 150%; font-display: block; src: url(fonts/Anybody-900.woff2) format("woff2"); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: block; src: url(fonts/JetBrainsMono.woff2) format("woff2"); }
@font-face { font-family: Rajdhani; font-weight: 500; font-display: block; src: url(fonts/Rajdhani-500.woff2) format("woff2"); }
@font-face { font-family: Rajdhani; font-weight: 600; font-display: block; src: url(fonts/Rajdhani-600.woff2) format("woff2"); }
@font-face { font-family: Rajdhani; font-weight: 700; font-display: block; src: url(fonts/Rajdhani-700.woff2) format("woff2"); }
:root {
  --negro: #08080a; --panel: #111114; --linea: #26262c; --hueco: #24242a;
  --amarillo: #fcee0a; --rojo: #ff2a3d; --magenta: #ff2fb0; --cian: #00e5ff;
  --texto: #c9c9cf; --tenue: #6c6c78;
}
.cta, .sec { display: inline-block; padding: 7px 14px; font: 700 14px Rajdhani; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
.cta { background: var(--amarillo); color: #08080a; }

.escena { position: absolute; overflow: hidden; perspective: 1000px; perspective-origin: 50% 0%; }
.plano { position: absolute; left: 50%; transform-origin: 50% 100%; transform-style: preserve-3d; }
.tira { position: relative; transform-origin: 0 0; }
.plano > *, .tira > * { position: absolute; }
.rejilla { background-image: repeating-linear-gradient(90deg, #ffffff14 0 1px, transparent 1px 60px), repeating-linear-gradient(0deg, #ffffff14 0 1px, transparent 1px 60px); }
.borde { box-shadow: inset 3px 0 0 var(--amarillo), inset -3px 0 0 var(--amarillo); }
.titulo { font: 900 64px/1 Anybody; font-stretch: 150%; white-space: nowrap; letter-spacing: -.02em; text-transform: uppercase; }
.titulo small { display: block; margin-bottom: 8px; font: 700 20px 'JetBrains Mono'; letter-spacing: .16em; }
.shot { background: center/cover; box-shadow: -6px 0 0 #ff2a3d88, 6px 0 0 #00e5ff88, 0 30px 60px rgba(0,0,0,.6); }
.cancion { display: flex; align-items: center; gap: 16px; font: 700 26px Rajdhani; color: #fff; }
.cancion i { width: 70px; height: 70px; background: center/cover; outline: 2px solid #ffffff40; }
.bloque { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; box-sizing: border-box; color: #08080a; font: 900 24px/1 Anybody; font-stretch: 150%; }
.bloque svg { width: 44px; height: 44px; fill: none; stroke: #08080a; stroke-width: 2.6; }
.bloque small { font: 700 15px 'JetBrains Mono'; letter-spacing: .1em; }
.comentario { padding: 18px 22px; background: #111114; border-bottom: 3px solid var(--amarillo); font: 600 30px Rajdhani; color: #fff; }
.carril { height: 64px; border-bottom: 1px solid #26262c; }
.clip { height: 52px; border-radius: 2px; font: 700 15px 'JetBrains Mono'; color: #08080a; padding: 4px 8px; box-sizing: border-box; }
.ok { font: 700 18px 'JetBrains Mono'; letter-spacing: .08em; color: var(--amarillo); }
.tarjeta { background: #08080a; color: #fff; padding: 20px; box-sizing: border-box; box-shadow: 10px 10px 0 #08080a55; }
.pegatina { padding: 6px 12px; background: #3dffb0; color: #08080a; font: 700 16px 'JetBrains Mono'; letter-spacing: .12em; box-shadow: 4px 4px 0 #08080a; }

.shot, .bloque, .comentario, .clip, .tarjeta, .pegatina, .cancion i { transform: translateZ(var(--z)); transform-style: preserve-3d; }
.shot::after, .bloque::after, .comentario::after, .clip::after, .tarjeta::after, .pegatina::after, .cancion i::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--z); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: inherit; background-image: none; filter: brightness(.45); }
.shot { --z: 34px; } .shot::after { background: #15151a; }
.bloque { --z: 46px; } .comentario { --z: 22px; } .clip { --z: 12px; } .tarjeta { --z: 30px; } .pegatina { --z: 20px; }
.cancion i { --z: 18px; position: relative; }
.titulo { transform: translateZ(10px); text-shadow: 0 2px 0 #0005, 0 4px 0 #0004, 0 6px 0 #0003; }

.plano > .flecha, .plano > .mono, .plano > .ok, .pieza > .flecha, .pieza > .mono, .pieza > .ok { transform-origin: 0 100%; transform: rotateX(-64deg); white-space: nowrap;
  text-shadow: 0 0 12px currentColor; }
.plano > .flecha, .pieza > .flecha { font: 700 26px 'JetBrains Mono'; letter-spacing: .08em; }
.plano > .ok, .pieza > .ok { font-size: 26px; }
.plano > .mono, .pieza > .mono { font-size: 22px !important; }

.hero h1, .hero p, .fin h2 { margin: 0; }
.hero .sub { margin: 28px 0 24px; }
.nav a { font: 500 13px 'JetBrains Mono'; letter-spacing: .12em; text-transform: uppercase; color: var(--texto); text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
#idioma { padding: 6px 10px; border: 1px solid #3a3a44; }
.form input[type=email] { width: 290px; box-sizing: border-box; padding: 14px 16px; font: 500 16px 'JetBrains Mono'; background: #0d0d12; color: #fff;
  border: 1px solid #2c2c36; border-right: 0; border-radius: 0; user-select: text; }
.form input[type=email]::placeholder { color: #8a8a96; }
.form input[type=email]:focus { outline: none; border-color: var(--amarillo); }
.form button { border: 0; cursor: pointer; }
.form button:disabled { opacity: .6; cursor: default; }
.form button:focus-visible, .nav a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nota a { color: inherit; }
.aviso { min-height: 1.4em; margin-top: 8px; font: 600 16px Rajdhani; color: var(--texto); }
.aviso[data-tipo=ok] { color: #3dffb0; } .aviso[data-tipo=ok]::before { content: "✓ "; }
.aviso[data-tipo=error] { color: var(--rojo); } .aviso[data-tipo=error]::before { content: "✕ "; }

  :root { --dur-texto: 240ms; --dur-glitch: 380ms; --dur-dibujo: 900ms; }
  html, body { margin: 0; padding: 0; background: var(--negro); }
  body { display: block; width: auto; height: 800vh; font: 500 18px Rajdhani; color: var(--texto); }
  .pantalla { position: sticky; top: 0; height: 100vh; overflow: hidden; touch-action: none; user-select: none; }
  .pantalla::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
  .escena { inset: 70px 0 0 0; }
  .plano { bottom: -220px; width: 760px; height: 900px; margin-left: -380px; will-change: transform; }
  .tramo { position: absolute; left: 0; top: 0; width: 760px; height: 900px; }
  .tramo > *, .pieza > * { position: absolute; }
  .pieza { position: absolute; left: 0; top: 900px; width: 760px; height: 0; transform-origin: 50% 0; transform-style: preserve-3d; }
  .regla { --c: color-mix(in srgb, var(--t) 40%, transparent);
    background: repeating-linear-gradient(0deg, var(--c) 0 1px, transparent 1px 30px), repeating-linear-gradient(0deg, var(--c) 0 1px, transparent 1px 30px);
    background-size: 10px 900px; background-repeat: no-repeat; }
  .cifra { width: 52px; font: 500 11px 'JetBrains Mono'; letter-spacing: .1em; color: #ffffff70; }
  .panel { box-sizing: border-box; padding: 12px 14px; color: var(--t); }
  .panel::before, .panel::after { content: ""; position: absolute; inset: 0; border: 0 solid color-mix(in srgb, var(--t) 35%, transparent); }
  .panel::before { border-width: 1px 0; } .panel::after { border-width: 0 1px; }
  .panel b { display: block; margin-bottom: 12px; font: 700 12px 'JetBrains Mono'; letter-spacing: .1em; text-transform: uppercase; }
  .panel i { display: block; height: 6px; margin-bottom: 9px; background: color-mix(in srgb, var(--t) 22%, transparent); }
  .guia { height: 1px; }
  .guia::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--t) 50%, transparent); }
  .guia::before { content: ""; position: absolute; right: -4px; top: -4px; width: 7px; height: 7px; border: 1px solid var(--t); }
  .guia span { position: absolute; left: 0; bottom: 6px; font: 700 12px 'JetBrains Mono'; letter-spacing: .12em; color: var(--t); white-space: nowrap; }
  .serie { display: flex; align-items: center; gap: 10px; font: 500 11px 'JetBrains Mono'; letter-spacing: .14em; color: var(--t); }
  .serie i { width: 70px; height: 18px; background: repeating-linear-gradient(90deg, var(--t) 0 2px, transparent 2px 4px, var(--t) 4px 5px, transparent 5px 8px); }
  .panel::before, .panel::after, .guia::after, .serie i, .panel i { transition: transform var(--dur-dibujo) cubic-bezier(.2, .7, .2, 1); }
  .panel::before, .guia::after, .serie i, .panel i { transform: scaleX(0); transform-origin: 0 50%; }
  .panel::after { transform: scaleY(0); transform-origin: 50% 0; transition-delay: calc(var(--dur-dibujo) * .4); }
  .panel i { transition-delay: calc(var(--dur-dibujo) * (.6 + var(--n) * .15)); }
  .panel b, .guia span, .guia::before, .serie, .cifra { opacity: 0; transition: opacity calc(var(--dur-dibujo) * .5) linear calc(var(--dur-dibujo) * .5); }
  .dibujado::before, .dibujado::after, .dibujado i { transform: none; }
  .panel.dibujado b { opacity: .7; } .dibujado.guia span, .dibujado.guia::before { opacity: .7; } .serie.dibujado { opacity: .55; } .dibujado.cifra { opacity: 1; }
  .an { font-family: Anybody; font-stretch: 150%; font-weight: 900; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
  .mono { font: 500 12px/1.4 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }

  .nav { position: absolute; z-index: 8; top: 0; left: 0; right: 0; padding: 22px 48px; display: flex; align-items: center; gap: 30px;
    background: linear-gradient(#08080a 60%, #08080a00); }
  .nav .gr { flex: 1; }
  .nav span, .nav button { font: 500 13px 'JetBrains Mono'; letter-spacing: .12em; text-transform: uppercase; color: var(--texto); }
  .nav button { padding: 6px 10px; background: none; border: 1px solid #3a3a44; cursor: pointer; }
  .nav button:hover { border-color: #fff; color: #fff; }
  .pronto { padding: 6px 12px; color: var(--amarillo) !important; border: 1px solid var(--amarillo); box-shadow: 0 0 12px #fcee0a55, inset 0 0 8px #fcee0a33; }
  .logo-d .pistas { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; margin-top: 4px; }
  .logo-d .pistas i { height: 4px; }

  .hero { position: absolute; z-index: 5; left: 48px; top: 120px; width: 560px; will-change: opacity, transform; }
  .h1 { font: 900 52px/1 Anybody; font-stretch: 150%; letter-spacing: -.01em; text-transform: uppercase; color: #fff; text-shadow: -3px 0 var(--rojo), 3px 0 var(--cian); }
  .h1 .am { color: var(--amarillo); }
  .h1 { white-space: nowrap; } html[lang=es] .h1 { font-size: 40px; }
  .sub { margin: 28px 0 24px; width: 400px; font: 500 21px/1.35 Rajdhani; }
  .form { display: flex; }
  .form span:first-child { width: 290px; padding: 14px 16px; font: 500 16px 'JetBrains Mono'; background: #0d0d12; color: #8a8a96; border: 1px solid #2c2c36; border-right: 0; }
  .form .cta { padding: 15px 22px; font-size: 16px; box-shadow: 0 0 24px #fcee0a66; }
  .nota { margin-top: 12px; font: 500 12px 'JetBrains Mono'; color: var(--tenue); }

  .seccion { position: absolute; z-index: 6; width: 290px; padding: 16px 18px; background: #08080aee; border-left: 3px solid var(--amarillo); opacity: 0; }
  .seccion.ve { opacity: 1; animation: glitch var(--dur-glitch) steps(1) both; }
  .seccion .k { font: 700 13px 'JetBrains Mono'; letter-spacing: .14em; color: var(--amarillo); text-transform: uppercase; }
  .seccion .t { margin: 8px 0 12px; font: 900 32px/1.05 Anybody; font-stretch: 150%; color: #fff; text-transform: uppercase; text-shadow: -2px 0 var(--rojo), 2px 0 var(--cian); }
  .seccion .c { font: 500 19px/1.35 Rajdhani; } .seccion .c em { font-style: normal; color: #9d7bff; }
  .seccion .m { margin-top: 10px; }
  @keyframes glitch {
    0% { opacity: 0; transform: translateX(-14px) skewX(-10deg); }
    15% { opacity: 1; transform: translateX(10px) skewX(6deg); }
    30% { opacity: .3; transform: translateX(-6px); }
    45% { opacity: 1; transform: translateX(4px) skewX(-3deg); }
    60% { opacity: .6; transform: translateX(-2px); }
    75%, 100% { opacity: 1; transform: none; }
  }

  .hilo { position: absolute; z-index: 5; left: 0; top: 0; width: 100px; height: 1px; background: var(--amarillo); box-shadow: 0 0 6px var(--amarillo);
    transform-origin: 0 50%; opacity: 0; pointer-events: none; }
  .diana { position: absolute; z-index: 5; left: -9px; top: -9px; width: 16px; height: 16px; border: 1px solid var(--amarillo); opacity: 0; pointer-events: none; }
  .diana::after { content: ""; position: absolute; inset: 5px; background: var(--amarillo); }
  .hilo.ve, .diana.ve { opacity: 1; animation: glitch var(--dur-glitch) steps(1) both; animation-name: parpadeo; }
  @keyframes parpadeo { 0% { opacity: 0; } 20% { opacity: 1; } 35% { opacity: .2; } 55%, 100% { opacity: 1; } }

  .fin { position: absolute; z-index: 7; inset: 0; display: grid; place-content: center; text-align: center; background: #08080ae6; opacity: 0; pointer-events: none; transition: opacity var(--dur-texto) ease-out; }
  .fin.ve { opacity: 1; pointer-events: auto; }
  .fin .seccion { position: static; width: auto; opacity: 1; border: 0; background: none; animation: none; }
  .fin .form { justify-content: center; margin-top: 26px; }

  .fondo { position: absolute; inset: 0; pointer-events: none; }
  .fondo > * { position: absolute; left: 0; top: 0; will-change: transform; }
  .dibujo { opacity: var(--luz); } .sin-rotulo .cota, .sin-rotulo .rotulo { display: none; }
  .fondo svg { display: block; overflow: visible; fill: none; stroke: #ffffff38; stroke-width: 1; vector-effect: non-scaling-stroke; }
  .fondo polyline { opacity: 0; transition: opacity 160ms linear; }
  .cota { display: flex; align-items: center; gap: 6px; margin-top: 10px; opacity: 0; transition: opacity 300ms linear; }
  .cota i { flex: 1; height: 1px; background: #ffffff30; } .cota i:first-child { box-shadow: -1px 0 0 0 #ffffff30; }
  .cota span, .rotulo, .formula { font: 500 10px 'JetBrains Mono'; letter-spacing: .12em; color: #ffffff50; white-space: nowrap; }
  .rotulo { margin-top: 4px; opacity: 0; transition: opacity 300ms linear; }
  .dibujo.listo .cota, .dibujo.listo .rotulo { opacity: 1; }
  .formula { font-size: 12px; color: #ffffff45; transition: opacity 300ms linear; }
  .orbita svg circle { stroke: #ffffff22; }
  @media (prefers-reduced-motion: reduce) { :root { --dur-texto: 0ms; --dur-dibujo: 0ms; } .seccion.ve, .hilo.ve, .diana.ve { animation: none; } }

@media (max-width: 699px) {
  .nav { padding: 16px 18px; gap: 12px; }
  .nav .ir { display: none; }
  .pronto { font-size: 11px !important; padding: 5px 8px; }
  .hero { left: 18px; right: 18px; top: 84px; width: auto; }
  .h1, html[lang=es] .h1 { font-size: 30px; white-space: normal; }
  .hero .sub { width: auto; margin: 16px 0; font-size: 17px; }
  .form { flex-wrap: wrap; }
  .form input[type=email] { width: 100%; border-right: 1px solid #2c2c36; }
  .form .cta { width: 100%; margin-top: 8px; text-align: center; }
  .seccion { left: 12px !important; right: 12px !important; top: auto !important; bottom: 14px; width: auto; padding: 12px 14px; }
  .seccion .t { font-size: 22px; margin: 6px 0 8px; } .seccion .c { font-size: 16px; } .seccion .m { display: none; }
  .fin { padding: 0 18px; }
  .fondo { opacity: .6; }
}
html[lang=es] .seccion .t { font-size: 25px; }
@media (max-width: 699px) { html[lang=es] .h1 { font-size: 25px; } html[lang=es] .seccion .t { font-size: 20px; } }
