@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/pixelify-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/pixelify-sans-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Silkscreen";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/silkscreen-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Silkscreen";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/silkscreen-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"VT323";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/vt323-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"VT323";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/vt323-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.spr-colosseum{--w:120}
.spr-cursor{--w:8}
.spr-dusk{--w:4}
.spr-ground{--w:128}
.spr-icon-astro{--w:16}
.spr-icon-helm{--w:16}
.spr-icon-ship{--w:16}
.spr-moon{--w:14}
.spr-planet-mars{--w:34}
.spr-planet-ringed{--w:114}
.spr-ship{--w:50}
.spr-sky{--w:4}
.spr-stars-far{--w:64}
.spr-stars-near{--w:96}
.spr-stars-twinkle{--w:128}
.spr-sun{--w:52}
/* StarDrifter Games — pixel art.
   Paleta fija de 16 colores (Sweetie-16). Todo el arte se agranda con múltiplos enteros (--s = un píxel lógico).
   El build antepone las @font-face y una variable --w por sprite (.spr-*), y agrega el acento de cada juego (.g-<slug>). */

:root {
  --ink: #1a1c2c;
  --plum: #5d275d;
  --red: #b13e53;
  --orange: #ef7d57;
  --yellow: #ffcd75;
  --lime: #a7f070;
  --green: #38b764;
  --teal: #257179;
  --navy: #29366f;
  --blue: #3b5dc9;
  --sky: #41a6f6;
  --cyan: #73eff7;
  --white: #f4f4f4;
  --silver: #94b0c2;
  --slate: #566c86;
  --dark: #333c57;

  --accent: var(--cyan);
  --accent-ink: var(--ink);
  --s: 2px; /* píxel lógico: las escenas lo suben a 3 o 4 */

  --font: "Pixelify Sans", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --label: "Silkscreen", "Pixelify Sans", ui-monospace, monospace;
  --mono: "VT323", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* esquina recortada de un píxel de 4 px, para botones y etiquetas */
  --notch: polygon(
    0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
    100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
    4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
  );
}

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

html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  font: 400 18px/1.55 var(--font);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
}

/* Campo de estrellas fijo, detrás de todo (no hereda image-rendering: las capturas no lo necesitan). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url(/assets/pixel/stars-near.png), url(/assets/pixel/stars-far.png);
  background-size: 384px 384px, 256px 256px;
  image-rendering: pixelated;
  opacity: 0.75;
}

main { flex: 1; }
strong, b { font-weight: 600; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--white); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.muted { color: var(--silver); }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 60; padding: 10px 16px; background: var(--yellow); color: var(--ink); font: 16px var(--label); }

/* ── Sprites ───────────────────────────────────────────────────────────────────────── */

.px {
  display: block;
  width: calc(var(--w) * var(--s));
  height: auto;
  max-width: none;
  image-rendering: pixelated;
}

/* ── Cajas de píxel ────────────────────────────────────────────────────────────────── */
/* Borde interior (--in) y exterior (--out) hechos con sombras desplazadas: las esquinas quedan recortadas. */

.box,
.portrait,
.facts,
.note,
.game-cover,
.release,
.shots li {
  --bg: var(--dark);
  --in: var(--slate);
  --out: var(--ink);
  position: relative;
  background: var(--bg);
  box-shadow:
    0 -4px 0 0 var(--in), 0 4px 0 0 var(--in), -4px 0 0 0 var(--in), 4px 0 0 0 var(--in),
    0 -8px 0 0 var(--out), 0 8px 0 0 var(--out), -8px 0 0 0 var(--out), 8px 0 0 0 var(--out);
}

/* ── Botones ───────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 12px;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1 var(--label);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: var(--notch);
  box-shadow: inset 0 -4px 0 0 rgba(26, 28, 44, 0.3), inset 0 4px 0 0 rgba(255, 255, 255, 0.55);
}
.btn:hover { background: var(--accent); color: var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 4px 0 0 rgba(26, 28, 44, 0.3); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 8px var(--yellow); }
.btn--primary { background: var(--accent); }
.btn--primary:hover { background: var(--white); }

/* ── Cabecera ──────────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 4px solid var(--dark);
}
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 12px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--white);
  font: 600 22px/1 var(--font);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand b { color: var(--accent); font-weight: 600; }
.brand:hover { color: var(--white); }

.nav { display: flex; gap: 4px; }
.nav a,
.menu-link,
.crumb a {
  position: relative;
  color: var(--silver);
  text-decoration: none;
}
.nav a { padding: 10px 12px 8px 30px; font: 16px/1 var(--label); letter-spacing: 0.06em; text-transform: uppercase; }
/* la flecha de selección aparece al apuntar, como en un menú de juego */
.nav a::before,
.menu-link::before,
.crumb a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 16px;
  height: 18px;
  margin-top: -9px;
  background: url(/assets/pixel/cursor.png) no-repeat center / 100% 100%;
  image-rendering: pixelated;
  opacity: 0;
}
.nav a:hover,
.nav a:focus-visible { color: var(--white); }
.nav a:hover::before,
.nav a:focus-visible::before,
.menu-link:hover::before,
.menu-link:focus-visible::before,
.crumb a:hover::before,
.crumb a:focus-visible::before { opacity: 1; }

/* botón de red: solo el logo (el nombre queda para lectores de pantalla y en el title) */
.social { display: flex; padding: 6px; background: var(--dark); clip-path: var(--notch); }
.social .px { --s: 2px; }
.social-logo { display: block; width: 22px; height: 22px; }
.social:hover { background: var(--slate); }
.social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lang { display: flex; gap: 8px; }
.lang a {
  padding: 8px 12px 6px;
  background: var(--dark);
  color: var(--silver);
  font: 16px/1 var(--label);
  text-decoration: none;
  clip-path: var(--notch);
}
.lang a:hover { color: var(--white); background: var(--slate); }
.lang a[aria-current] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 640px) {
  .nav { order: 3; width: 100%; justify-content: space-between; }
  .nav a { padding: 10px 6px 8px; white-space: nowrap; }
  .nav a::before { display: none; }
}

/* ── Etiquetas y textos de apoyo ───────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 12px;
  color: var(--silver);
  font: 16px/1 var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 20px;
  font: 600 clamp(38px, 6vw, 64px)/1.05 var(--font);
  letter-spacing: 0.01em;
  text-shadow: 4px 4px 0 var(--navy);
  text-wrap: balance;
}
h2 {
  margin: 0;
  font: 600 clamp(28px, 4vw, 40px)/1 var(--font);
  letter-spacing: 0.03em;
  text-shadow: 4px 4px 0 var(--navy);
  text-transform: uppercase;
}
.lead { max-width: 40ch; margin: 0 0 24px; color: var(--white); font-size: 22px; text-wrap: pretty; }

.ver {
  display: inline-block;
  margin: 2px;
  padding: 4px 8px 2px;
  background: var(--ink);
  color: var(--accent);
  font: 20px/1 var(--mono);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 -2px 0 var(--slate), 0 2px 0 var(--slate), -2px 0 0 var(--slate), 2px 0 0 var(--slate);
}
a.ver:hover { background: var(--accent); color: var(--ink); }
.date { color: var(--silver); font: 20px/1 var(--mono); white-space: nowrap; }
.sum { min-width: 0; color: var(--white); }
.lang-tag {
  padding: 5px 7px 3px;
  background: var(--plum);
  color: var(--white);
  font: 14px/1 var(--label);
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chip {
  padding: 6px 10px 4px;
  background: var(--dark);
  color: var(--silver);
  font: 20px/1 var(--mono);
  box-shadow: 0 -2px 0 var(--slate), 0 2px 0 var(--slate), -2px 0 0 var(--slate), 2px 0 0 var(--slate);
}
.chip--status { background: var(--accent); color: var(--accent-ink); box-shadow: none; clip-path: var(--notch); }

/* ── Portada: el logo en el espacio ────────────────────────────────────────────────── */
/* La portada baja del espacio a Roma: héroe y primer juego entre las estrellas del fondo;
   después de la franja del horizonte (.horizon) todo va sobre fondo liso (.land). */

.hero {
  --s: 4px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(620px, calc(100svh - 68px), 860px);
}
.hero-art { position: absolute; inset: 0; z-index: -1; }
.layer { position: absolute; inset: 0; background-repeat: repeat; image-rendering: pixelated; }
.stars-twinkle {
  background-image: url(/assets/pixel/stars-twinkle.png);
  background-size: calc(var(--s) * 128) calc(var(--s) * 128);
  animation: twinkle 2.8s steps(1) infinite;
}
@keyframes twinkle { 0% { opacity: 1; } 50% { opacity: 0.2; } }

.planet { position: absolute; right: calc(var(--s) * 8); top: calc(var(--s) * 10); }
.moon { position: absolute; left: calc(var(--s) * 30); top: calc(var(--s) * 34); }
.ship-lane { position: absolute; left: 0; top: 64%; animation: fly 52s linear infinite; animation-delay: -30s; }
.ship-bob { animation: bob 2.4s steps(1) infinite; }
@keyframes fly { from { transform: translateX(-100%); } to { transform: translateX(100vw); } }
@keyframes bob { 50% { transform: translateY(calc(var(--s) * -1)); } }

.hero-content { display: flex; flex-direction: column; align-items: center; padding-block: 48px 80px; }
.hero-logo { margin: 0 0 44px; line-height: 0; }
.hero-logo img { display: block; width: clamp(210px, 21vw, 290px); height: auto; }
.hero-dialog { width: calc(100% - 16px); max-width: 640px; }

/* Caja de diálogo estilo RPG */
.dialog { --bg: var(--navy); --in: var(--white); padding: 34px 28px 24px; margin-left: 8px; }
.nameplate {
  position: absolute;
  left: 20px;
  top: -30px;
  margin: 0;
  padding: 8px 14px 6px;
  background: var(--white);
  color: var(--ink);
  font: 16px/1 var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--notch);
}
.hero-dialog .lead { margin: 0 0 22px; max-width: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.more {
  position: absolute;
  right: 20px;
  bottom: 14px;
  width: 24px;
  height: 27px;
  background: url(/assets/pixel/cursor.png) no-repeat center / 100% 100%;
  image-rendering: pixelated;
  transform: rotate(90deg);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1100px) { .hero { --s: 3px; } }
@media (max-width: 960px) { .hero { --s: 2px; } }
@media (max-width: 720px) {
  .moon { display: none; }
  .planet { right: calc(var(--s) * -34); top: calc(var(--s) * 4); }
  .hero-content { padding-block: calc(var(--s) * 56) 72px; }
  .hero-logo { margin-bottom: 36px; }
  .dialog { padding: 32px 18px 22px; }
}

/* ── Horizonte: del espacio a la arena ─────────────────────────────────────────────── */

.horizon {
  --s: 4px;
  position: relative;
  height: calc(var(--s) * 104);
  margin-top: 24px;
  overflow: hidden;
  background: url(/assets/pixel/dusk.png) repeat-x left bottom / calc(var(--s) * 4) calc(var(--s) * 140);
  image-rendering: pixelated;
}
@media (max-width: 1100px) { .horizon { --s: 3px; } }
@media (max-width: 720px) { .horizon { --s: 2px; } }
.horizon .sun { position: absolute; left: calc(50% + var(--s) * 6); bottom: calc(var(--s) * 20); }
.horizon .colosseum { position: absolute; left: calc(50% - var(--s) * 60); bottom: calc(var(--s) * 12); }
.ground {
  inset: auto 0 0;
  height: calc(var(--s) * 40);
  background-image: url(/assets/pixel/ground.png);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: calc(var(--s) * 128) calc(var(--s) * 40);
}
/* en tierra: fondo liso, sin estrellas (y la última sección estira hasta el pie en pantallas altas) */
.land { background: var(--ink); }
.home main { display: flex; flex-direction: column; }
.home .about { flex: 1; }

/* ── Secciones ─────────────────────────────────────────────────────────────────────── */

.section { padding-block: 72px; scroll-margin-top: 84px; }
.section--tight { padding-block: 32px; }
.section-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
  margin-bottom: 40px;
  padding-bottom: 18px;
}
.section-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--slate) 0 12px, transparent 12px 20px);
}
.section-head p { margin: 0; }
.after { margin: 32px 0 0; }

/* ── Juegos: una vitrina por juego ─────────────────────────────────────────────────── */

.games { padding-top: 32px; scroll-margin-top: 72px; }
.games .section-head { margin-bottom: 0; }
.showcase { padding-block: 64px 72px; }
.land .showcase { padding-block: 72px 88px; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.showcase--flip .showcase-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.showcase--flip .showcase-media { order: 2; }

/* marco de píxel con el acento del juego y una sombra dura desplazada */
.showcase-media {
  --in: var(--accent);
  display: block;
  margin: 8px 24px 24px 8px;
  background: var(--ink);
  box-shadow:
    0 -4px 0 0 var(--in), 0 4px 0 0 var(--in), -4px 0 0 0 var(--in), 4px 0 0 0 var(--in),
    0 -8px 0 0 var(--ink), 0 8px 0 0 var(--ink), -8px 0 0 0 var(--ink), 8px 0 0 0 var(--ink),
    16px 16px 0 4px var(--navy);
}
.land .showcase-media { box-shadow:
    0 -4px 0 0 var(--in), 0 4px 0 0 var(--in), -4px 0 0 0 var(--in), 4px 0 0 0 var(--in),
    0 -8px 0 0 var(--ink), 0 8px 0 0 var(--ink), -8px 0 0 0 var(--ink), 8px 0 0 0 var(--ink),
    16px 16px 0 4px var(--plum); }
.showcase-media img { display: block; width: 100%; height: auto; }
.showcase-media:hover { --in: var(--white); }

.showcase-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--silver);
  font: 16px/1 var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase-kicker .num { padding: 6px 8px 3px; background: var(--accent); color: var(--accent-ink); font: 24px/1 var(--mono); letter-spacing: 0; clip-path: var(--notch); }
.showcase-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  font: 600 clamp(36px, 4.4vw, 54px)/1.05 var(--font);
  text-shadow: 4px 4px 0 var(--navy);
}
.land .showcase-title { text-shadow: 4px 4px 0 var(--plum); }
.showcase-title .px { --s: 4px; flex: none; }
.showcase-title a { color: var(--white); text-decoration: none; }
.showcase-title a:hover { color: var(--accent); }
.showcase-tagline { margin: 0 0 14px; color: var(--accent); font-size: 23px; line-height: 1.35; text-wrap: balance; }
.showcase-blurb { max-width: 46ch; margin: 0 0 24px; color: var(--silver); font-size: 19px; text-wrap: pretty; }
.showcase .chips { margin-bottom: 30px; }

@media (max-width: 860px) {
  .showcase-grid,
  .showcase--flip .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase--flip .showcase-media { order: 0; }
  .showcase { padding-block: 48px 56px; }
  .land .showcase { padding-block: 56px 64px; }
}
@media (max-width: 560px) {
  .showcase-title .px { --s: 3px; }
}

/* ── Sobre mí ──────────────────────────────────────────────────────────────────────── */

.about { padding-bottom: 24px; }
.about-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; max-width: 880px; margin: 8px; padding: 44px 32px 30px; align-items: start; }
.portrait { --bg: var(--blue); --in: var(--white); display: grid; place-items: center; width: 128px; height: 128px; }
.portrait .px { --s: 6px; }
.about-text p:not(.nameplate) { max-width: 60ch; margin: 0 0 14px; color: var(--white); font-size: 20px; }
.about-text p.about-links-label { margin: 26px 0 8px; color: var(--silver); font: 15px/1 var(--label); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 560px) {
  .about-box { grid-template-columns: 1fr; }
}
.menu { display: flex; flex-wrap: wrap; gap: 4px 32px; margin: 0; padding: 0; list-style: none; }
.menu-link { display: inline-block; padding: 6px 0 6px 32px; color: var(--white); font: 600 22px/1.2 var(--font); }
.menu-link::before { left: 0; }
.menu-link:hover { color: var(--accent); }
/* ── Página de un juego ────────────────────────────────────────────────────────────── */

.game-head { padding-top: 32px; }
.crumb { margin: 0 0 28px; }
.crumb a { display: inline-block; padding: 6px 0 4px 32px; font: 16px/1 var(--label); letter-spacing: 0.06em; text-transform: uppercase; }
.crumb a::before { left: 0; transform: scaleX(-1); }
.crumb a:hover { color: var(--white); }
.game-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-bottom: 40px; }
.game-hero h1 { color: var(--accent); text-shadow: 4px 4px 0 var(--ink), 8px 8px 0 var(--navy); }
.game-hero .chips { margin: 4px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.game-cover { --bg: var(--ink); --in: var(--accent); margin: 8px; }
.game-cover img { display: block; width: 100%; height: auto; }
.game-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; padding-block: 40px; }
@media (max-width: 860px) {
  .game-hero, .game-main { grid-template-columns: 1fr; gap: 40px; }
}
.game-text section + section { margin-top: 48px; }
.game-text h2, .game-side h2, .section--tight > h2 { margin-bottom: 24px; font-size: 30px; }
.prose p { max-width: 60ch; margin: 0 0 16px; font-size: 20px; text-wrap: pretty; }
.features { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.features li { position: relative; padding-left: 34px; font-size: 19px; }
.features li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 12px; background: var(--accent); box-shadow: 4px 4px 0 var(--navy); }

.facts { margin: 8px; padding: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 18px 12px; }
.facts > div + div { border-top: 4px solid var(--ink); }
.facts dt { color: var(--silver); font: 14px/1.4 var(--label); letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 0; text-align: right; font-size: 19px; }

.shots { margin: 0; padding: 0; list-style: none; }
.shots--wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 28px; padding: 8px; }
.shots--wide li { --bg: var(--ink); aspect-ratio: 16 / 9; }
.shots--wide li:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.shots--wide li:hover { --in: var(--accent); }
.shots--wide a, .shots--wide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.shots--wide img { object-fit: cover; }
@media (max-width: 700px) {
  .shots--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .shots--wide li:first-child { grid-row: auto; aspect-ratio: 16 / 9; }
}
.shots--tall {
  display: flex;
  gap: 28px;
  margin-inline: calc(-1 * clamp(16px, 4vw, 32px));
  padding: 14px clamp(24px, 4vw, 40px) 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--slate) var(--ink);
}
.shots--tall li { --bg: var(--ink); flex: none; width: clamp(180px, 22vw, 240px); scroll-snap-align: start; }
.shots--tall img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }

/* ── Changelog ─────────────────────────────────────────────────────────────────────── */

.log-head { padding-top: 32px; padding-bottom: 24px; }
.log-head .lead { max-width: 56ch; margin-bottom: 20px; font-size: 20px; }
.note { max-width: 74ch; margin: 8px 8px 20px; padding: 14px 18px 12px; --bg: var(--navy); --in: var(--blue); color: var(--white); font-size: 17px; }
.releases { display: flex; flex-direction: column; gap: 26px; padding: 8px; }
.releases--log { padding-bottom: 80px; }
.release { scroll-margin-top: 100px; }
.release[open] { --in: var(--accent); }
.release:target { --in: var(--yellow); }
.release-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: 8px 18px;
  align-items: center;
  padding: 16px 22px 14px;
}
.release--static { --bg: var(--ink); }
.release--static .release-row { grid-template-columns: auto auto minmax(0, 1fr); }
.release--static .sum { color: var(--silver); }
summary.release-row { cursor: pointer; list-style: none; }
summary.release-row::-webkit-details-marker { display: none; }
summary.release-row::after {
  content: "";
  grid-column: -2 / -1;
  width: 16px;
  height: 18px;
  background: url(/assets/pixel/cursor.png) no-repeat center / 100% 100%;
  image-rendering: pixelated;
}
details[open] > summary.release-row::after { transform: rotate(90deg); }
summary.release-row:hover { background: var(--navy); }
.release-row .sum { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details[open] > summary .sum { display: none; }
@media (max-width: 640px) {
  .release-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .release-row .sum { grid-column: 1 / -1; white-space: normal; }
  .release--static .release-row { grid-template-columns: auto minmax(0, 1fr); }
}
.release-body { padding: 4px 28px 26px; border-top: 4px solid var(--ink); }
.rel-section { margin-top: 8px; }
.rel-label {
  display: inline-block;
  margin: 18px 0 10px;
  padding: 7px 12px 5px;
  background: var(--dot, var(--silver));
  color: var(--ink);
  font: 15px/1 var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: var(--notch);
}
.kind-added { --dot: var(--lime); }
.kind-changed { --dot: var(--sky); }
.kind-fixed { --dot: var(--yellow); }
.kind-removed { --dot: var(--orange); }
.release-body p { margin: 10px 0; }
.release-body ul { margin: 6px 0; padding: 0; list-style: none; }
.release-body ol { margin: 6px 0; padding-left: 28px; }
.release-body li { position: relative; margin: 8px 0; padding-left: 24px; }
.release-body ol li { padding-left: 0; }
.release-body ul > li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; background: var(--accent); }
.release-body li li::before { background: transparent; box-shadow: inset 0 0 0 2px var(--silver); }
.release-body li > p { margin: 6px 0; }
.release-body strong { color: var(--accent); font-weight: 600; }
.release-body code { padding: 0 6px; background: var(--ink); color: var(--yellow); font: 20px var(--mono); }

/* ── Pie ───────────────────────────────────────────────────────────────────────────── */

.site-footer { margin-top: auto; background: var(--ink); color: var(--silver); }
.ground-strip {
  --s: 4px;
  height: calc(var(--s) * 28);
  margin-top: 56px;
  background: url(/assets/pixel/ground.png) repeat-x left bottom / calc(var(--s) * 128) calc(var(--s) * 40);
  image-rendering: pixelated;
}
@media (max-width: 1100px) { .ground-strip { --s: 3px; } }
@media (max-width: 720px) { .ground-strip { --s: 2px; } }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 8px 32px; font: 16px/1.2 var(--label); letter-spacing: 0.04em; text-transform: uppercase; }
.foot p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-emblem { width: 40px; height: auto; }
/* en la portada ya se llegó a tierra: el pie no repite las colinas */
.home .ground-strip { display: none; }
.home .site-footer { border-top: 4px solid var(--dark); padding-top: 24px; }
.foot-links { display: flex; gap: 22px; }
.foot a { color: var(--silver); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }

/* ── 404 ───────────────────────────────────────────────────────────────────────────── */

.lost { padding-block: 72px 40px; }
.lost-planet { --s: 6px; margin-bottom: 28px; }
.big404 { margin: 0; color: var(--red); font: 600 clamp(72px, 16vw, 168px)/1 var(--font); text-shadow: 8px 8px 0 var(--ink), 12px 12px 0 var(--plum); }

/* ── Movimiento reducido ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars-twinkle, .ship-lane, .ship-bob, .more { animation: none; }
  .ship-lane { left: 6%; }
}

.g-the-pilot{--accent:#73eff7;--accent-ink:#1a1c2c}
.g-city-of-gladiators{--accent:#ffcd75;--accent-ink:#1a1c2c}
