/* ═══════════════════════════════════════════════════════════════════════════
   GameShield — Landing v2 · "Sala de Mando" (NOC Command Deck)
   Design system autónomo: no depende de tailwind.css (purgado contra el
   markup viejo). Tokens tomados del panel/status/404 — la marca real.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset mínimo ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --bg: #030810;
  --ink: #e2e8f0;
  --muted-1: #94a3b8;
  --muted-2: #7d8ba1;
  --muted-3: #475569;
  --brand: #1EA0FF;
  --brand-deep: #2F6CFF;
  --violet: #8B5CF6;
  --cyan: #36D7FF;
  --green: #22c55e;
  --green-lite: #4ade80;
  --red: #ef4444;
  --red-lite: #f87171;
  --amber: #f59e0b;
  --orange: #f97316;
  --purple: #a855f7;
  --discord: #5865F2;
  --discord-dark: #4752C4;
  --glass-grad: linear-gradient(180deg, rgba(11,17,33,.80), rgba(6,11,24,.80));
  --glass-border: rgba(30,160,255,.07);
  --radius: .875rem;
  --grad-brand: linear-gradient(135deg, #1EA0FF, #2F6CFF 45%, #8B5CF6);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fondo global: micro-grid + noise + glows fijos (presupuesto: 3 capas) */
.bg-deck {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,160,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,160,255,.013) 1px, transparent 1px);
  background-size: 44px 44px;
}
.bg-deck::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 420px at 12% -4%, rgba(30,58,138,.18), transparent 70%),
    radial-gradient(720px 480px at 88% 12%, rgba(14,30,80,.14), transparent 70%),
    radial-gradient(900px 600px at 50% 110%, rgba(15,23,42,.25), transparent 70%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Utilidades base ──────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.mono { font-family: var(--font-mono); }
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
section { position: relative; padding: 6rem 0; }
@media (min-width: 1024px) { section { padding: 7.5rem 0; } }

/* Etiqueta de sección — firma NOC */
.sec-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 1rem;
}
.sec-label::before {
  content: ''; width: 14px; height: 1.5px; flex: none;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.sec-title {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.15; color: #f1f5f9;
}
.sec-sub { color: var(--muted-1); max-width: 40rem; margin-top: .9rem; font-size: 1.02rem; }
.sec-head { margin-bottom: 3rem; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.sec-head.center .sec-label::before { display: none; }
.sec-head.center .sec-label { justify-content: center; }
.sec-head.center .sec-label::after {
  content: ''; width: 14px; height: 1.5px;
  background: linear-gradient(270deg, var(--brand), transparent);
}

/* Panel glass — receta única */
.glass {
  background: var(--glass-grad);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.glass::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}
.glass-hover { transition: border-color .25s ease, transform .25s ease; }
.glass-hover:hover { border-color: rgba(30,160,255,.22); transform: translateY(-2px); }

/* Corner brackets — target lock */
.brackets { position: relative; }
.brackets .bk {
  position: absolute; width: 14px; height: 14px; pointer-events: none;
  border: 0 solid var(--brand); opacity: .65;
}
.brackets .bk-tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; border-top-left-radius: 4px; }
.brackets .bk-tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; border-top-right-radius: 4px; }
.brackets .bk-bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; border-bottom-left-radius: 4px; }
.brackets .bk-br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; border-bottom-right-radius: 4px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.6rem; border-radius: 999px; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, #1EA0FF, #2F6CFF);
  color: #fff; box-shadow: 0 0 28px rgba(30,160,255,.28);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 0 44px rgba(30,160,255,.42); }
.btn-primary .shimmer {
  content: ''; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); animation: shimmer 3.4s ease-in-out infinite;
}
@keyframes shimmer { 0%, 60% { left: -80%; } 100% { left: 130%; } }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: var(--discord-dark); transform: scale(1.02); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--ink);
  border: 1px solid rgba(255,255,255,.09);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(30,160,255,.3); }

/* Dot con pulso */
.dot { width: 8px; height: 8px; border-radius: 999px; flex: none; }
.dot-pulse { animation: dotpulse 2.4s ease-out infinite; }
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { box-shadow: 0 0 0 7px transparent; opacity: .85; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}
.dot-green { background: var(--green-lite); color: rgba(74,222,128,.45); }
.dot-red { background: var(--red-lite); color: rgba(248,113,113,.45); }
.dot-amber { background: var(--amber); color: rgba(245,158,11,.45); }
.dot-gray { background: var(--muted-3); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .85rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
}
.badge-green { background: rgba(34,197,94,.09); border: 1px solid rgba(34,197,94,.22); color: var(--green-lite); }
.badge-blue { background: rgba(30,160,255,.10); border: 1px solid rgba(30,160,255,.25); color: #7cc7ff; }
.badge-cyan { background: rgba(54,215,255,.10); border: 1px solid rgba(54,215,255,.28); color: var(--cyan); }

/* Reveal on scroll */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -48px; left: 1rem; z-index: 100;
  background: var(--brand-deep); color: #fff; font-weight: 600; font-size: .9rem;
  padding: .6rem 1.1rem; border-radius: 0 0 10px 10px; transition: top .2s ease;
}
.skip-link:focus-visible { top: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══ 0 · Ticker de sistema ═══════════════════════════════════════════════ */
#ticker {
  position: relative; z-index: 60; height: 34px; display: none;
  overflow: hidden; /* la línea animada en mobile no debe expandir el documento */
  background: rgba(4,9,20,.92); border-bottom: 1px solid rgba(30,160,255,.08);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--muted-1);
}
#ticker.on { display: block; }
#ticker a { display: flex; align-items: center; justify-content: center; gap: .6rem; height: 100%; padding: 0 1rem; }
#ticker .tk-line { display: flex; align-items: center; gap: .6rem; white-space: nowrap; overflow: hidden; }
#ticker .dot { width: 6px; height: 6px; }
#ticker:hover { color: #cbd5e1; }
@media (max-width: 767px) {
  #ticker .tk-line { animation: tkscroll 18s linear infinite; overflow: visible; }
  @keyframes tkscroll { 0% { transform: translateX(60vw); } 100% { transform: translateX(-105%); } }
}

/* ═══ 1 · Navbar pill ═════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 1.1rem; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 2rem)); z-index: 50;
  background: rgba(5,10,22,.68);
  border: 1px solid rgba(255,255,255,.07); border-radius: 14px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background .3s ease, box-shadow .3s ease, top .3s ease;
}
#navbar::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
}
#navbar.nav-scrolled { background: rgba(4,8,18,.94); box-shadow: 0 8px 32px rgba(0,0,0,.45); }
#ticker.on ~ #navbar { top: calc(34px + 1.1rem); }
.nav-inner { display: flex; align-items: center; gap: 1rem; padding: .65rem 1rem; }
.nav-logo { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav-logo img.icon { width: auto; height: 30px; }
.nav-logo img.word { height: 15px; width: auto; }
.nav-links { display: none; align-items: center; gap: .25rem; margin: 0 auto; }
.nav-link {
  padding: .45rem .8rem; border-radius: 8px; font-size: .875rem; color: var(--muted-1);
  position: relative; transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .2rem;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.nav-right { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.nav-lang { display: flex; gap: 2px; background: rgba(255,255,255,.05); border-radius: 8px; padding: 2px; }
.nav-lang button {
  padding: .25rem .5rem; border-radius: 6px; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .05em; color: var(--muted-2); transition: all .2s ease;
}
.nav-lang button.on { background: rgba(30,160,255,.18); color: #9fd4ff; }
.nav-login { font-size: .85rem; color: var(--muted-1); padding: .45rem .7rem; }
.nav-login:hover { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, #5865F2, #4752C4); color: #fff;
  font-size: .85rem; font-weight: 600; padding: .5rem 1rem; border-radius: 9px;
  transition: transform .18s ease, box-shadow .25s ease;
}
.nav-cta:hover { transform: scale(1.03); box-shadow: 0 0 22px rgba(88,101,242,.4); }
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: .5rem; margin-left: .25rem; }
.hamburger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #cbd5e1; transition: all .25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  display: none; flex-direction: column; gap: .25rem;
  padding: .5rem 1rem 1rem; border-top: 1px solid rgba(255,255,255,.06);
}
#mobile-menu.open { display: flex; }
#mobile-menu a { padding: .7rem .5rem; border-radius: 8px; color: var(--muted-1); font-size: .95rem; }
#mobile-menu a:hover { color: #fff; background: rgba(255,255,255,.04); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}
@media (max-width: 519px) { .nav-login { display: none; } }
/* Mobile angosto: el CTA de Discord vive en el menú hamburguesa */
@media (max-width: 639px) {
  .nav-cta { display: none; }
  .nav-inner { gap: .5rem; }
}
@media (max-width: 419px) { .nav-logo img.word { display: none; } }

/* ═══ 2 · Hero — consola de mitigación ════════════════════════════════════ */
#hero { padding: 9.5rem 0 5.5rem; min-height: 92vh; display: flex; align-items: center; }
.hero-grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; width: 100%; }
.hero-copy { max-width: 620px; }
.hero-copy h1 {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.06; color: #f8fafc;
  margin: 1.2rem 0 1.3rem;
}
.hero-sub { color: var(--muted-1); font-size: 1.08rem; max-width: 34rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 2.2rem; }
.hero-status-link { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); display: inline-flex; align-items: center; gap: .45rem; }
.hero-status-link:hover { color: var(--muted-1); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-1);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: .42rem .7rem; transition: border-color .2s ease;
}
.hero-chip:hover { border-color: rgba(30,160,255,.3); }
.hero-chip svg { width: 13px; height: 13px; color: var(--green-lite); flex: none; }

/* Consola */
.console-wrap { width: 100%; max-width: 560px; }
.console { overflow: hidden; }
.console-chrome {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .9rem; border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(4,9,20,.6);
}
.console-chrome .lights { display: flex; gap: 6px; }
.console-chrome .lights i { width: 10px; height: 10px; border-radius: 999px; display: block; }
.console-title { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .06em; }
.console-live { margin-left: auto; display: flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--green-lite); }

/* Radar */
.radar {
  position: relative; height: 240px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(30,160,255,.045), transparent 65%);
}
.radar-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.radar-rings i {
  position: absolute; border: 1px solid rgba(30,160,255,.09); border-radius: 999px;
}
.radar-rings i:nth-child(1) { width: 90px; height: 90px; }
.radar-rings i:nth-child(2) { width: 170px; height: 170px; }
.radar-rings i:nth-child(3) { width: 250px; height: 250px; border-color: rgba(30,160,255,.06); }
.radar-rings i:nth-child(4) { width: 330px; height: 330px; border-color: rgba(30,160,255,.04); }
.radar-cross { position: absolute; inset: 0; }
.radar-cross::before, .radar-cross::after {
  content: ''; position: absolute; background: rgba(30,160,255,.05);
}
.radar-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep {
  position: absolute; inset: -30%;
  background: conic-gradient(from 0deg, rgba(30,160,255,.22), transparent 62deg, transparent 360deg);
  animation: sweep 4.2s linear infinite;
  border-radius: 999px;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
}
.radar-core img { width: auto; height: 30px; filter: drop-shadow(0 0 10px rgba(30,160,255,.5)); }
.blip {
  position: absolute; width: 8px; height: 8px; border-radius: 999px;
  transform: translate(-50%,-50%);
}
.blip-green { background: var(--green-lite); box-shadow: 0 0 8px rgba(74,222,128,.7); animation: dotpulse 2.4s ease-out infinite; color: rgba(74,222,128,.4); }
.blip-red { background: var(--red-lite); box-shadow: 0 0 9px rgba(248,113,113,.8); animation: blink 1s steps(2) infinite; }
.blip-gray { background: var(--muted-3); opacity: .6; }
@keyframes blink { 50% { opacity: .25; } }
.blip .blip-tag {
  position: absolute; left: 11px; top: -4px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; color: var(--muted-2);
}

/* Stats de consola */
.console-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.06);
}
.console-stat { padding: .8rem .6rem; text-align: center; border-right: 1px solid rgba(255,255,255,.05); }
.console-stat:last-child { border-right: 0; }
.console-stat .k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  color: var(--muted-1); text-transform: uppercase; display: block; margin-bottom: .3rem;
}
.console-stat .v { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: #dbeafe; }
.console-stat .v.green { color: var(--green-lite); }

/* Log feed */
.console-log {
  border-top: 1px solid rgba(255,255,255,.06); padding: .7rem .9rem;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.9;
  color: var(--muted-1); min-height: 76px;
}
.console-log .ln { display: flex; gap: .6rem; opacity: 0; animation: lnin .5s ease forwards; }
.console-log .ln .t { color: var(--muted-3); flex: none; }
.console-log .ln.ok { color: #86efac; }
.console-log .ln.warn { color: #fbbf24; }
@keyframes lnin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
  .hero-grid { flex-direction: row; justify-content: space-between; }
  .hero-copy { flex: 0 1 46%; }
  .console-wrap { flex: 0 1 52%; }
}
@media (max-width: 1023px) {
  #hero { padding-top: 8rem; min-height: 0; }
  .radar { height: 210px; }
}

/* ═══ 3 · Telemetría ══════════════════════════════════════════════════════ */
#telemetria .tele-banner {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: .9rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.6rem;
  font-size: .92rem; border: 1px solid transparent;
}
.tele-banner.calm {
  background: linear-gradient(135deg, rgba(34,197,94,.07), rgba(20,184,166,.03));
  border-color: rgba(34,197,94,.18); color: #bbf7d0;
  box-shadow: 0 0 60px rgba(34,197,94,.05);
}
.tele-banner.hot {
  background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(239,68,68,.04));
  border-color: rgba(245,158,11,.22); color: #fde68a;
}
.tele-banner.dead {
  background: rgba(148,163,184,.05); border-color: rgba(148,163,184,.12); color: var(--muted-1);
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 1.15rem 1.2rem; border-top: 2px solid transparent; overflow: hidden; }
.stat-card .sk {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: .55rem;
}
.stat-card .sv {
  font-family: var(--font-mono); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.1;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat-blue { border-top-color: rgba(59,130,246,.55); }
.stat-blue .sv { background-image: linear-gradient(135deg, #93c5fd, #3b82f6); }
.stat-red { border-top-color: rgba(239,68,68,.5); }
.stat-red .sv { background-image: linear-gradient(135deg, #fca5a5, #ef4444); }
.stat-purple { border-top-color: rgba(168,85,247,.5); }
.stat-purple .sv { background-image: linear-gradient(135deg, #d8b4fe, #a855f7); }
.stat-orange { border-top-color: rgba(249,115,22,.5); }
.stat-orange .sv { background-image: linear-gradient(135deg, #fdba74, #f97316); }

.tele-row { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-top: .8rem; }
@media (min-width: 1024px) { .tele-row { grid-template-columns: 3fr 2fr; } }
.tele-panel { padding: 1.2rem 1.3rem; }
.tele-panel h3 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 1rem;
}
#timeline-box { min-height: 200px; }
#timeline-svg { width: 100%; height: 190px; display: block; }
.edge-row {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .2rem;
  border-bottom: 1px solid rgba(255,255,255,.045); font-size: .88rem;
}
.edge-row:last-child { border-bottom: 0; }
.edge-flag { width: 20px; height: 14px; border-radius: 2px; flex: none; overflow: hidden; }
.edge-flag svg { width: 100%; height: 100%; display: block; }
.edge-name { color: #cbd5e1; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edge-meta { margin-left: auto; display: flex; align-items: center; gap: .8rem; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); flex: none; }
.edge-pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  padding: .15rem .5rem; border-radius: 999px;
}
.edge-pill.up { background: rgba(34,197,94,.1); color: var(--green-lite); border: 1px solid rgba(34,197,94,.25); }
.edge-pill.down { background: rgba(239,68,68,.1); color: var(--red-lite); border: 1px solid rgba(239,68,68,.25); }
.class-row { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; font-size: .85rem; }
.class-row .cn { color: var(--muted-1); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 0 38%; }
.class-row .track { flex: 1; height: 4px; border-radius: 4px; background: rgba(30,41,59,.8); overflow: hidden; }
.class-row .fill { height: 100%; border-radius: 4px; width: 0; transition: width .7s ease-out; }
.class-row .cv { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); flex: none; min-width: 3.2em; text-align: right; }
.tele-foot {
  margin-top: 1.1rem; font-family: var(--font-mono); font-size: 11.5px;
  color: var(--muted-1); letter-spacing: .05em;
}
.skeleton { position: relative; overflow: hidden; background: rgba(30,41,59,.5); border-radius: 6px; color: transparent !important; display: inline-block; min-width: 5ch; min-height: 1.15em; }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.08), transparent);
  animation: skel 1.6s ease-in-out infinite;
}
@keyframes skel { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ═══ 4 · Marquee de juegos ═══════════════════════════════════════════════ */
#games { padding: 4.5rem 0; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track .game-chip { margin-right: 1rem; }
/* backdrop-filter animado = jank en móviles; fondo opaco visualmente idéntico */
.marquee .glass {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: linear-gradient(180deg, rgba(11,17,33,.94), rgba(6,11,24,.94));
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.game-chip {
  width: 196px; flex: none; padding: .85rem .9rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.game-chip .gc-top { display: flex; align-items: center; gap: .65rem; }
.game-chip img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex: none; }
.game-chip .gc-name { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #e2e8f0; line-height: 1.2; }
.game-chip .gc-new {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; color: var(--cyan);
  border: 1px solid rgba(54,215,255,.35); border-radius: 4px; padding: .1rem .32rem; margin-left: auto; flex: none;
}
.game-chip .gc-proto {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted-1);
  line-height: 1.45; min-height: 2.4em;
}
.game-chip .gc-status { display: flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--green-lite); }
.game-chip .gc-status .dot { width: 5px; height: 5px; }

/* ═══ 5 · Cómo funciona ═══════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
.step-card { padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .85rem; }
.step-num {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted-2);
}
.step-prompt {
  font-family: var(--font-mono); font-size: 12.5px; color: #7cc7ff;
  background: rgba(30,160,255,.06); border: 1px solid rgba(30,160,255,.12);
  border-radius: 8px; padding: .55rem .75rem; overflow-x: auto; white-space: nowrap;
}
.step-prompt .p { color: var(--muted-3); }
.step-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #f1f5f9; }
.step-card p { font-size: .9rem; color: var(--muted-1); }
.step-chips { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: auto; }
.step-chips span {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-1);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px; padding: .28rem .55rem;
}
.step-ready { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; color: var(--green-lite); font-size: .85rem; font-weight: 600; }
.btn-discord-sm {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: auto;
  background: var(--discord); color: #fff; font-weight: 600; font-size: .85rem;
  border-radius: 9px; padding: .55rem .95rem; transition: background .2s ease, transform .18s ease;
}
.btn-discord-sm:hover { background: var(--discord-dark); transform: scale(1.02); }

/* ═══ 6 · Bento de subsistemas ════════════════════════════════════════════ */
.bento { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 641px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-w { grid-column: span 4; }
  .b-n { grid-column: span 2; }
}
.sys-card { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.sys-head { display: flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted-1); text-transform: uppercase; }
.sys-head .dot { width: 6px; height: 6px; }
.sys-card h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: #f1f5f9; letter-spacing: -.01em; }
.sys-card p { font-size: .89rem; color: var(--muted-1); }
.sys-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .25rem; }
.sys-chips span {
  font-family: var(--font-mono); font-size: 10px; color: #7cc7ff;
  background: rgba(30,160,255,.07); border: 1px solid rgba(30,160,255,.14);
  border-radius: 6px; padding: .25rem .5rem;
}
.sys-fig { margin-top: auto; padding-top: .75rem; }

/* EKG */
.ekg-wrap { display: flex; align-items: center; gap: .8rem; }
.ekg-svg { flex: 1; height: 44px; }
.ekg-path {
  fill: none; stroke: var(--green-lite); stroke-width: 1.6;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: ekg 2.8s linear infinite; filter: drop-shadow(0 0 4px rgba(74,222,128,.5));
}
@keyframes ekg { to { stroke-dashoffset: -220; } }
.fig-big { font-family: var(--font-mono); font-weight: 700; font-size: 1.35rem; color: #dbeafe; }
.fig-big small { display: block; font-size: 10.5px; color: var(--muted-1); letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }

/* IP masking */
.ipmask { font-family: var(--font-mono); font-size: 12px; display: flex; flex-direction: column; gap: .5rem; }
.ipmask .row { display: flex; align-items: center; gap: .55rem; }
.ipmask .ip-real { color: var(--red-lite); text-decoration: line-through; text-decoration-thickness: 1px; }
.ipmask .arrow { color: var(--muted-3); }
.ipmask .ip-edge { color: var(--green-lite); }
.ipmask .lbl { font-size: 10px; letter-spacing: .1em; color: var(--muted-1); text-transform: uppercase; }

/* Discord embed mock */
.dc-embed {
  border-left: 3px solid var(--red); border-radius: 6px;
  background: rgba(15,17,26,.85); padding: .7rem .85rem;
  font-size: 11.5px; line-height: 1.55;
}
.dc-embed .de-title { color: #f87171; font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.dc-embed .de-body { color: var(--muted-1); font-family: var(--font-mono); font-size: 10.5px; margin-top: .3rem; }
.dc-embed .de-foot { color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; margin-top: .4rem; }
.dc-cmds { display: flex; gap: .4rem; margin-top: .6rem; flex-wrap: wrap; }
.dc-cmds span {
  font-family: var(--font-mono); font-size: 10px; color: #a5b4fc;
  background: rgba(88,101,242,.12); border: 1px solid rgba(88,101,242,.25);
  border-radius: 5px; padding: .2rem .5rem;
}

/* Ping bars */
.ping-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.ping-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #fbbf24, rgba(245,158,11,.25)); animation: ping 1.8s ease-in-out infinite; }
.ping-bars i:nth-child(1) { height: 30%; animation-delay: 0s; }
.ping-bars i:nth-child(2) { height: 55%; animation-delay: .15s; }
.ping-bars i:nth-child(3) { height: 40%; animation-delay: .3s; }
.ping-bars i:nth-child(4) { height: 70%; animation-delay: .45s; }
.ping-bars i:nth-child(5) { height: 48%; animation-delay: .6s; }
@keyframes ping { 0%, 100% { opacity: .5; transform: scaleY(.9); } 50% { opacity: 1; transform: scaleY(1.05); } }

/* Sync viz */
.sync-rows { display: flex; flex-direction: column; gap: .5rem; }
.sync-row {
  display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono);
  font-size: 11px; color: var(--muted-1);
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: .5rem .7rem; position: relative; overflow: hidden;
}
.sync-row::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 34%;
  background: linear-gradient(90deg, transparent, rgba(54,215,255,.09), transparent);
  animation: syncsweep 3s ease-in-out infinite;
}
.sync-row:nth-child(2)::after { animation-delay: 1s; }
.sync-row:nth-child(3)::after { animation-delay: 2s; }
@keyframes syncsweep { 0% { left: -35%; } 100% { left: 105%; } }
.sync-row .sr-bans { margin-left: auto; color: var(--cyan); }

/* ═══ 7 · Prueba verificable ══════════════════════════════════════════════ */
.proof-panel { padding: 2rem 1.6rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .proof-panel { grid-template-columns: 5fr 6fr; padding: 2.4rem 2.2rem; } }
.proof-copy h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: #f1f5f9; letter-spacing: -.02em; margin-bottom: .8rem; }
.proof-copy p { color: var(--muted-1); font-size: .95rem; margin-bottom: 1.4rem; }
.proof-stats { display: flex; flex-direction: column; gap: .8rem; }
.proof-stat { display: flex; align-items: baseline; gap: .8rem; font-family: var(--font-mono); }
.proof-stat .pv { font-size: 1.25rem; font-weight: 700; color: #dbeafe; min-width: 4.5em; }
.proof-stat .pk { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.proof-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.4rem; color: #7cc7ff; font-size: .9rem; font-weight: 500; }
.proof-link:hover { color: #b7dcff; }
.avail-comp { margin-bottom: 1.3rem; }
.avail-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; font-size: .85rem; color: #cbd5e1; }
.avail-head .pct { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--green-lite); }
.avail-bars { display: grid; grid-template-columns: repeat(90, minmax(1px, 1fr)); gap: 1px; }
.avail-bars i { height: 26px; border-radius: 2px; background: #1e293b; }
.avail-bars i.op { background: rgba(34,197,94,.75); }
.avail-bars i.dg { background: rgba(245,158,11,.8); }
.avail-bars i.ou { background: rgba(239,68,68,.85); }
.avail-legend { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: .9rem; font-family: var(--font-mono); font-size: 10px; color: var(--muted-2); }
.avail-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.avail-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.proof-extra { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.proof-extra a { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: .45rem .75rem; transition: border-color .2s ease, color .2s ease; }
.proof-extra a:hover { border-color: rgba(30,160,255,.3); color: var(--muted-1); }

/* ═══ 8 · Precios ═════════════════════════════════════════════════════════ */
.plans { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; border-top: 2px solid transparent; }
.plan-beta { border-top-color: rgba(54,215,255,.55); }
.plan-basic { border-top-color: rgba(34,197,94,.5); }
.plan-pro { border-top-color: rgba(168,85,247,.5); position: relative; }
.plan-ent { border-top-color: rgba(249,115,22,.5); }
.plan-pro.glow {
  border-color: rgba(168,85,247,.3); border-top-color: rgba(168,85,247,.65);
  box-shadow: 0 0 48px rgba(139,92,246,.14);
}
.plan-pop {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em;
  background: linear-gradient(135deg, #7C3AED, #6D28D9); color: #fff;
  border-radius: 999px; padding: .25rem .7rem; white-space: nowrap;
}
.plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #f1f5f9; display: flex; align-items: center; gap: .5rem; }
.plan-price { font-family: var(--font-mono); font-weight: 700; font-size: 2rem; letter-spacing: -.02em; }
.plan-price .per { font-size: .8rem; font-weight: 400; color: var(--muted-2); letter-spacing: 0; }
.plan-beta .plan-price { color: var(--cyan); }
.plan-basic .plan-price { color: #86efac; }
.plan-pro .plan-price { color: #d8b4fe; }
.plan-ent .plan-price { color: #fdba74; }
.plan-desc { font-size: .84rem; color: var(--muted-2); min-height: 2.6em; }
.plan-feats { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.plan-feats li { display: flex; gap: .55rem; font-size: .86rem; color: var(--muted-1); align-items: flex-start; }
.plan-feats li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--green-lite); }
.plan .btn { width: 100%; font-size: .88rem; padding: .7rem 1rem; }

/* ═══ 9 · FAQ ═════════════════════════════════════════════════════════════ */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { border-left: 2px solid transparent; transition: border-color .25s ease; }
.faq-item[open] { border-left-color: var(--brand); }
.faq-item summary {
  display: flex; align-items: center; gap: .9rem; cursor: pointer;
  padding: 1.05rem 1.2rem; list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .qi { font-family: var(--font-mono); font-size: 10px; color: var(--muted-3); letter-spacing: .1em; flex: none; }
.faq-item summary .qt { font-weight: 600; font-size: .96rem; color: #e2e8f0; flex: 1; }
.faq-item summary .plus { font-family: var(--font-mono); font-size: 18px; color: var(--muted-2); transition: transform .25s ease; flex: none; }
.faq-item[open] summary .plus { transform: rotate(45deg); color: var(--brand); }
.faq-item .faq-a { padding: 0 1.2rem 1.2rem 3.4rem; color: var(--muted-1); font-size: .9rem; }
@media (max-width: 600px) { .faq-item .faq-a { padding-left: 1.2rem; } }

/* ═══ 10 · CTA final ══════════════════════════════════════════════════════ */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 1.2rem; padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #091426, #0c1d3c 50%, #091426);
  border: 1px solid rgba(59,130,246,.22);
}
.cta-mosaic {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(5, 1fr); opacity: .12; filter: grayscale(1) blur(1px);
}
.cta-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.cta-panel::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(3,8,16,.86); backdrop-filter: blur(2px);
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.cta-inner h2 {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.35rem, 3.4vw, 2.2rem); color: #f1f5f9;
}
.cta-inner h2 .prompt { color: var(--brand); }
.cta-inner h2 .cursor {
  display: inline-block; width: .55em; height: 1.05em; margin-left: 4px;
  background: var(--brand); vertical-align: text-bottom;
  animation: cursorblink 1.1s steps(2) infinite;
}
@keyframes cursorblink { 50% { opacity: 0; } }
.cta-inner .cta-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.cta-inner .ghost-link { color: var(--muted-1); font-size: .9rem; padding: .8rem .6rem; }
.cta-inner .ghost-link:hover { color: #fff; }

/* ═══ 11 · Footer ═════════════════════════════════════════════════════════ */
footer { position: relative; padding: 0 0 2.5rem; }
.foot-hairline { height: 1px; background: linear-gradient(90deg, transparent, rgba(30,160,255,.25), transparent); margin-bottom: 3.5rem; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand img { height: 26px; width: auto; margin-bottom: 1rem; filter: grayscale(.4); transition: filter .3s ease; }
.foot-brand:hover img { filter: none; }
.foot-brand p { font-size: .88rem; color: var(--muted-2); max-width: 22rem; }
.foot-col h3 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-1); margin-bottom: 1.1rem; font-weight: 500;
}
.foot-col ul { display: flex; flex-direction: column; gap: .6rem; }
.foot-col a { font-size: .88rem; color: var(--muted-1); transition: color .2s ease; }
.foot-col a:hover { color: #fff; }
.foot-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted-3);
  border-top: 1px solid rgba(255,255,255,.05); padding-top: 1.6rem;
}
.foot-status { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-2); }
.foot-status:hover { color: var(--muted-1); }

/* ═══ Accesibilidad y performance ═════════════════════════════════════════ */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .ekg-path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .radar-sweep { display: none; }
}
@media (hover: none) {
  .radar-sweep { animation-duration: 6s; }
  .btn-primary .shimmer { display: none; }
}
