/* MU Masters — estilo de la web. Paleta de la marca: oro, carmesí, negro y gema azul. Solo oscuro (es la marca). */
@font-face {
  font-family: "MU Serif";
  src: url("/fuentes/notoserif-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --negro: #07060a;
  --carbon: #110c10;
  --panel: #171015;
  --oro: #d9a441;
  --oro-claro: #f3d58a;
  --oro-oscuro: #8a6424;
  --carmesi: #8f1722;
  --carmesi-vivo: #c8283a;
  --gema: #4f9dff;
  --texto: #efe6d6;
  --suave: #b9ab95;
  --serif: "MU Serif", "Noto Serif", Georgia, "Times New Roman", serif;
  --cuerpo: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--negro); color: var(--texto);
  font: 400 1.0625rem/1.6 var(--cuerpo);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oro-claro); text-underline-offset: 3px; }
a:hover { color: #fff3cf; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
h2 {
  text-wrap: balance;
  font-size: clamp(1.6rem, 4.6vw, 2.5rem); margin: 0 0 .6rem; text-align: center;
  background: linear-gradient(180deg, #fff1c4, var(--oro) 70%, #c08a30);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro { max-width: 46rem; margin: 0 auto 2rem; text-align: center; color: var(--suave); padding: 0 16px; }
.sep { width: min(640px, 88vw); margin: 0 auto 2.2rem; opacity: .95; }
:focus-visible { outline: 2px solid var(--gema); outline-offset: 3px; border-radius: 4px; }

/* ---------- barra ---------- */
.barra {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(7, 6, 10, .85), rgba(7, 6, 10, 0));
}
.legal .barra { position: static; background: var(--carbon); border-bottom: 1px solid rgba(217, 164, 65, .25); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--oro-claro); font: 700 1.1rem var(--serif); }
.marca img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(217, 164, 65, .5); }
.barra nav { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; font-size: .95rem; }
.barra nav a { color: var(--texto); text-decoration: none; padding: 6px 2px; }
.barra nav a:hover { color: var(--oro-claro); }
.barra .idioma { color: var(--oro-claro); border: 1px solid rgba(217, 164, 65, .45); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 560px) {
  .marca span { display: none; }
  .barra nav a[href^="#"] { display: none; }
}

/* ---------- portada ---------- */
.portada {
  position: relative; min-height: min(100svh, 980px); display: grid; place-items: center;
  padding: 88px 16px 64px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(7, 6, 10, .25), rgba(7, 6, 10, .78) 70%),
    linear-gradient(180deg, rgba(7, 6, 10, .35), rgba(7, 6, 10, .2) 40%, var(--negro) 98%),
    url("/img/fondo.webp?v=69cc7193") center 30% / cover no-repeat;
}
@media (max-width: 800px) {
  .portada {
    background:
      radial-gradient(ellipse at 50% 45%, rgba(7, 6, 10, .3), rgba(7, 6, 10, .82) 75%),
      linear-gradient(180deg, rgba(7, 6, 10, .4), rgba(7, 6, 10, .2) 40%, var(--negro) 98%),
      url("/img/fondo-800.webp?v=58083389") 46% 30% / cover no-repeat;
  }
}
#chispas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.portada-txt { text-align: center; max-width: 760px; }
.portada .logo { margin: 0 auto; width: min(520px, 80vw); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.lema {
  margin: .3rem 0 .3rem; font: 700 clamp(.82rem, 2.4vw, 1rem) var(--cuerpo); color: var(--oro-claro);
  letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 2px 10px #000;
}
@media (max-width: 420px) { .lema { font-size: .74rem; letter-spacing: .08em; } }
.portada h1 {
  margin: 0 auto .6rem; max-width: 34rem; font-size: clamp(1.45rem, 4.4vw, 2.2rem); color: #fff4dc;
  text-wrap: balance; text-shadow: 0 2px 14px #000, 0 0 2px #000;
}
.gancho { margin: 0 auto 1.1rem; max-width: 36rem; color: var(--texto); text-shadow: 0 2px 10px #000; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 1.6rem; padding: 0; }
.chips li {
  padding: 5px 14px; border-radius: 999px; font-size: .92rem;
  background: rgba(17, 12, 16, .72); border: 1px solid rgba(217, 164, 65, .45); color: var(--oro-claro);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* botón «Próximamente en Google Play» (sin enlace todavía: no se puede pulsar) */
.boton-play {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0;
  padding: 10px 28px 12px; border-radius: 12px; cursor: default; user-select: none;
  background: linear-gradient(180deg, #b02533, var(--carmesi) 55%, #5d0d16);
  border: 1px solid var(--oro); color: #fff4d6;
  box-shadow: 0 0 0 3px rgba(7, 6, 10, .8), 0 0 0 4px rgba(217, 164, 65, .6), 0 12px 30px rgba(143, 23, 34, .45),
    inset 0 1px 0 rgba(255, 230, 170, .45);
}
.boton-play .b-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oro-claro); }
.boton-play .b-txt { font: 700 1.12rem var(--serif); }
.ctas { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.boton-aviso {
  display: inline-block; padding: 7px 18px; border-radius: 999px; font-size: .95rem; text-decoration: none;
  color: var(--oro-claro); border: 1px solid rgba(217, 164, 65, .55); background: rgba(17, 12, 16, .7);
}
.boton-aviso:hover { color: #fff3cf; border-color: var(--oro); }
.boton {
  display: inline-block; padding: 8px 20px; border-radius: 10px; text-decoration: none;
  border: 1px solid var(--oro); color: var(--oro-claro); background: var(--panel); margin: 4px;
}

section { padding: 72px 0 24px; }

/* ---------- la mano ---------- */
.mano-cartas {
  position: relative; height: clamp(300px, 52vw, 470px); max-width: 980px; margin: 0 auto;
  touch-action: pan-y;
}
.carta {
  position: absolute; left: 50%; top: 10px; width: clamp(150px, 26vw, 250px); margin-left: calc(clamp(150px, 26vw, 250px) / -2);
  transform-origin: 50% 100%; will-change: transform; border-radius: 6%;
  container-type: inline-size;
}
.carta img { width: 100%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .65)); pointer-events: none; }
.c-clave, .c-texto { position: absolute; left: 14%; right: 14%; text-align: center; pointer-events: none; }
.c-clave {
  top: 56.2%; font: 700 7.2cqi/1 var(--serif); color: #fff1c4; text-shadow: 0 1px 2px #000, 0 0 8px rgba(0, 0, 0, .8);
  transform: translateY(-50%);
}
.c-texto { top: 66%; bottom: 13%; display: grid; place-items: center; font: 600 5.6cqi/1.3 var(--cuerpo); color: #f4ead8; text-shadow: 0 1px 2px #000; }
.brillo {
  position: absolute; inset: 0; border-radius: 6%; pointer-events: none; opacity: 0; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(255, 240, 200, .38), rgba(255, 240, 200, 0) 55%);
  mix-blend-mode: screen;
}
.ayuda { text-align: center; color: var(--suave); font-size: .9rem; margin: .4rem 0 0; }
@media (hover: none) { .ayuda { visibility: hidden; } }
@media (max-width: 560px) { .carta.solo-ancho { display: none; } }
.ayuda-movil { display: none; text-align: center; color: var(--suave); font-size: .9rem; margin: .2rem 0 0; }
@media (max-width: 560px) { .ayuda-movil { display: block; } }

/* ---------- así se juega ---------- */
.pasos {
  list-style: none; counter-reset: paso; margin: 0 auto 2rem; padding: 0 16px; max-width: 1000px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.pasos li { counter-increment: paso; position: relative; padding: 16px 16px 14px 62px; border-radius: 12px;
  background: linear-gradient(180deg, #1b1218, #120c10); border: 1px solid rgba(217, 164, 65, .28); }
.pasos li::before {
  content: counter(paso); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.1rem var(--serif); color: #fff4dc;
  background: radial-gradient(circle at 35% 30%, #7fb8ff, #2a5fd0 60%, #142a66); box-shadow: 0 0 0 2px var(--oro), 0 0 14px rgba(79, 157, 255, .45);
}
.pasos h3 { margin: 0 0 .2rem; color: var(--oro-claro); font-size: 1.08rem; }
.pasos p { margin: 0; color: var(--suave); font-size: .95rem; }
@media (max-width: 760px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- héroes ---------- */
.heroes-fila {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 1200px; margin: 0 auto; padding: 0 16px;
}
.heroe { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--panel);
  box-shadow: 0 0 0 1px rgba(217, 164, 65, .35), 0 16px 30px rgba(0, 0, 0, .55); }
.heroe img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; }
.heroe figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 8px 10px; text-align: center;
  font: 700 1rem var(--serif); color: var(--oro-claro);
  background: linear-gradient(180deg, rgba(7, 6, 10, 0), rgba(7, 6, 10, .92) 65%);
}
@media (max-width: 1000px) { .heroes-fila { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .heroes-fila { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 10px; }
  .heroe { flex: 0 0 62%; scroll-snap-align: center; }
}

/* ---------- rasgos ---------- */
.rasgos-lista {
  list-style: none; margin: 0 auto; padding: 0 16px; max-width: 1100px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.rasgos-lista li {
  position: relative; padding: 22px 22px 18px; border-radius: 12px;
  background: linear-gradient(180deg, #1b1218, #120c10);
  border: 1px solid rgba(217, 164, 65, .28);
}
.rasgos-lista li::before {
  content: ""; position: absolute; left: -6px; top: -6px; width: 64px; height: 64px;
  background: url("/img/esquina.webp?v=fdf5b322") 0 0 / contain no-repeat; pointer-events: none;
}
.rasgos-lista h3 { margin: 0 0 .35rem; color: var(--oro-claro); font-size: 1.15rem; }
.rasgos-lista p { margin: 0; color: var(--suave); }
.claves-t { text-align: center; margin: 2.6rem 0 1rem; color: var(--oro-claro); font-size: 1.2rem; }
.claves { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; margin: 0 auto; max-width: 900px; }
.claves li { padding: 4px 12px; border-radius: 6px; background: #1d0d12; border: 1px solid rgba(200, 40, 58, .55); color: #ffd9d9; font-size: .95rem; }

/* ---------- capturas ---------- */
.tira { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 12px; max-width: 1200px; margin: 0 auto; }
.tira { cursor: grab; scrollbar-width: thin; scrollbar-color: var(--oro-oscuro) transparent; }
.tira.agarrada { cursor: grabbing; user-select: none; }
.tira img { -webkit-user-drag: none; }
.jugar .ayuda { visibility: visible; }
.tira figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.tira img { height: min(64vh, 520px); width: auto; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(217, 164, 65, .4), 0 14px 30px rgba(0, 0, 0, .6); }
.tira figcaption { margin-top: .6rem; color: var(--oro-claro); font: 700 .95rem var(--serif); max-width: 290px; margin-inline: auto; }

/* ---------- preguntas ---------- */
.faq-lista { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.faq details { border-bottom: 1px solid rgba(217, 164, 65, .22); }
.faq summary { cursor: pointer; padding: 14px 4px; font: 700 1.05rem var(--serif); color: var(--oro-claro); list-style-position: inside; }
.faq details p { margin: 0 4px 16px; color: var(--suave); }

/* ---------- prensa ---------- */
.datos { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.datos dt { color: var(--oro-claro); font-weight: 700; }
.datos dd { margin: 0; }
.descargas { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.descargas a { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.descargas img { border-radius: 12px; }
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.rejilla img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(217, 164, 65, .35); }

/* ---------- final y pie ---------- */
.final { text-align: center; padding: 80px 16px 40px;
  background: radial-gradient(ellipse at 50% 60%, rgba(143, 23, 34, .35), rgba(7, 6, 10, 0) 65%); }
.final .icono { width: 110px; margin: 0 auto 1rem; border-radius: 24px; box-shadow: 0 0 0 2px var(--oro), 0 0 40px rgba(79, 157, 255, .25); }
.final p { color: var(--suave); margin: 0 0 1.6rem; }
.pie { text-align: center; padding: 40px 16px 48px; color: var(--suave); font-size: .92rem; }
.pie .sep { margin-bottom: 1.2rem; width: min(420px, 80vw); }
.pie p { margin: .3rem 0; }

/* ---------- páginas de texto (privacidad, 404) ---------- */
.texto { max-width: 46rem; margin: 0 auto; padding: 40px 16px 24px; }
.texto h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--oro-claro); margin: 0 0 .3rem; }
.texto h2 { text-align: left; font-size: 1.35rem; margin: 2rem 0 .5rem; }
.texto .vigencia { color: var(--suave); margin: 0 0 1.6rem; }
.texto li { margin: .35rem 0; }
.texto code { color: var(--oro-claro); font-size: .95em; }
.resumen { padding: 4px 20px 8px; border-radius: 12px; border: 1px solid rgba(79, 157, 255, .45); background: #0e1220; }
.resumen h2 { margin-top: 1rem; }
.e404 { text-align: center; padding: 60px 16px; }
.e404 img { width: min(360px, 80vw); margin: 0 auto 1rem; }
