/* Night-shift palette from the game: jungle dark, floodlight amber, warning red. */
:root {
  --night: #08110d;
  --canopy: #12211a;
  --moss: #1c3226;
  --line: #2a4334;
  --bone: #ece5d0;
  --dim: #93a59b;
  --amber: #f0a73a;
  --on-amber: #1a1004;
  --blood: #d9442e;
  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --body: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--night); color: var(--bone); }
body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
  padding: 24px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left));
  background:
    radial-gradient(ellipse 90% 50% at 80% 0%, rgba(240, 167, 58, .14), transparent 70%),
    var(--night);
  min-height: 100vh;
}
main { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
a { color: var(--amber); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand span { font-family: var(--display); font-size: 20px; letter-spacing: .02em; }
.brand b { color: var(--amber); font-weight: 400; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 8vw, 44px); }
h2 { font-size: 22px; }
p { margin: 0; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.dim { color: var(--dim); }
.card {
  background: var(--canopy);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.hint { font-size: 20px; }
.hint b { color: var(--amber); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border-radius: 10px;
  font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--bone); color: var(--bone); background: transparent;
}
.btn.primary { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px;
  background: var(--moss); border-radius: 10px; padding: 12px; word-break: break-all; user-select: all;
}
ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.stamp {
  align-self: flex-start; font-family: var(--display); color: var(--blood);
  border: 3px solid var(--blood); border-radius: 6px; padding: 2px 10px; transform: rotate(-4deg);
}
footer { max-width: 620px; margin: 28px auto 0; font-size: 15px; color: var(--dim); display: flex; gap: 18px; flex-wrap: wrap; }
.prose h2 { margin-top: 10px; }
.prose p, .prose li { color: var(--bone); }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* trailer: a still with a play button until pressed, then the YouTube player */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video button { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; position: relative; }
.video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--amber); box-shadow: 0 6px 24px rgba(0, 0, 0, .55); transition: transform .15s;
}
.video .play::after {
  content: ""; position: absolute; left: 31px; top: 23px;
  border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--on-amber);
}
.video button:hover .play, .video button:focus-visible .play { transform: scale(1.08); }
.video button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
