/* =========================================================
   WEXLIAN — Sistema de diseño editorial
   "Modern Digital Game Lab"
   HTML + CSS + JS mínimo. Sin frameworks.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color: fondo cálido claro / gris frío muy claro */
  --bg: #FAFAF8;
  --bg-alt: #F1F1F4;
  --bg-card: #FFFFFF;
  --border: #E3E3E8;
  --border-strong: #CFCFD8;

  /* Texto */
  --text: #17171B;
  --text-muted: #52525B;
  --text-soft: #7A7A85;

  /* Acentos (uso reducido) */
  --violet: #6D28D9;
  --violet-soft: #F1EBFD;
  --cyan: #0891B2;
  --cyan-soft: #E5F6F8;
  --mint: #16A34A;
  --mint-soft: #E9F7EE;

  /* Tipografía */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 25, 0.05);
  --shadow: 0 4px 16px rgba(20, 20, 25, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Foco visible ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilidades de layout ---------- */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .wrap { padding-inline: 32px; }
}

.section { padding-block: 56px; }
@media (min-width: 1024px) { .section { padding-block: 88px; } }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--violet);
  display: inline-block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); }
p + p { margin-top: 14px; }

.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 54ch;
}

.prose h2 { margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; color: var(--text); }
.prose p { max-width: 72ch; }
.prose ul, .prose ol { max-width: 72ch; padding-left: 1.3em; color: var(--text-muted); }
.prose li { margin-bottom: 0.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--violet); text-decoration-thickness: 1.5px; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover { background: #000; }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--text); }
.btn-ghost {
  background: transparent;
  color: var(--violet);
  padding-inline: 4px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--violet); color: var(--violet); }
.link-arrow svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-block: 16px;
}
.logo {
  order: 1;
  position: relative;
  z-index: 95;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.logo span { color: var(--violet); }

.main-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--violet);
}

.header-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (min-width: 861px) {
  .main-nav { margin-left: auto; }
  .mobile-contact { display: none; }
}

/* Menú móvil: casillero real, sin JS necesario para abrir/cerrar */
.nav-check {
  order: 4;
  display: none;
}

@media (max-width: 860px) {
  .nav-check {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 95;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
  }
  .nav-check::before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 15px;
    height: 2px;
    background: var(--text);
    box-shadow: 0 7px 0 var(--text), 0 14px 0 var(--text);
  }
  .nav-check:checked::before {
    top: 19px;
    background: transparent;
    box-shadow: none;
  }
  .nav-check:checked::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 19px;
    height: 2px;
    background: var(--text);
  }

  .main-nav {
    /* Posicionado respecto al viewport. No usamos "bottom" porque el header
       tiene position:sticky, que actuaria como contenedor de referencia y
       rompería el cálculo de alto si combináramos top+bottom. Con una altura
       fija en unidades de viewport evitamos ese problema. */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 84px 20px 32px;
    gap: 4px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 90;
  }
  .main-nav a {
    width: 100%;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .header-actions .btn-outline { display: none; }
  .main-nav .mobile-contact { display: block; margin-top: 10px; border-bottom: none; }

  .nav-check:checked ~ .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 48px 40px;
}
@media (min-width: 1024px) { .hero { padding-block: 76px 56px; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
}

.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--violet-soft) 0%, var(--cyan-soft) 55%, var(--mint-soft) 100%);
  aspect-ratio: 4 / 3.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Franja informativa ---------- */
.info-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.info-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.info-item {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px) {
  .info-item { border-left: 1px solid var(--border); border-top: none; }
  .info-item:nth-child(1) { border-left: none; }
}
@media (min-width: 1080px) {
  .info-item:nth-child(3) { border-left: 1px solid var(--border); }
}
.info-num {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--violet);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 10px;
}
.info-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.info-item p { font-size: 0.92rem; }

/* ---------- Grid de juegos ---------- */
.games-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.game-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.game-rank {
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.game-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.game-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 8px;
}

.game-card h3 { font-size: 1.35rem; }
.game-card .desc { font-size: 0.94rem; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-alt);
}

.rating-block { margin-top: auto; }
.rating-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-num {
  font-weight: 800;
  font-size: 1.05rem;
}
.rating-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--border);
}
.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 999px;
}

.verdict {
  font-size: 0.9rem;
  color: var(--text);
  font-style: normal;
  border-left: 3px solid var(--mint);
  padding-left: 12px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- Comparativa ---------- */
.compare-table-wrap { display: none; }

.compare-table {
  min-width: 760px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--bg-alt);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  font-weight: 700;
}
.compare-table tbody th {
  font-weight: 700;
  color: var(--text);
  background: var(--bg-card);
  white-space: nowrap;
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }

.compare-cards {
  display: grid;
  gap: 16px;
}
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.compare-card h3 { margin-bottom: 12px; }
.compare-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
}
.compare-card dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  white-space: nowrap;
}
.compare-card dd { font-size: 0.92rem; color: var(--text); }

/* Este bloque va DESPUÉS de las reglas base de .compare-table-wrap y
   .compare-cards a propósito: como comparten la misma especificidad,
   el orden en la hoja de estilos decide qué gana en el breakpoint. */
@media (min-width: 900px) {
  .compare-table-wrap { display: block; overflow-x: auto; }
  .compare-cards { display: none; }
}

/* ---------- Recomendaciones ---------- */
.reco-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .reco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.reco-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.reco-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--violet); }
.reco-card p { font-size: 0.93rem; }
.reco-card a { display: inline-block; margin-top: 12px; }

/* ---------- Metodología / puntuación ---------- */
.score-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.score-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--bg-card);
}
.score-item h4 { margin-bottom: 6px; }
.score-item p { font-size: 0.88rem; }

.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet);
  background: var(--bg-card);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  max-width: 72ch;
}

.disclaimer-box {
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  max-width: 76ch;
}
.disclaimer-box p { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 78ch; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.faq-item[open] summary .icon::before { content: "–"; }
.faq-item summary .icon::before { content: "+"; }
.faq-item p { padding-bottom: 18px; font-size: 0.94rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding-top: 24px;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--violet); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border-strong); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Página de detalle de juego ---------- */
.game-hero {
  padding-block: 32px 40px;
  border-bottom: 1px solid var(--border);
}
.game-hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}
.game-hero-icon {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 14px;
  flex-shrink: 0;
}
.game-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
@media (min-width: 960px) {
  .detail-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

.fact-list { display: grid; gap: 14px; }
.fact-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--bg-card);
}
.fact-item dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.fact-item dd { font-weight: 600; color: var(--text); font-size: 0.95rem; }

.pros-cons {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .pros-cons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.pros, .cons {
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid var(--border);
}
.pros { background: var(--mint-soft); }
.cons { background: var(--bg-alt); }
.pros h3, .cons h3 { font-size: 1rem; margin-bottom: 10px; }
.pros li, .cons li {
  position: relative;
  padding-left: 1.3em;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 8px;
}
.pros li:last-child, .cons li:last-child { margin-bottom: 0; }
.pros li::before, .cons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.pros li::before { background: var(--mint); }
.cons li::before { background: var(--text-soft); }

.side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-card);
  margin-bottom: 20px;
}
.side-card h3 { font-size: 1rem; margin-bottom: 12px; }

.score-bars { display: grid; gap: 12px; }
.score-bar-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.score-bar-label { font-size: 0.86rem; font-weight: 600; }
.score-bar-value { font-size: 0.86rem; font-weight: 800; text-align: right; }
.score-bar-track {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
}
.score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan)); }

.related-games { display: grid; gap: 12px; }
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}
.related-link:hover { border-color: var(--violet); color: var(--violet); }

/* ---------- Formularios / contacto ---------- */
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 26px;
  max-width: 560px;
}
.contact-card h2 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact-method:first-of-type { border-top: none; }
.contact-method .ci {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-block: 48px 28px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 42ch; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--violet); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.footer-note {
  max-width: 76ch;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 18px;
}

/* ---------- Página genérica (legal, etc.) ---------- */
.page-hero {
  padding-block: 36px 8px;
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 12px; }

.updated-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 10px;
}

/* ---------- Genre color variants ---------- */
.cat-rpg { color: var(--violet); background: var(--violet-soft); }
.cat-strategy { color: var(--cyan); background: var(--cyan-soft); }
.cat-adventure { color: var(--mint); background: var(--mint-soft); }
