/* Las páginas por modo para buscadores (server/landing.js). Sin JavaScript y con los colores y
   las tipografías del juego, para que el salto de la página al juego no se note. */
:root {
  --bg: #0b0820;
  --bg-2: #130e31;
  --surface: #1c1644;
  --surface-3: #352a78;
  --ink: #f6f2ff;
  --faint: #b9b0e6;
  --coral: #ff3d5a;
  --coral-d: #b21e3a;
  --sun: #ffcc3d;
  --sky: #2fd6ff;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -200px, #2a1f6b 0%, transparent 70%), var(--bg);
  color: var(--ink);
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
h1, h2, .brand, .cta, summary, .steps b, .whys b { font-family: 'Fredoka', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif; font-weight: 600; }
a { color: var(--sky); }
.top, main, footer { width: min(980px, 100%); margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 6px; }
.brand { color: var(--sun); text-decoration: none; font-size: 1.35rem; line-height: 1; }
.brand small { display: block; color: var(--faint); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.lang { font-weight: 700; }
.hero { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; padding: 26px 0 8px; }
.hero-text { flex: 1 1 340px; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.05; margin: 0 0 14px; }
h2 { font-size: 1.6rem; margin: 40px 0 14px; color: var(--sun); }
.lead { font-size: 1.15rem; color: var(--ink); margin: 0 0 22px; }
.cta {
  display: inline-block; padding: 14px 26px; border-radius: 18px; text-decoration: none; font-size: 1.25rem;
  background: var(--coral); color: #fff; border: 3px solid #1a0a12; box-shadow: 0 6px 0 var(--coral-d);
}
.cta:hover, .cta:focus-visible { filter: brightness(1.08); }
.cta:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.note { color: var(--faint); font-size: 0.95rem; margin: 14px 0 0; }
.clip { flex: 0 1 260px; margin: 0 auto; text-align: center; }
.clip video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; border: 3px solid var(--surface-3); background: #000; display: block; }
.clip figcaption { color: var(--faint); font-size: 0.85rem; margin-top: 8px; }
.steps, .whys { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps { counter-reset: paso; }
.steps li, .whys li { background: var(--surface); border: 2px solid var(--surface-3); border-radius: 18px; padding: 16px; display: grid; gap: 4px; align-content: start; }
.steps li::before {
  counter-increment: paso; content: counter(paso);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: #2a1a00; font-family: 'Fredoka', sans-serif; font-weight: 600; margin-bottom: 4px;
}
.steps b, .whys b { font-size: 1.15rem; }
.steps span, .whys span { color: var(--faint); }
details { background: var(--surface); border: 2px solid var(--surface-3); border-radius: 16px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-size: 1.1rem; }
details p { margin: 10px 0 2px; color: var(--faint); }
.more { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.more a { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--surface-3); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; }
footer { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 34px; padding-bottom: 40px; color: var(--faint); font-size: 0.9rem; }
footer span { margin-left: auto; }

/* La guía «Cómo se juega» (server/guide-page.js) */
h3 { font-family: 'Fredoka', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif; font-weight: 600; font-size: 1.25rem; margin: 22px 0 10px; }
.toc { margin: 18px 0 0; }
.modes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.mode { background: var(--surface); border: 2px solid var(--surface-3); border-radius: 18px; padding: 18px; scroll-margin-top: 16px; display: flex; flex-direction: column; }
.mode h3 { margin: 0 0 4px; font-size: 1.4rem; color: var(--sun); }
.mode p { margin: 0 0 10px; }
.mode .who { color: var(--faint); font-size: 0.95rem; }
.mode ol { margin: 0 0 14px; padding-left: 1.3em; color: var(--faint); display: grid; gap: 6px; }
.mode .links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: auto 0 0; }
.mode .go { padding: 8px 16px; border-radius: 999px; background: var(--coral); color: #fff; text-decoration: none; font-weight: 700; border: 2px solid #1a0a12; }
.plain { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pairs li { background: var(--surface); border: 2px solid var(--surface-3); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; }
.pairs span { color: var(--faint); }

/* /artistas: el formulario para ofrecer una obra (server/artists-page.js) */
.notice { border-radius: 16px; padding: 14px 18px; font-weight: 700; border: 2px solid; }
.notice.ok { background: #12351f; border-color: #7ee04a; color: #d9ffc4; }
.notice.bad { background: #3a1220; border-color: var(--coral); color: #ffd6dd; }
.offer { display: grid; gap: 16px; background: var(--surface); border: 2px solid var(--surface-3); border-radius: 18px; padding: 20px; }
.offer label { display: grid; gap: 6px; font-weight: 700; }
.offer small { color: var(--faint); font-weight: 400; }
.offer input[type='text'], .offer input[type='url'], .offer textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--surface-3); background: var(--bg); color: var(--ink);
  font: inherit; font-weight: 400;
}
.offer input:focus-visible, .offer textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.offer fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.offer legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.offer .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.offer .check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--coral); }
.offer .consent { background: var(--bg-2); border-radius: 12px; padding: 14px; }
.offer .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offer button.cta { justify-self: start; cursor: pointer; font-family: 'Fredoka', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif; font-weight: 600; }
