/* The "How to play" pages (public/how-to-play/, fr/comment-jouer/, es/como-jugar/): plain, fast HTML in the game's look. */
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(/fonts/lilita-one.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(/fonts/nunito-700.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/fonts/nunito-800.woff2) format("woff2"); }

:root {
  --bg: #070B18; --panel: #10172C; --panel-2: #182246; --line: rgba(160, 175, 230, .18);
  --ink: #F2F5FC; --muted: #A1ACD0; --amber: #FFB547; --amber-2: #FFD27F; --amber-deep: #B8760E; --red: #FF8A8A;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0; font: 700 17px/1.6 Nunito, system-ui, sans-serif; color: var(--ink);
  background: radial-gradient(900px 500px at 80% -10%, #16224A, transparent 70%), var(--bg);
}
a { color: var(--amber-2); }
img { max-width: 100%; height: auto; }

.top { max-width: 880px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 26px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span, h1 span { color: var(--amber); }
.langs { display: flex; gap: 6px; }
.langs a { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 800; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.langs a[aria-current="page"] { color: var(--bg); background: var(--amber); box-shadow: none; }

main { max-width: 880px; margin: 0 auto; padding: 8px 16px 40px; }
.hero { padding: 24px 0 8px; }
.eyebrow { margin: 0 0 8px; color: var(--amber); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 7vw, 60px); }
h2 { font-size: clamp(28px, 4.5vw, 36px); margin: 44px 0 12px; }
h3 { font-size: 22px; margin-bottom: 4px; }
p { margin: 0 0 12px; }
.lede { margin-top: 14px; font-size: 19px; color: #DCE3F7; max-width: 62ch; }
.cta {
  display: inline-block; margin: 10px 0 6px; padding: 14px 28px; border-radius: 16px; text-decoration: none;
  font-family: var(--display); font-size: 22px; color: #2A1A00; background: linear-gradient(180deg, var(--amber-2), var(--amber));
  box-shadow: 0 5px 0 var(--amber-deep), 0 14px 30px rgba(0, 0, 0, .4);
}
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--amber-deep); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.facts li { padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.shot { display: block; margin: 28px 0 0; border-radius: 20px; box-shadow: 0 20px 50px -20px #000, inset 0 0 0 1px var(--line); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li, .card, .modes li, details { padding: 16px 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.steps p, .card p, .modes p { margin: 0; color: #CBD3EE; }

.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.card { display: grid; grid-template-columns: 72px 1fr; gap: 4px 14px; align-items: center; }
.card img { grid-row: span 3; width: 72px; height: 108px; }
.card h3 { color: var(--c); }
.card .tip { font-size: 14.5px; color: var(--muted); }

.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
details { margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; font-size: 18px; }
details p { margin: 10px 0 0; color: #CBD3EE; }
.end { margin-top: 44px; text-align: center; }

footer { max-width: 880px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; display: flex; gap: 8px 18px; flex-wrap: wrap; border-top: 1px solid var(--line); }
footer a { color: var(--muted); }
