/* Zombie Arena site. One look for the landing and the two text pages: the game's own lobby. */
:root {
  --blood: #c8100d;
  --hud: #ffb31f;
  --ink: #0a0506;
  --title: "SF Pro Display", "Helvetica Neue", "Arial Narrow", Impact, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: #fff; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: var(--hud); }
a:focus-visible, .soon:focus-visible { outline: 3px solid var(--hud); outline-offset: 3px; }

/* Landing: the lobby. */
.lobby { min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
.stage { position: fixed; inset: 0; overflow: hidden; }
.shot { position: absolute; inset: -4%; background-size: cover; background-position: center; will-change: transform, opacity; }
.shot.a { background-image: url(/hero_14.jpg); animation: drift 26s ease-in-out infinite alternate; }
.shot.b { background-image: url(/hero_24.jpg); animation: drift 26s ease-in-out infinite alternate-reverse, swap 18s ease-in-out infinite; opacity: 0; }
@keyframes drift { from { transform: scale(1) translate3d(-1.2%, 0, 0); } to { transform: scale(1.09) translate3d(1.2%, -1%, 0); } }
@keyframes swap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.shade { position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.9) 0%, rgba(0,0,0,.15) 34%, rgba(0,0,0,.1) 52%, rgba(0,0,0,.93) 100%); }

.page { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: max(44px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom)); }
h1 { margin: 0; font-family: var(--title); font-weight: 900; font-stretch: 75%; line-height: .92;
  font-size: clamp(64px, 11.5vw, 150px); letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(0,0,0,.9), 0 0 34px rgba(200,16,13,.55); }
h1 .a { color: var(--blood); }
.tag { margin: 14px 0 0; font-family: var(--mono); font-weight: 800; font-size: clamp(10px, 1.3vw, 14px); letter-spacing: .42em;
  color: rgba(255,255,255,.85); text-shadow: 0 0 6px #000; }
.mid { flex: 1 1 auto; min-height: 34vh; }
.play { display: block; width: min(340px, 100%); padding: 16px 0; border-radius: 14px; background: var(--blood); color: #fff; text-decoration: none;
  font-family: var(--title); font-weight: 900; font-stretch: 75%; font-size: 40px; letter-spacing: .28em; text-indent: .28em;
  border: 1.5px solid rgba(255,255,255,.35); animation: pulse 1.3s ease-in-out infinite alternate; }
.play:hover { background: #e01512; }
@keyframes pulse { from { box-shadow: 0 0 12px rgba(200,16,13,.45); } to { box-shadow: 0 0 34px rgba(200,16,13,.95); } }
.soon { margin: 12px 0 0; height: 0; overflow: hidden; opacity: 0; font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: .2em;
  color: var(--hud); text-transform: uppercase; transition: opacity .25s ease; }
.soon.on, .soon:target { height: auto; opacity: 1; }
.chips { list-style: none; display: flex; gap: 8px; margin: 18px 0 0; padding: 0; }
.chips li { width: 108px; padding: 8px 0 7px; border-radius: 10px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.2); }
.chips strong { display: block; font-family: var(--mono); font-size: 16px; color: var(--hud); }
.chips span { display: block; font-family: var(--mono); font-weight: 800; font-size: 8px; letter-spacing: .16em; color: rgba(255,255,255,.65); }
.help { max-width: 560px; margin: 16px 0 0; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.6); }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 18px; font-family: var(--mono); font-size: 11px; }
.foot a { color: rgba(255,255,255,.8); padding: 8px 2px; }
.foot span { color: rgba(255,255,255,.45); padding: 8px 2px; }

@media (max-width: 620px) {
  h1 { font-size: clamp(56px, 21vw, 112px); }
  h1 .z, h1 .a { display: block; }
  .tag { letter-spacing: .26em; }
  .play { font-size: 34px; }
  .chips li { width: 31vw; max-width: 108px; }
}
@media (max-height: 520px) {
  h1 { font-size: 60px; }
  .mid { min-height: 12vh; }
  .help { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shot, .play { animation: none; }
  .shot.b { display: none; }
}

/* Text pages. */
.doc { max-width: 720px; margin: 0 auto; padding: 36px 20px 60px; }
.doc header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.doc header img { width: 48px; height: 48px; border-radius: 11px; }
.doc header a { font-family: var(--title); font-weight: 900; font-stretch: 75%; font-size: 26px; letter-spacing: .1em; color: #fff; text-decoration: none; }
.doc header a span { color: var(--blood); }
.doc h1 { font-size: 40px; letter-spacing: .04em; text-shadow: none; text-align: left; }
.doc h2 { margin: 28px 0 6px; font-size: 18px; color: var(--hud); }
.doc p, .doc li { color: rgba(255,255,255,.85); }
.doc .card { margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.doc nav { display: flex; gap: 18px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.doc footer { margin-top: 14px; color: rgba(255,255,255,.45); font-size: 13px; }
