/* ==========================================================
   BOTO●NAUTALISTA — estilos
   Paleta: azul #3b82f6 / cian #38bdf8 / violeta #8b5cf6 / magenta #c026d3
   Fondo carbón #101217
   ========================================================== */

:root {
  --bg: #101217;
  --bg-2: #14161c;
  --bg-3: #171a21;
  --text: #e6e8ee;
  --text-strong: #f4f5f8;
  --muted: #a9b0bf;
  --dim: #8a91a3;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #3b82f6;
  --cyan: #38bdf8;
  --violet: #8b5cf6;
  --magenta: #c026d3;
  --cyan-soft: #7cc4ff;
  --violet-soft: #d6c8ff;
  --live: #ef4444;
  --grad: linear-gradient(100deg, var(--blue), var(--violet));
  --grad-text: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--magenta));
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1320px;
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-soft); text-decoration: none; }
a:hover { color: #c4a8ff; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Cursor mira (solo ratón) */
@media (pointer: fine) {
  body { cursor: crosshair; }
  a, button { cursor: pointer; }
}

/* ---------- Capas de fondo ---------- */
.bg-hud, .bg-noise, .bg-scan { position: fixed; inset: 0; pointer-events: none; }
.bg-hud { z-index: 0; width: 100%; height: 100%; }
.bg-noise { z-index: 1; width: 100%; height: 100%; opacity: .06; mix-blend-mode: overlay; }
.bg-scan {
  z-index: 60; opacity: .06;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 1px, transparent 1px 3px);
}

/* ---------- Barra HP ---------- */
.hp {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px; padding: 6px 16px;
  background: rgba(16,18,23,.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--f-mono); font-size: 11px;
}
.hp__label { color: var(--cyan-soft); font-weight: 700; letter-spacing: .12em; }
.hp__track { flex: 1; height: 8px; border: 1px solid rgba(124,196,255,.35); padding: 1px; }
.hp__fill { height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 10px rgba(139,92,246,.7); }
.hp__num { color: #9aa1b2; min-width: 64px; text-align: right; }

/* ---------- Pegatina directo ---------- */
.live-pill {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px;
  background: rgba(16,18,23,.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(239,68,68,.5); color: var(--text-strong);
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.live-pill.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.live-pill:hover { color: #fff; border-color: var(--live); }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); animation: blink 1.2s ease-in-out infinite; }

/* ---------- Cabecera ---------- */
.header { position: absolute; top: 20px; left: 0; right: 0; z-index: 30; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.brand { white-space: nowrap; color: var(--text-strong); font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: .08em; }
.brand:hover { color: var(--text-strong); }
.brand-dot {
  display: inline-block; width: 17px; height: 17px; margin: 0 3px; vertical-align: -1px;
  border-radius: 50%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 35% 35%, var(--cyan-soft), #6d28d9 70%);
  animation: pulse 2.4s ease-in-out infinite;
}
.brand-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 75%, rgba(255,255,255,.75) 100%);
  animation: radar 3s linear infinite;
}
.nav { display: flex; gap: 26px; font-family: var(--f-display); font-size: 15px; font-weight: 500; }
.nav a { color: #b9bfcc; transition: color .15s, text-shadow .15s; }
.nav a:hover { color: #fff; text-shadow: 0 0 10px rgba(56,189,248,.7); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost-sm {
  height: 44px; min-width: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); color: #c9cedb;
  font-family: var(--f-mono); font-size: 12px;
}
.menu-btn { display: none; }

/* ---------- Glitch ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; letter-spacing: inherit;
}
.glitch:hover::before { opacity: 1; color: var(--cyan); animation: glitch-a .22s steps(2) 1; }
.glitch:hover::after { opacity: 1; color: var(--magenta); animation: glitch-b .22s steps(2) 1; }
.glitch:hover { text-shadow: 0 0 10px rgba(56,189,248,.8), 0 0 22px rgba(139,92,246,.5); }

/* ---------- Botones ---------- */
.btn {
  height: 52px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-mono); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  clip-path: var(--cut); border: 1px solid transparent; position: relative; isolation: isolate; overflow: hidden;
  white-space: nowrap;
}
.btn--lg { height: 56px; padding: 0 30px; font-size: 15px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 13px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 0 30px rgba(139,92,246,.45); transition: filter .2s; }
.btn--primary:hover { color: #fff; filter: brightness(1.15); }
/* Botón "Press Start": barrido inclinado al hover */
.btn--outline { background: rgba(0,0,0,.3); border-color: rgba(196,168,255,.6); color: var(--violet-soft); }
.btn--outline.is-cyan { border-color: rgba(124,196,255,.5); color: #b7e6ff; }
.btn--outline.is-white { border-color: rgba(255,255,255,.35); color: var(--text-strong); }
.btn--outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  transform: translateX(-110%) skewX(-20deg); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.btn--outline:hover::before, .btn--outline:focus-visible::before { transform: translateX(0) skewX(0); }
.btn--outline:hover, .btn--outline:focus-visible { color: #fff; border-color: transparent; }
.btn svg { flex: none; }

.chip-code {
  height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(56,189,248,.06); border: 1px dashed rgba(124,196,255,.55); color: #b7e6ff;
  font-family: var(--f-mono); font-size: 15px; font-weight: 700; letter-spacing: .1em;
}
.chip-code small { font-size: 11px; color: var(--cyan-soft); letter-spacing: .08em; }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(10px);
  border: 1px solid rgba(196,168,255,.4); color: var(--violet-soft);
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
}

.kicker { font-family: var(--f-mono); font-size: 12px; color: var(--cyan-soft); letter-spacing: .16em; }
.h2 { margin: 0; font-family: var(--f-display); font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.05; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { margin-top: 110px; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head > div { display: flex; flex-direction: column; gap: 8px; }
.link-more { font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- HERO / carrusel ---------- */
.hero { position: relative; z-index: 10; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__art { position: absolute; inset: 0; background-size: cover; background-position: center; animation: zoom 7s ease-out both; }
.hero__grid { position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, rgba(56,189,248,.035) 0 1px, transparent 1px 32px),
  repeating-linear-gradient(90deg, rgba(56,189,248,.035) 0 1px, transparent 1px 32px); }
.hero__sweep { position: absolute; left: 0; right: 0; height: 35%; background: linear-gradient(180deg, transparent, rgba(56,189,248,.05), transparent); animation: sweep 3.5s linear infinite; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(16,18,23,.75) 30%, rgba(16,18,23,.15) 65%, rgba(16,18,23,.6) 100%),
  linear-gradient(90deg, rgba(16,18,23,.9) 0%, rgba(16,18,23,0) 65%); }
.hero__inner { position: relative; width: 100%; padding-top: 160px; padding-bottom: 40px; }
.hero__content { max-width: 760px; display: flex; flex-direction: column; gap: 22px; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.hero__kicker {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px;
  border: 1px solid rgba(124,196,255,.5); background: rgba(0,0,0,.35); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #b7e6ff;
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.2s ease-in-out infinite; }
.hero__kicker[data-tone="live"] { color: #fca5a5; border-color: rgba(239,68,68,.55); }
.hero__kicker[data-tone="news"] { color: var(--violet-soft); border-color: rgba(196,168,255,.55); }
.hero h1 {
  margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(42px, 6.4vw, 92px);
  line-height: .96; letter-spacing: -.025em; color: var(--text-strong); text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero h1 .grad-text { display: block; }
.hero__text { margin: 0; color: #c9cedb; font-size: 19px; line-height: 1.6; max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tabs { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-tab {
  position: relative; min-height: 76px; padding: 14px 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-align: left; background: rgba(0,0,0,.35); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); color: var(--text); overflow: hidden;
}
.hero-tab__num { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--dim); letter-spacing: .12em; }
.hero-tab__label { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.hero-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.hero-tab__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 10px rgba(139,92,246,.8); }
.hero-tab[aria-selected="true"] { background: rgba(124,58,237,.18); border-color: rgba(196,168,255,.55); }
.hero-tab[aria-selected="true"] .hero-tab__num { color: var(--violet-soft); }
.hero-tab[aria-selected="true"] .hero-tab__bar i { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-tab[aria-selected="true"] .hero-tab__bar i { animation: none; width: 100%; }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 10; display: flex; align-items: center; overflow: hidden; border-block: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.ticker__label { flex: none; padding: 14px 18px; background: var(--grad); color: #fff; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; position: relative; z-index: 2; }
.ticker__viewport { overflow: hidden; flex: 1; min-width: 0; }
.ticker__track { display: flex; width: max-content; gap: 48px; padding-left: 24px; font-family: var(--f-mono); font-size: 13px; color: #c9cedb; white-space: nowrap; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span::before { content: "▸ "; color: var(--violet); }

/* ---------- Main ---------- */
main { position: relative; z-index: 10; padding-bottom: 80px; }

/* ---------- Noticias ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  height: 40px; min-width: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); color: #c9cedb;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.filter:hover { border-color: rgba(124,196,255,.5); color: #fff; }
.filter[aria-pressed="true"] { background: linear-gradient(100deg, rgba(59,130,246,.85), rgba(139,92,246,.85)); border-color: transparent; color: #fff; }
.news { display: flex; flex-wrap: wrap; gap: 28px; perspective: 1400px; }
.news-feat { flex: 1.5 1 520px; min-width: 0; display: flex; flex-direction: column; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); }
.news-feat:hover { color: var(--text); }
.news-feat__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.news-feat__title { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; font-weight: 700; }
.meta { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.more { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--cyan-soft); letter-spacing: .08em; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.news-list { flex: 1 1 360px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.1); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-row { display: flex; gap: 16px; align-items: center; padding: 18px 0; color: var(--text); transition: background .15s, padding .15s; }
.news-row:hover { color: var(--text); background: rgba(56,189,248,.05); padding-left: 12px; }
.news-row__thumb { flex: none; width: 96px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-3); border: 1px solid rgba(255,255,255,.06); }
.news-row__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.news-row__tags { font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--violet-soft); letter-spacing: .08em; }
.news-row__title { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.3; }
.news-empty { padding: 48px 24px; border: 1px dashed rgba(124,196,255,.3); text-align: center; font-family: var(--f-mono); font-size: 14px; color: #9aa1b2; }

.thumb { position: relative; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, rgba(139,92,246,.06) 0 1px, transparent 1px 16px), #161920; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s, background .2s;
}
.tilt:hover .play { transform: scale(1.12); background: rgba(139,92,246,.9); }

.shorts { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.shorts__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-mono); }
.shorts__head strong { font-size: 12px; color: var(--violet-soft); letter-spacing: .14em; }
.shorts__head span { font-size: 11px; color: var(--dim); }
.shorts__rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #3b3f4d transparent; }
.short { flex: none; width: 180px; scroll-snap-align: start; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); }
.short:hover { color: var(--text); }
.short__media { position: relative; aspect-ratio: 9 / 16; background: #1b1830; overflow: hidden; }
.short__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.9)); }
.short__badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 7px; background: rgba(0,0,0,.6); font-family: var(--f-mono); font-size: 10px; font-weight: 700; color: var(--violet-soft); }
.short__text { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.short__title { font-family: var(--f-display); font-weight: 600; font-size: 14px; line-height: 1.25; }
.short__date { font-family: var(--f-mono); font-size: 10px; color: #b9bfcc; }

/* ---------- Tilt 3D ---------- */
.tilt { transition: transform .12s ease-out, box-shadow .2s, border-color .2s; transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { border-color: rgba(124,196,255,.45); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 24px rgba(139,92,246,.25); }

/* ---------- Directo ---------- */
.live { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.live__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.live__text p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.live__player { flex: 1.6 1 520px; min-width: 0; perspective: 1400px; }
.flow-border {
  padding: 1.5px;
  background: conic-gradient(from var(--angle), var(--blue), var(--cyan), var(--violet), var(--magenta), var(--blue));
  animation: spin 4s linear infinite;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(139,92,246,.28);
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.player { background: #0c0e12; }
.player__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background:
  radial-gradient(ellipse at 50% 60%, rgba(109,40,217,.35), transparent 65%),
  repeating-linear-gradient(0deg, rgba(56,189,248,.05) 0 1px, transparent 1px 28px),
  repeating-linear-gradient(90deg, rgba(56,189,248,.05) 0 1px, transparent 1px 28px), #0f1117; }
.player__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #9aa1b2; font-family: var(--f-mono); font-size: 13px; }
.player__placeholder .play { position: static; margin: 0; width: 72px; height: 72px; background: rgba(59,130,246,.75); box-shadow: 0 0 40px rgba(139,92,246,.6); border: 0; }
.player__badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 10px; background: var(--live); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; pointer-events: none; }
.player__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.06); }
.hermes { display: flex; align-items: center; gap: 12px; }
.hermes__avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2563eb, #7c3aed); font-family: var(--f-mono); font-weight: 700; color: #fff; }
.hermes strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.hermes span { font-size: 13px; color: #9aa1b2; }

/* ---------- Estado del servidor ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
  border: 1px solid rgba(156,163,175,.4); background: rgba(156,163,175,.06); color: #c9cedb;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6b7280; }
.status[data-state="online"] { color: #86efac; border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
.status[data-state="online"]::before { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.status[data-state="restarting"] { color: #fcd97a; border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.08); }
.status[data-state="restarting"]::before { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; animation: blink 1s infinite; }

/* ---------- Cendra ---------- */
.cendra__glow { position: absolute; inset: -60px -24px; pointer-events: none; background:
  radial-gradient(700px 420px at 15% 20%, rgba(124,58,237,.16), transparent 70%),
  radial-gradient(600px 380px at 90% 70%, rgba(37,99,235,.12), transparent 70%); }
.cendra__head { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; margin-bottom: 36px; }
.cendra__head h2 { font-size: clamp(36px, 6vw, 76px); letter-spacing: -.02em; line-height: 1; }
.cendra__head p { margin: 8px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 60ch; }
.facts { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.fact { padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 14px; }
.fact__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(124,196,255,.35); color: var(--cyan-soft); background: rgba(56,189,248,.06); }
.fact h3 { margin: 0; font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.fact p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.gallery { position: relative; margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; perspective: 1200px; }
.gallery figure { margin: 0; border: 1px solid var(--line); background: var(--bg-2); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-3); }
.gallery figcaption { padding: 12px 16px; font-family: var(--f-mono); font-size: 12px; color: #c9cedb; }

.paths { position: relative; margin-top: 56px; display: flex; flex-wrap: wrap; gap: 24px; }
.path { flex: 1 1 440px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.path--new { border-color: rgba(124,196,255,.3); background: linear-gradient(160deg, rgba(37,99,235,.14), rgba(124,58,237,.08)), #13151b; }
.path--new::before, .path--new::after { content: ""; position: absolute; width: 22px; height: 22px; }
.path--new::before { top: -1px; left: -1px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.path--new::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--violet); border-right: 2px solid var(--violet); }
.path__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.path__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--cyan-soft); }
.path--back .path__label { color: var(--violet-soft); }
.path h3 { margin: 0; font-family: var(--f-display); font-size: 32px; font-weight: 700; line-height: 1.1; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
.steps li { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: #c9cedb; counter-increment: s; }
.steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(124,196,255,.4); font-family: var(--f-mono); font-weight: 700; color: var(--cyan-soft); }
.steps strong { color: #fff; }
.patch { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.patch__v { font-family: var(--f-mono); font-size: 40px; font-weight: 700; line-height: 1; }
.patch__title { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.path p { margin: 0; color: var(--muted); line-height: 1.6; }
.link-btn { align-self: flex-start; min-height: 44px; padding: 0; background: none; border: 0; color: var(--cyan-soft); font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.changelog { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.changelog li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #b9bfcc; }
.changelog b { flex: none; width: 44px; font-family: var(--f-mono); color: var(--violet); }
.path__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* ---------- Comunidad ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.social { padding: 22px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--text); transition: border-color .15s, background .15s, transform .15s; }
.social:hover { color: var(--text); border-color: var(--cyan); background: rgba(56,189,248,.06); transform: translateY(-3px); }
.social strong { font-family: var(--f-display); font-size: 22px; }
.social span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.social em { font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--cyan-soft); letter-spacing: .08em; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 10; border-top: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.25); }
.footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer strong { font-family: var(--f-display); letter-spacing: .08em; }
.footer span { font-family: var(--f-mono); font-size: 12px; color: var(--dim); }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animaciones ---------- */
@keyframes pulse { 0%,100% { box-shadow: 0 0 6px 1px rgba(139,92,246,.7), 0 0 14px 2px rgba(59,130,246,.35); transform: scale(1); } 50% { box-shadow: 0 0 12px 3px rgba(56,189,248,.9), 0 0 26px 6px rgba(139,92,246,.45); transform: scale(1.12); } }
@keyframes radar { to { transform: rotate(360deg); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sweep { from { transform: translateY(-100%); } to { transform: translateY(300%); } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes spin { to { --angle: 360deg; } }
@keyframes glitch-a { 0% { clip-path: inset(10% 0 70% 0); transform: translate(-3px,0); } 25% { clip-path: inset(60% 0 10% 0); transform: translate(3px,0); } 50% { clip-path: inset(30% 0 45% 0); transform: translate(-2px,0); } 75% { clip-path: inset(80% 0 5% 0); transform: translate(2px,0); } 100% { clip-path: inset(0 0 100% 0); transform: none; } }
@keyframes glitch-b { 0% { clip-path: inset(70% 0 10% 0); transform: translate(3px,0); } 25% { clip-path: inset(15% 0 65% 0); transform: translate(-3px,0); } 50% { clip-path: inset(45% 0 30% 0); transform: translate(2px,0); } 75% { clip-path: inset(5% 0 80% 0); transform: translate(-2px,0); } 100% { clip-path: inset(0 0 100% 0); transform: none; } }

/* ---------- Móvil ---------- */
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; gap: 0;
    background: rgba(16,18,23,.97); border: 1px solid var(--line); backdrop-filter: blur(12px);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .btn-sfx { display: none; }
  .header .wrap { flex-wrap: nowrap; }
}
@media (max-width: 640px) {
  .brand { font-size: 17px; letter-spacing: .05em; }
  .brand-dot { width: 12px; height: 12px; margin: 0 2px; }
  .header .btn--sm { padding: 0 14px; }
  .hero__inner { padding-top: 120px; }
  .hero__text { font-size: 16px; }
  .hero__tabs { grid-template-columns: 1fr; gap: 8px; margin-top: 36px; }
  .hero-tab { min-height: 52px; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px 14px; }
  .btn { padding: 0 18px; }
  .btn--lg { height: 52px; padding: 0 22px; font-size: 14px; }
  .path { padding: 24px; }
  .path h3 { font-size: 26px; }
  .live-pill { right: 12px; bottom: 12px; }
  .section { margin-top: 80px; }
}

/* ---------- Opciones de usuario ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
