/* ============================================================
   MU Horizon — hoja de estilo del sitio público
   Sin dependencias externas: ni fuentes, ni CDN, ni frameworks.
   Un solo tema (oscuro). El lenguaje visual sale de los assets
   de marca (CLAUDE.md §3): serif épica en mayúsculas, oro
   metálico, y la dualidad hielo (izquierda) / fuego (derecha).
   ============================================================ */

:root {
  /* Fondo: noche profunda, con un azul que no llega a ser azul */
  --bg:        #07090f;
  --bg-2:      #0a0e17;
  --surface:   #10141f;
  --surface-2: #151a28;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  /* Texto */
  --fg:        #e9ecf4;
  --fg-soft:   #b8c0d2;
  --fg-mute:   #8892a8;

  /* Acentos, sacados de los assets de marca (ASSETS MU): el oro fuego
     de "HORIZON" y el azul hielo del ala izquierda del emblema. */
  --acc:       #f0b429;
  --acc-hi:    #f8d47a;
  --acc-dim:   rgba(240, 180, 41, .14);
  --fire:      #f97316;
  --acc-2:     #6cb2ff;
  --acc-2-dim: rgba(108, 178, 255, .12);

  --ok:        #4ade80;
  --off:       #6b7280;

  /* Métrica */
  --wrap:      1120px;
  --wrap-n:    760px;
  --r:         14px;
  --r-sm:      9px;

  --ease:      cubic-bezier(.22, .61, .36, 1);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
  /* La display: lo más cerca del lettering tipo Trajan del logo
     sin bajar una fuente. Serif clásica + mayúsculas + tracking. */
  --display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
             "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: var(--acc-hi); text-decoration-color: rgba(248, 212, 122, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--acc-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; z-index: 200; inset: 12px auto auto 12px;
  background: var(--acc); color: #14100a; font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-sm); width: auto; height: auto;
  clip: auto; margin: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: var(--wrap-n); }
.mt { margin-top: 28px; }

/* ══════════════════════ NAV ══════════════════════ */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 9, 15, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(7, 9, 15, .9); }

.nav__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: auto; flex: none; }
.brand__txt {
  font-family: var(--display);
  font-size: 1.18rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg); white-space: nowrap;
}
.brand__txt em { font-style: normal; font-weight: 400; color: var(--acc); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a {
  color: var(--fg-soft); text-decoration: none; font-weight: 500;
  font-family: var(--display); font-size: .84rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--fg); background: rgba(255, 255, 255, .05); }

.nav__toggle {
  display: none; width: 42px; height: 42px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════ BOTONES ══════════════════════ */

.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px 13px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-family: var(--display); font-size: .92rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .22s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Botón dorado con bisel, como los de la UI del juego */
.btn--primary {
  --btn-bg: linear-gradient(180deg, #fadf9b, var(--acc) 52%, #d98a1f);
  --btn-fg: #241804; --btn-bd: rgba(250, 223, 155, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              inset 0 -2px 4px rgba(120, 60, 0, .35),
              0 6px 22px -8px rgba(240, 180, 41, .55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              inset 0 -2px 4px rgba(120, 60, 0, .35),
              0 12px 32px -10px rgba(240, 180, 41, .75);
}

.btn--ghost { --btn-bg: rgba(255, 255, 255, .03); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .07); --btn-bd: var(--acc); }

.btn--sm { padding: 9px 17px; font-size: .9rem; }
.nav__links .btn--sm { --btn-bd: var(--acc); color: var(--acc-hi); }
.nav__links .btn--sm:hover { --btn-bg: var(--acc-dim); }

.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ══════════════════════ HERO ══════════════════════ */

.hero { position: relative; isolation: isolate; padding: clamp(72px, 13vw, 132px) 0 clamp(56px, 8vw, 92px); overflow: hidden; }

.hero__sky { position: absolute; inset: 0; z-index: -1; }

/* El arte de marca como atmósfera. El PNG es chico (499 px), así que
   va desenfocado y oscurecido a propósito: mancha de color, no foto. */
.hero__art {
  position: absolute; inset: -40px;
  background: url("../img/banner-more-than-a-game.png") center 30% / cover no-repeat;
  filter: blur(18px) saturate(1.25) brightness(.6);
  transform: scale(1.06);
  opacity: .5;
}
/* Velo entre el arte y las estrellas: el texto respira, el color queda */
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(62% 58% at 50% 40%, rgba(7, 9, 15, .18), rgba(7, 9, 15, .6) 82%),
    linear-gradient(180deg, rgba(7, 9, 15, .5), rgba(7, 9, 15, .18) 42%, var(--bg) 97%);
}

/* El horizonte: hielo a la izquierda, fuego a la derecha — como las
   alas del emblema — y el sol dorado en el medio. */
.hero__glow {
  position: absolute; left: 50%; bottom: -46%; transform: translateX(-50%);
  width: min(1500px, 165vw); aspect-ratio: 2 / 1;
  background:
    radial-gradient(closest-side at 24% 52%, rgba(59, 130, 246, .17), transparent 66%),
    radial-gradient(closest-side at 76% 52%, rgba(249, 115, 22, .15), transparent 66%),
    radial-gradient(closest-side, rgba(240, 180, 41, .18), rgba(240, 180, 41, .06) 45%, transparent 72%);
  filter: blur(12px);
}
.hero__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 178, 255, .5) 22%, rgba(240, 180, 41, .6) 50%, rgba(249, 115, 22, .5) 78%, transparent);
  opacity: .65;
}
.hero__stars {
  position: absolute; inset: 0;
  /* Chispas de hielo a la izquierda, brasas a la derecha, estrellas al medio */
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(140, 190, 255, .65), transparent),
    radial-gradient(1.2px 1.2px at 28% 14%, rgba(255,255,255,.40), transparent),
    radial-gradient(1.8px 1.8px at 6% 58%, rgba(108, 178, 255, .5), transparent),
    radial-gradient(1.2px 1.2px at 20% 40%, rgba(140, 190, 255, .35), transparent),
    radial-gradient(1.6px 1.6px at 42% 30%, rgba(255,255,255,.30), transparent),
    radial-gradient(1.2px 1.2px at 63% 12%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.6px 1.6px at 78% 26%, rgba(250, 180, 90, .55), transparent),
    radial-gradient(1.2px 1.2px at 88% 16%, rgba(255,255,255,.50), transparent),
    radial-gradient(1.8px 1.8px at 94% 55%, rgba(249, 140, 50, .5), transparent),
    radial-gradient(1.3px 1.3px at 82% 44%, rgba(250, 180, 90, .35), transparent),
    radial-gradient(1.1px 1.1px at 55% 40%, rgba(255,255,255,.25), transparent);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__stars { animation: none; } }

.hero__in { position: relative; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--acc-2-dim); border: 1px solid rgba(108, 178, 255, .28);
  color: var(--acc-2); font-family: var(--display); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--acc-2);
  box-shadow: 0 0 0 0 rgba(108, 178, 255, .7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(108, 178, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 178, 255, 0); }
}
@media (prefers-reduced-motion: reduce) { .eyebrow .dot { animation: none; } }

.hero__logo {
  display: block; width: min(340px, 72vw); height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .55));
}

.hero__h1 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1.12; letter-spacing: .035em; font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}
/* El degradé de "HORIZON" en el logo: oro que termina en fuego */
.grad {
  background: linear-gradient(100deg, var(--acc-hi) 8%, var(--acc) 48%, var(--fire) 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__sub {
  max-width: 640px; margin: 0 auto 34px;
  font-size: clamp(1.03rem, 2vw, 1.19rem); color: var(--fg-soft);
}
.hero__sub strong { color: var(--fg); font-weight: 650; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-bottom: 52px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: 0 auto; max-width: 760px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: linear-gradient(180deg, rgba(21, 26, 40, .85), rgba(13, 17, 27, .85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: 20px 12px; text-align: center;
}
.stat dt { font-size: .74rem; color: var(--fg-mute); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.stat dd {
  margin: 0; font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fadf9b, var(--acc) 60%, #e09422);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .89rem; color: var(--fg-soft);
}
.status__led { width: 8px; height: 8px; border-radius: 50%; background: var(--off); flex: none; }
.status[data-state="online"]  .status__led { background: var(--ok);  box-shadow: 0 0 10px rgba(74, 222, 128, .8); }
.status[data-state="offline"] .status__led { background: #f87171; }
.status[data-state="online"] { border-color: rgba(74, 222, 128, .3); }

/* ══════════════════════ SECCIONES ══════════════════════ */

.sec { padding: clamp(64px, 9vw, 108px) 0; border-top: 1px solid var(--line); }
/* Las secciones alternas cargan la dualidad: hielo arriba a la
   izquierda, fuego abajo a la derecha, muy por detrás del texto. */
.sec--alt {
  background:
    radial-gradient(720px 380px at 0% 0%, rgba(59, 130, 246, .055), transparent 70%),
    radial-gradient(720px 380px at 100% 100%, rgba(249, 115, 22, .05), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

/* La estrella de cuatro puntas de los assets marca cada sección */
.kicker {
  margin: 0 0 12px; color: var(--acc); font-size: .78rem; font-weight: 700;
  font-family: var(--display); letter-spacing: .24em; text-transform: uppercase;
}
.kicker::before { content: "✦ "; color: var(--acc-hi); }
.h2 {
  display: flex; align-items: center; gap: 22px;
  margin: 0 0 18px; font-family: var(--display);
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  line-height: 1.18; letter-spacing: .05em; font-weight: 700;
  text-transform: uppercase;
}
.h2::after {
  content: ""; flex: 1 1 40px; height: 1px; min-width: 40px;
  background: linear-gradient(90deg, rgba(240, 180, 41, .5), rgba(249, 115, 22, .18) 60%, transparent);
}
.lead { max-width: 640px; margin: 0 0 44px; color: var(--fg-soft); font-size: clamp(1rem, 1.9vw, 1.1rem); }
.lead strong { color: var(--fg); }

/* ══════════════════════ GRID / CARDS ══════════════════════ */

.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; padding: 26px 24px 24px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 55%);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .22s var(--ease), transform .22s var(--ease), background .22s var(--ease);
}
/* El filo superior: hielo → oro → fuego, la firma de la marca */
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, rgba(108, 178, 255, .55), rgba(240, 180, 41, .65) 50%, rgba(249, 115, 22, .55));
  opacity: .5; transition: opacity .22s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card__orb {
  display: block; width: 44px; height: 44px; margin-bottom: 16px;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .5));
  transition: transform .22s var(--ease);
}
.card:hover .card__orb { transform: translateY(-2px) scale(1.06); }
.card h3 { margin: 0 0 9px; font-family: var(--display); font-size: 1.14rem; font-weight: 700; letter-spacing: .015em; }
.card p  { margin: 0; color: var(--fg-mute); font-size: .945rem; line-height: 1.6; }
.card--flat { background: transparent; box-shadow: none; }
.card--flat::before { opacity: .25; }
.card--flat:hover { transform: none; background: rgba(255, 255, 255, .02); }

/* ══════════════════════ "QUÉ NO SOMOS" ══════════════════════ */

.notwe {
  margin-top: 40px; padding: 28px 30px;
  border: 1px solid var(--line); border-left: 3px solid var(--acc);
  border-radius: var(--r); background: rgba(240, 180, 41, .04);
}
.notwe__h { margin: 0 0 14px; font-family: var(--display); font-size: 1.12rem; font-weight: 700; }
.notwe__h em { font-style: italic; color: var(--acc); }
.notwe__l { margin: 0; padding-left: 20px; color: var(--fg-soft); }
.notwe__l li { margin-bottom: 9px; font-size: .96rem; }
.notwe__l li:last-child { margin-bottom: 0; }
.notwe__l strong { color: var(--acc-hi); }

/* ══════════════════════ TABLAS ══════════════════════ */

.tablewrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); -webkit-overflow-scrolling: touch;
}
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.tbl thead th {
  text-align: left; padding: 15px 20px;
  background: linear-gradient(180deg, rgba(240, 180, 41, .07), rgba(240, 180, 41, .03));
  border-bottom: 1px solid rgba(240, 180, 41, .22);
  font-family: var(--display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--acc); white-space: nowrap;
}
.tbl tbody th, .tbl tbody td { padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: top; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .16s var(--ease); }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .028); }
.tbl tbody th { text-align: left; font-family: var(--display); font-weight: 700; letter-spacing: .02em; color: var(--fg); white-space: nowrap; }
.tbl td { color: var(--fg-mute); }
.tbl .num { font-variant-numeric: tabular-nums; color: var(--fg-soft); white-space: nowrap; }
.tbl .num b { color: var(--acc-hi); font-weight: 750; }
.tbl__cap { background: rgba(240, 180, 41, .05); }
.tag {
  display: inline-block; margin-left: 7px; padding: 2px 9px; border-radius: 999px;
  background: var(--acc-dim); color: var(--acc-hi); border: 1px solid rgba(240, 180, 41, .3);
  font-family: var(--display);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

/* ══════════════════════ PROMESA 32K ══════════════════════ */

.promise {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  margin-bottom: 36px; padding: 30px 34px;
  border: 1px solid rgba(240, 180, 41, .26); border-radius: var(--r);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(108, 178, 255, .07), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(249, 115, 22, .08), transparent 55%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.promise::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, rgba(108, 178, 255, .55), rgba(240, 180, 41, .7) 50%, rgba(249, 115, 22, .55));
}
.promise__big { text-align: center; flex: none; }
.promise__big span {
  display: block; font-family: var(--display);
  font-size: clamp(2.3rem, 6vw, 3.4rem); font-weight: 700;
  line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fadf9b, var(--acc) 55%, #e08a1e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.promise__big small { display: block; margin-top: 7px; color: var(--fg-mute); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.promise__txt { flex: 1 1 340px; }
.promise__txt h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.22rem; font-weight: 700; }
.promise__txt p  { margin: 0; color: var(--fg-soft); font-size: .97rem; }

/* ══════════════════════ EL FOSO ══════════════════════ */

.moat { list-style: none; margin: 0; padding: 0; counter-reset: moat; }
.moat__i {
  display: flex; gap: 22px; padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.moat__i:last-child { border-bottom: 0; }
.moat__n {
  flex: none; width: 52px; font-family: var(--display); font-size: 1.3rem;
  font-weight: 700; padding-top: 0;
  background: linear-gradient(180deg, #fadf9b, var(--acc) 60%, #e08a1e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.moat__i h3 { margin: 0 0 7px; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: .01em; }
.moat__i p  { margin: 0; color: var(--fg-mute); max-width: 68ch; }

/* ══════════════════════ PVP ══════════════════════ */

.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 42px; align-items: start; }
.split__a h3 { margin: 0 0 12px; font-family: var(--display); font-size: 1.26rem; font-weight: 700; }
.split__a p  { color: var(--fg-soft); margin: 0 0 16px; }
.split__a p:last-child { margin-bottom: 0; }

kbd {
  display: inline-block; padding: 2px 8px; margin: 0 2px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px;
  background: var(--surface-2); font-family: var(--mono); font-size: .85em; color: var(--fg);
}

.facts { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.facts li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--fg-mute); font-size: .88rem; }
.facts b { color: var(--fg); font-weight: 650; font-size: .92rem; text-align: right; }

.note {
  margin: 36px 0 0; padding: 18px 22px;
  border-left: 3px solid var(--acc-2); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--acc-2-dim); color: var(--fg-soft); font-size: .95rem;
}
.note strong { color: var(--fg); }

/* ══════════════════════ TABS DEL RANKING ══════════════════════ */

.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tab {
  padding: 9px 20px 8px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line);
  color: var(--fg-mute); font-family: var(--display); font-size: .84rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  transition: all .18s var(--ease);
}
.tab:hover { color: var(--fg); border-color: var(--line-2); }
.tab.is-on { background: var(--acc-dim); border-color: var(--acc); color: var(--acc-hi); }

.tbl--rank tbody th { font-variant-numeric: tabular-nums; color: var(--fg-mute); width: 56px; }
.tbl--rank tbody tr:nth-child(1) th { color: var(--acc); font-weight: 800; }
.tbl--rank tbody tr:nth-child(2) th,
.tbl--rank tbody tr:nth-child(3) th { color: var(--fg-soft); font-weight: 750; }
.tbl--rank .name { color: var(--fg); font-weight: 650; }
.rk-empty { padding: 34px 20px; text-align: center; color: var(--fg-mute); font-size: .95rem; }

/* ══════════════════════ PASOS ══════════════════════ */

.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; padding: 28px 24px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.step__n {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px;
  border-radius: 50%; border: 1px solid var(--acc);
  background: var(--acc-dim);
  box-shadow: 0 0 14px -4px rgba(240, 180, 41, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: var(--acc-hi); font-family: var(--display); font-weight: 700; font-size: 1.05rem;
}
.step h3 { margin: 0 0 9px; font-family: var(--display); font-size: 1.12rem; font-weight: 700; }
.step p  { margin: 0 0 14px; color: var(--fg-mute); font-size: .945rem; }
.step__cta { margin: 0 !important; }
.step__nota {
  padding: 10px 12px; border-left: 2px solid var(--acc); border-radius: 4px;
  background: color-mix(in srgb, var(--acc) 7%, transparent);
  font-size: .87rem !important;
}

.req { padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.req__h { margin: 0 0 18px; font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); }
.req__h::before { content: "✦ "; color: var(--acc-hi); }
.req__g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.req__g > div { display: flex; flex-direction: column; gap: 4px; }
.req__g span { color: var(--fg-mute); font-size: .82rem; }
.req__g b { color: var(--fg); font-weight: 650; font-size: .98rem; }

/* ══════════════════════ FAQ ══════════════════════ */

.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__i:last-child { border-bottom: 0; }
.faq__i summary {
  padding: 18px 54px 18px 22px; cursor: pointer; position: relative;
  font-weight: 650; font-size: 1rem; color: var(--fg);
  list-style: none; transition: background .16s var(--ease);
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary:hover { background: rgba(255, 255, 255, .03); }
.faq__i summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; font-weight: 400; color: var(--acc); line-height: 1;
  transition: transform .25s var(--ease);
}
.faq__i[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__i p { margin: 0; padding: 0 22px 20px; color: var(--fg-mute); font-size: .95rem; max-width: 72ch; }

/* ══════════════════════ COMUNIDAD ══════════════════════ */

.community { display: grid; grid-template-columns: minmax(0, 473px) 1fr; gap: 48px; align-items: center; }
.community__img { width: 100%; max-width: 473px; height: auto; filter: drop-shadow(0 18px 44px rgba(0, 0, 0, .5)); }
.community__txt .h2 { margin-bottom: 14px; }
.community__p { margin: 0 0 26px; color: var(--fg-soft); max-width: 52ch; }

/* ══════════════════════ FOOTER ══════════════════════ */

/* El cierre repite la firma: hielo → oro → fuego de borde a borde */
.foot { position: relative; background: var(--bg-2); padding: 58px 0 26px; }
.foot::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, rgba(108, 178, 255, .45), rgba(240, 180, 41, .55) 50%, rgba(249, 115, 22, .45));
}
.foot__in { display: grid; grid-template-columns: 1.3fr 2fr; gap: 44px; padding-bottom: 40px; }
.foot__brand p { margin: 12px 0 0; color: var(--fg-mute); font-size: .93rem; max-width: 34ch; }
.foot__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.foot__nav h3 { margin: 0 0 12px; font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.foot__nav a { display: block; margin-bottom: 8px; color: var(--fg-soft); text-decoration: none; font-size: .93rem; }
.foot__nav a:hover { color: var(--acc-hi); }

.foot__legal { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__legal p { margin: 0; color: var(--fg-mute); font-size: .82rem; max-width: 72ch; }
.foot__legal em { font-style: italic; }
.foot__ver { font-family: var(--mono); white-space: nowrap; }

/* ══════════════════════ DISCORD FLOTANTE ══════════════════════ */

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: #5865f2; color: #fff; text-decoration: none;
  font-size: .93rem; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 8px 26px -8px rgba(88, 101, 242, .75);
  transition: transform .16s var(--ease), box-shadow .22s var(--ease);
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(88, 101, 242, .85); }
.fab svg { flex: none; }
.fab[aria-disabled="true"] { display: none; }

/* ══════════════════════ RESPONSIVE ══════════════════════ */

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; gap: 34px; }
  .community { grid-template-columns: 1fr; gap: 30px; }
  .community__img { margin-inline: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; inset: 68px 0 auto; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 18px 20px;
    background: rgba(7, 9, 15, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: 13px 12px; font-size: 1rem; }
  .nav__links .btn--sm { margin-top: 8px; justify-content: center; padding: 13px 18px; }

  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .req__g { grid-template-columns: repeat(2, 1fr); }
  .foot__nav { grid-template-columns: repeat(2, 1fr); }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .promise { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 22px; text-align: left; }
  .promise__big { text-align: left; }

  .moat__i { flex-direction: column; gap: 8px; }
  .moat__n { width: auto; }

  .notwe { padding: 22px 20px; }
  .req { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .nav, .hero__sky, .tabs, .btn, .fab { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── 404 ──────────────────────────────────────────────────────────────────
   Lo poco que 404.html necesita y no estaba ya en otra clase. Vive acá y no
   en un style="" de esa página porque la CSP (web/_headers) prohíbe el estilo
   inline en todo el sitio, y una excepción para la página de error sería
   exactamente la clase de agujero que la CSP existe para tapar. */
.e404 { border-top: 0; text-align: center; }
.e404 .h2::after { margin-inline: auto; }
.e404 .lead { margin-inline: auto; }
.e404__mark { width: 104px; height: auto; opacity: .75; margin-bottom: 8px; }

/* ── Registro ─────────────────────────────────────────────────────────────
   El formulario de registro.html. Un solo campo por fila y ancho acotado:
   se completa una vez en la vida y desde el celular, así que lo que importa
   es que se lea, no que entre en una pantalla. */
.reg { border-top: 0; }
.reg__form { max-width: 460px; margin-top: 8px; }

.field { margin-bottom: 22px; }
.field__l {
  display: block;
  margin-bottom: 7px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fg);
}
.field__i {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 1rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field__i:hover { border-color: var(--acc-2); }
.field__i:focus { outline: none; border-color: var(--acc); background: var(--surface-2); }
.field__h { margin: 7px 0 0; font-size: .84rem; line-height: 1.5; color: var(--fg-mute); }
.field__e { margin: 7px 0 0; font-size: .87rem; line-height: 1.5; color: #fca5a5; }

/* El widget de Turnstile trae su propio iframe: solo se le reserva el aire. */
.reg__turnstile { margin: 4px 0 20px; min-height: 65px; }

.reg__aviso {
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--acc-2);
  border-radius: var(--r-sm);
  background: var(--acc-2-dim);
  font-size: .92rem;
}
.reg__aviso.is-error { border-left-color: #f87171; background: rgba(248, 113, 113, .09); }

.reg__submit { width: 100%; justify-content: center; }
.reg__submit[disabled] { opacity: .5; pointer-events: none; }

.reg__legal { margin-top: 18px; }

.reg__usuario {
  font-family: var(--mono);
  color: var(--acc-hi);
  letter-spacing: .04em;
}
