/* SamuLogic: sin tarjetas ni esquinas redondeadas.
   La estructura la dan la tipografía, el espacio y las imágenes a sangre.
   Cada juego habla su propio idioma visual (ver bloques .theme-*). */

@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jersey 10"; src: url("fonts/Jersey10.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Luckiest Guy"; src: url("fonts/LuckiestGuy.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("fonts/Rajdhani-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0e0e10;
  --text: #ececf0;
  --muted: #9a9aa8;
  --soft: #c9c9d2;
  --line: #26262d;
  --accent: #ff7a45;
  --accent-ink: #1a0d06;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Chakra Petch", Inter, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
/* Distancia del contenido al borde de la pantalla: para que las imágenes salgan a sangre */
:root { --edge: calc((min(100vw - 2 * var(--gutter), var(--wrap)) - 100vw) / 2); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 10; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabecera y pie */
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; gap: clamp(12px, 3vw, 28px); font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.site-nav a { text-decoration: none; color: var(--muted); padding: 14px 0; }
.site-nav a:hover { color: var(--text); }

.site-footer { margin-top: clamp(96px, 14vw, 180px); padding: 0 0 48px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

/* Botones: rectos. Cada juego los reinterpreta. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 700 .85rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 0; background: none; color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--text); }
.button.ghost { color: var(--text); padding-inline: 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.button[aria-disabled="true"] { opacity: .6; pointer-events: none; }

.tag { display: inline-block; font: 700 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tag.soon { color: var(--accent); }
.kicker { font: 700 .75rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* Nombre del estudio */
.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: 0; color: var(--text); }
.wordmark i { font-style: normal; color: #ff7a45; }
.brand .wordmark { font-size: 1.3rem; }

/* ---------- Portada ---------- */
.featured {
  --accent: #ffc21a; --accent-ink: #2a1a00;
  display: grid; align-items: center; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  padding: clamp(24px, 5vw, 56px) 0 clamp(72px, 10vw, 128px);
}
.featured-copy { min-width: 0; }
.featured-logo { width: 100%; max-width: 480px; image-rendering: pixelated; margin: 18px 0 14px; }
.featured .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.platforms-line { margin-top: 18px; font: 700 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.featured-art { display: block; background: #2b9fe0; aspect-ratio: 4 / 3; overflow: hidden; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; image-rendering: pixelated; transition: transform .5s ease; }
.featured-art:hover img { transform: scale(1.03); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font: 700 clamp(2.4rem, 7vw, 5.5rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.section-head p { font: 700 .75rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* Juegos: índice. El nombre manda; la imagen es una miniatura al lado */
.games { display: flex; flex-direction: column; }
.game-card {
  display: grid; align-items: center; gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) clamp(200px, 26vw, 300px);
  padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line);
  text-decoration: none;
}
.game-card:last-child { border-bottom: 1px solid var(--line); }
.game-card .cover { order: 2; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; background: var(--card-bg); }
.game-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .cover img { transform: scale(1.05); }
.game-card .body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px clamp(20px, 3vw, 40px); align-items: center; }
.game-card h3 { grid-column: 1; grid-row: 1 / span 3; align-self: end; font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0; color: var(--text); transition: color .2s ease; }
.game-card .tag { grid-column: 1; grid-row: 4; align-self: start; margin-top: 8px; }
.game-card:hover h3 { color: var(--card-accent); }
.game-card p { grid-column: 2; color: var(--soft); margin: 0; max-width: 40ch; }
.game-card p.genre { grid-row: 1; font: 700 .75rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--card-accent); }
.game-card .body > p:not(.genre):not(.platforms) { grid-row: 2; }
.game-card .platforms { grid-row: 3; margin-top: 8px; font: 700 .72rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.game-card .platforms strong { color: var(--text); }

.card-dd { --card-accent: #ffc21a; --card-bg: #2b9fe0; }
.card-dd .cover { background: linear-gradient(#2aa3e6 0 46%, #5bb945 46% 52%, #6b3a22 52% 78%, #4a2716 78%); }
.card-dd .cover img { width: 76%; height: auto; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
.card-dd h3 { font-family: "Jersey 10", var(--display); font-weight: 400; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: 0; }
.card-ou { --card-accent: #4fd1c5; --card-bg: #071214; }
.card-ou h3 { font-family: "IBM Plex Mono", monospace; font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; }
.card-htr { --card-accent: #f3cf6b; --card-bg: #0f1d2b; }
.card-htr h3 { font-family: "Luckiest Guy", var(--display); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.card-scav { --card-accent: #9fc36b; --card-bg: #101713; }
.card-scav h3 { font-family: "Rajdhani", var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }

.about { margin-top: clamp(96px, 14vw, 180px); }
.about h2 { font-size: clamp(3rem, 12vw, 9rem); line-height: .9; margin: 0 0 16px; }
.about p { font: 700 .8rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.about p.about-text { font: inherit; font-size: clamp(1.05rem, 1.8vw, 1.25rem); letter-spacing: normal; text-transform: none; color: var(--soft); max-width: 62ch; margin-top: 24px; }

/* ---------- Páginas de juego (base común) ---------- */
.game-hero {
  display: grid; align-items: center; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  padding: clamp(24px, 5vw, 56px) 0 clamp(72px, 10vw, 120px);
}
.game-hero > div { min-width: 0; }
.game-hero .logo { width: 100%; max-width: 440px; margin: 14px 0 10px; }
.game-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; margin: 14px 0 18px; }
.game-hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--soft); max-width: 42ch; }
.game-hero .visual { overflow: hidden; }
.game-hero .visual img { width: 100%; max-height: 640px; object-fit: cover; }
.store-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.store-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.emblem { width: 56px; height: auto; margin-bottom: 18px; display: block; }

.about-game { max-width: 860px; margin: 0 0 clamp(72px, 10vw, 128px); }
.about-game h2 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--game-accent, var(--text)); }
.about-game > p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--soft); max-width: 62ch; }

#como-title, .future h2 { font: 700 .8rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.features { display: grid; gap: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--game-accent, var(--text)); margin-bottom: 12px; }
.feature p { color: var(--soft); margin: 0; }
.feature ul { margin: 0; padding: 0; list-style: none; color: var(--soft); }
.feature li { padding-left: 1.4em; position: relative; }
.feature li::before { content: "—"; position: absolute; left: 0; color: var(--game-accent); }
.feature li + li { margin-top: .7em; }
.section-lead { color: var(--soft); max-width: 62ch; font-size: 1.1rem; margin-bottom: 40px; }
.fine-print { color: var(--muted); font-size: .88rem; margin-top: 48px; max-width: 70ch; }
.future { margin-top: clamp(96px, 12vw, 160px); }

/* ---------- Dig Deeper: píxel y capas de tierra ---------- */
.theme-dd { --accent: #ffc21a; --accent-ink: #2a1a00; --game-accent: #ffc21a; --pixel: "Jersey 10", var(--display); }
.theme-dd .game-hero .logo, .theme-dd .game-hero .visual img { image-rendering: pixelated; }
.theme-dd .game-hero .visual { background: #2b9fe0; }
.theme-dd .game-hero .visual img { height: 640px; object-position: top; }
.theme-dd .tag, .theme-dd .kicker { font-family: var(--pixel); font-weight: 400; letter-spacing: .08em; font-size: 1.1rem; }
.theme-dd .about-game h2 { font-family: var(--pixel); font-weight: 400; letter-spacing: 0; line-height: 1; font-size: clamp(2.4rem, 6vw, 4.4rem); }
/* Botón de juego: bisel pixelado */
.theme-dd .button { font-family: var(--pixel); font-weight: 400; letter-spacing: .04em; font-size: 1.3rem; text-transform: none; }
.theme-dd .button.primary { box-shadow: inset -4px -4px 0 #c78a00, inset 4px 4px 0 #ffe17a; }
.theme-dd .button.primary:hover { transform: none; box-shadow: inset -4px -4px 0 #c78a00, inset 4px 4px 0 #ffe17a, 4px 4px 0 #000; }
/* La Jefa habla en bocadillo de cómic */
.story { display: grid; gap: 20px; align-items: end; grid-template-columns: 112px 1fr; margin-top: 48px; }
.story img { width: 112px; image-rendering: pixelated; }
.story p {
  position: relative; margin: 0 0 24px; max-width: 60ch;
  background: #f4ecd8; color: #1d140c; padding: 18px 22px;
  box-shadow: 0 0 0 3px #1d140c, 6px 6px 0 3px #000;
  font-size: 1.02rem;
}
.story p::before { content: ""; position: absolute; left: -15px; bottom: 16px; width: 12px; height: 12px; background: #f4ecd8; box-shadow: -3px 0 0 #1d140c, 0 3px 0 #1d140c; }
@media (max-width: 560px) { .story { grid-template-columns: 1fr; } .story p::before { display: none; } }
/* Características: bajada por las capas, a sangre */
.theme-dd .features { display: block; width: 100vw; margin-left: var(--edge); }
.theme-dd .feature { padding: clamp(40px, 7vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: grid; gap: 8px 48px; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.theme-dd .feature .kicker { grid-column: 1; color: rgba(255,255,255,.7); }
.theme-dd .feature h3 { grid-column: 1; font-family: var(--pixel); font-weight: 400; letter-spacing: 0; line-height: 1; color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.theme-dd .feature p { grid-column: 2; grid-row: 1 / span 2; color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 52ch; }
.theme-dd .feature:nth-child(1) { background: #6b3a22; }
.theme-dd .feature:nth-child(2) { background: #4b4b55; }
.theme-dd .feature:nth-child(3) { background: #2f3f78; }
.theme-dd .feature:nth-child(4) { background: #8a2a12; }
.theme-dd .feature:nth-child(4) .kicker { color: #ffc21a; }
@media (max-width: 720px) { .theme-dd .feature { grid-template-columns: 1fr; } .theme-dd .feature p { grid-column: 1; grid-row: auto; } }
.theme-dd #como-title { font-family: var(--pixel); font-weight: 400; letter-spacing: .08em; font-size: 1.2rem; }

/* ---------- Objective: Undefined: terminal de laboratorio ---------- */
.theme-ou { --accent: #4fd1c5; --accent-ink: #041413; --game-accent: #4fd1c5; --mono: "IBM Plex Mono", ui-monospace, monospace; }
.theme-ou .tag, .theme-ou .kicker, .theme-ou #como-title { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; }
.theme-ou .tag::before { content: "> "; color: var(--accent); }
.theme-ou .game-hero h1 { font-family: var(--mono); font-weight: 500; letter-spacing: -.04em; font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1; }
.theme-ou .button { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.theme-ou .button.primary { background: none; color: var(--accent); padding: 0; }
.theme-ou .button.primary::before { content: "["; margin-right: .6em; }
.theme-ou .button.primary::after { content: "]"; margin-left: .6em; }
/* Esquinas de visor sobre la imagen, sin marco */
.theme-ou .game-hero .visual { position: relative; }
.theme-ou .game-hero .visual::before, .theme-ou .game-hero .visual::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--accent); z-index: 1; }
.theme-ou .game-hero .visual::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.theme-ou .game-hero .visual::after { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.theme-ou .game-hero .visual img { height: 640px; }
.theme-ou .about-game h2 { font-family: var(--mono); font-weight: 500; letter-spacing: -.03em; }
.theme-ou .features { counter-reset: reg; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.theme-ou .feature { counter-increment: reg; }
.theme-ou .feature h3 { font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0; font-size: 1.05rem; }
.theme-ou .feature h3::before { content: "[0" counter(reg) "] "; color: var(--muted); }
.theme-ou .feature li::before { content: ">"; font-family: var(--mono); }
.theme-htr .feature p { color: #c9d3dc; }
.theme-ou .fine-print { font-family: var(--mono); font-size: .8rem; }


/* ---------- Hold the Roof: noche, luna y radio ---------- */
.theme-htr { --accent: #f3cf6b; --accent-ink: #1b1406; --game-accent: #f3cf6b; --night: #10202e; --cartoon: "Luckiest Guy", var(--display); }
.theme-htr .game-hero .logo { max-width: 460px; }
.theme-htr .game-hero .visual { background: var(--night); }
.theme-htr .game-hero .visual img { height: 640px; object-position: center 40%; }
.theme-htr .about-game h2, .theme-htr .feature h3 { font-family: var(--cartoon); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; line-height: 1; }
.theme-htr .about-game h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.theme-htr .button { font-family: var(--cartoon); font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; }
.theme-htr .button.primary { box-shadow: 0 5px 0 #a8792a; }
.theme-htr .button.primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #a8792a; }
/* Transmisión de Radio Faro: texto en verde de radio sobre negro */
.radio { margin-top: 48px; max-width: 64ch; padding-left: 22px; border-left: 3px solid #7fd08a; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .95rem; }
.radio p { color: #b9e7bf; margin: 0 0 12px; }
.radio p.you { color: var(--soft); }
.radio b { font-weight: 500; color: #7fd08a; }
.radio p.you b { color: var(--muted); }
.radio-head { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #7fd08a !important; }
.radio-head::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #e0443a; margin-right: 10px; animation: rec 1.4s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0; } }
/* Características: bajo el cielo de noche */
.theme-htr .features { position: relative; width: 100vw; margin-left: var(--edge); background: var(--night); padding: clamp(56px, 8vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); overflow: hidden; }
.theme-htr .features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.theme-htr .feature .kicker { color: #7fd08a; }
.theme-htr .feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Scavhold: Rajdhani, cortes en diagonal ---------- */
.theme-scav { --accent: #9fc36b; --accent-ink: #0d1408; --game-accent: #9fc36b; --cond: "Rajdhani", var(--display); --cut: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.theme-scav .tag, .theme-scav .kicker, .theme-scav #como-title, .theme-scav .future h2 { font-family: var(--cond); font-weight: 600; letter-spacing: .18em; font-size: .85rem; }
.theme-scav .tagline { font: 600 clamp(1.4rem, 3vw, 2rem)/1.05 var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--game-accent); margin: 0 0 14px; }
.theme-scav .game-hero .logo { max-width: 400px; }
.theme-scav .game-hero .visual { margin-right: 0; clip-path: var(--cut); }
.theme-scav .game-hero .visual img { height: 640px; object-position: center 30%; }
.theme-scav .button { font-family: var(--cond); font-weight: 600; font-size: 1rem; letter-spacing: .14em; }
.theme-scav .button.primary { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.theme-scav .button.primary:hover { box-shadow: none; transform: translateY(-2px); }
.theme-scav .about-game h2, .theme-scav .feature h3 { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.theme-scav .about-game h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: .95; }
.theme-scav .feature h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1; }
.theme-scav .feature .kicker { color: var(--game-accent); }
/* El ciclo, como una frase grande */
.loop { list-style: none; padding: 0; margin: clamp(72px, 10vw, 120px) 0 12px; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: baseline; counter-reset: paso; font: 600 clamp(1.3rem, 3vw, 2.5rem)/1 var(--cond); text-transform: uppercase; white-space: nowrap; }
.loop li { counter-increment: paso; display: inline-flex; align-items: baseline; }
.loop li::before { content: "0" counter(paso); font-size: .32em; letter-spacing: .1em; color: var(--game-accent); margin-right: .25em; transform: translateY(-1.2em); }
.loop li:not(:last-child)::after { content: "/"; color: var(--line); margin-left: .5em; }
@media (max-width: 720px) { .loop { flex-direction: column; gap: 10px; font-size: 2rem; } .loop li:not(:last-child)::after { display: none; } }
.loop-title { font: 600 clamp(1rem, 2vw, 1.25rem)/1.2 var(--cond); text-transform: uppercase; letter-spacing: .16em; color: var(--game-accent); }

/* ---------- Legal y 404 ---------- */
.prose { max-width: 72ch; padding-top: 56px; }
.prose h1 { font: 700 clamp(2.2rem, 6vw, 3.6rem)/1 var(--display); text-transform: uppercase; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.not-found { padding: 120px 0 40px; }
.not-found h1 { font: 700 clamp(4rem, 16vw, 10rem)/.9 var(--display); color: var(--accent); }

/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  .featured, .game-hero { grid-template-columns: 1fr; }
  .theme-dd .game-hero .visual img, .theme-ou .game-hero .visual img, .theme-htr .game-hero .visual img, .theme-scav .game-hero .visual img { height: auto; max-height: 520px; }
  .game-card { grid-template-columns: 1fr; }
  .game-card .cover { order: 0; }
  .game-card .body { grid-template-columns: 1fr; }
  .game-card h3, .game-card .tag, .game-card p, .game-card p.genre, .game-card .body > p:not(.genre):not(.platforms), .game-card .platforms { grid-column: 1; grid-row: auto; }
  .game-card .tag { order: -1; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
