/* Identidad del hub (landing, 404). Estética "pantalla de selección":
   fondo casi negro, texto crema, un solo acento. */
:root {
  --bg: #0E0F12;
  --surface: #14161A;
  --surface-hover: #181A20;
  --line: #2A2D35;
  --line-dashed: #3A3D46;
  --fg: #EDEAE3;
  --fg2: #B9B8BF;
  --fg3: #9A9AA3;
  --accent: #FF5A1F;
  --ink: #0E0F12;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
.mono { font-family: var(--mono); }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.topbar-meta { font-family: var(--mono); font-size: 12px; color: var(--fg3); letter-spacing: .08em; }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px;
  padding-block: 72px 88px;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-main { flex: 999 1 560px; min-width: 0; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--accent); margin: 0 0 28px; }
.wordmark {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(52px, 10vw, 152px); line-height: .9; letter-spacing: -.035em;
}
.wordmark .accent { color: var(--accent); }
.caret {
  display: inline-block; width: .42em; height: .78em; margin-left: .08em;
  background: var(--fg); vertical-align: -.02em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.lede { margin: 32px 0 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--fg2); }

.stats { flex: 1 1 260px; margin: 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.stats div { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.stats dt { color: var(--fg3); }
.stats dd { margin: 0; }

/* Sections */
.section { padding-bottom: 96px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.section-meta { font-family: var(--mono); font-size: 12px; color: var(--fg3); }

/* Game slots */
.slots { display: flex; flex-direction: column; gap: 12px; }
.slot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px;
  padding: 28px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--fg); text-decoration: none;
  transition: border-color .18s, background-color .18s;
}
a.slot:hover { color: var(--fg); border-color: var(--accent); background: var(--surface-hover); }
.slot-cursor { font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--accent); width: 22px; }
.slot-num { font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.slot-body { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.slot-name { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.slot-desc { font-size: 15px; color: var(--fg2); }
.slot-desc strong { color: var(--fg); font-weight: 600; }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 28px; height: 28px; border-radius: 8px; }
.pill-cta {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em;
  padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--ink);
}
.slot.is-empty { padding-block: 24px; border-style: dashed; border-color: var(--line-dashed); background: transparent; color: var(--fg3); gap: 16px 32px; }
.slot.is-empty .slot-name { font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.slot.is-empty .slot-desc { font-size: 14px; color: var(--fg3); }

/* Recent */
.recent-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.recent {
  flex: 1 1 340px; max-width: 520px; display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--fg); text-decoration: none; transition: border-color .18s;
}
a.recent:hover { color: var(--fg); border-color: var(--accent); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-dashed); color: var(--fg2); }
.recent-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.recent-desc { font-size: 14px; line-height: 1.55; color: var(--fg2); }
.recent-meta { font-family: var(--mono); font-size: 12px; color: var(--fg3); }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 28px 40px; font-family: var(--mono); font-size: 12px; color: var(--fg3); line-height: 1.6;
}
