/* Night Shift: the game's own pages, dressed like the game. Night-blue warehouse, yellow sign-boards
   with hazard tape, Russo One for anything that shouts. Separate from the site's styles.css on purpose. */

:root {
  --bg: #0f1f2c;
  --panel: #132737;
  --grid: #1a3142;
  --rail: #7b90a2;
  --text: #dfe8ee;
  --dim: #a9b6c2;
  --accent: #f2b705;
  --accent-dark: #b98600;
  --ink: #1b232a;
  --display: "Russo One", "Arial Black", Impact, sans-serif;
  --sans: "Geist", -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }

.ns { width: min(980px, 100% - 32px); margin: 0 auto; }

/* top line */
.ns-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.ns-home { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 18px; text-decoration: none; }
.ns-home img { width: 32px; height: 32px; border-radius: 8px; }
.ns-top nav { display: flex; gap: 20px; font-size: 14px; color: var(--dim); }
.ns-top nav a { text-decoration: none; }
.ns-top nav a:hover { color: var(--accent); }

/* hero: the two-line title of the game, the tape, and a phone beside it */
.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
  padding: 36px 0 44px;
}
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 11vw, 108px); line-height: 0.95; text-transform: uppercase; }
.hero h1 span, .hero h1 b { display: block; font-weight: 400; }
.hero h1 b { color: var(--accent); }
.stripe {
  width: min(360px, 100%);
  height: 14px;
  margin: 22px 0 18px;
  border-radius: 7px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 12px, #15191e 12px 24px);
}
.tagline { margin: 0 0 14px; font-size: 20px; color: var(--dim); }
.lead { margin: 0 0 26px; max-width: 52ch; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.key {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  box-shadow: 0 5px 0 var(--accent-dark);
}
.plat { font-size: 14px; color: var(--dim); letter-spacing: 0.02em; }
.hero-shot img { width: 100%; border-radius: 28px; border: 3px solid var(--rail); }

/* the row of crates, as they stand on the warehouse floor */
.crates { width: 100%; margin: 0 0 44px; border-bottom: 3px solid var(--grid); }

/* sign-boards */
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 20px; }
.board { border: 3px solid var(--rail); border-radius: 18px; background: var(--panel); overflow: hidden; }
.board.wide, .shots { grid-column: 1 / -1; }
.board > h1, .board > h2 {
  margin: 0;
  padding: 14px 20px 26px;
  background:
    repeating-linear-gradient(-45deg, var(--accent) 0 10px, #15191e 10px 20px) bottom / 100% 10px no-repeat,
    var(--accent);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.board-body { padding: 22px 24px 24px; }
.board-body > :first-child { margin-top: 0; }
.board-body > :last-child { margin-bottom: 0; }
.board-body p { margin: 0 0 14px; }
.board-body a { color: var(--accent); text-underline-offset: 3px; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.rules li { color: var(--dim); }
.rules b { display: block; color: var(--text); font-family: var(--display); font-weight: 400; font-size: 17px; margin-bottom: 2px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shots img { width: 100%; border-radius: 22px; border: 3px solid var(--grid); }

/* the two legal pages: one long board */
.legal { grid-template-columns: 1fr; padding-top: 16px; }
.prose { max-width: 74ch; margin: 0 auto; }
.prose .meta { color: var(--dim); font-size: 14px; margin-bottom: 22px; }
.prose h2 { margin: 30px 0 10px; font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--accent); text-transform: uppercase; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--rail); }
.prose strong { font-weight: 600; }

.ns-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding: 26px 0 44px; font-size: 14px; color: var(--dim); }
.ns-foot a { text-underline-offset: 3px; }
.ns-foot a:hover { color: var(--accent); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .ns-top nav { gap: 14px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 20px 0 32px; }
  .hero-shot { width: min(260px, 70%); margin: 0 auto; }
  .boards { grid-template-columns: 1fr; gap: 18px; }
  .rules { grid-template-columns: 1fr; }
  .shots { gap: 8px; }
  .shots img { border-radius: 12px; border-width: 2px; }
  .crates { margin-bottom: 28px; }
  .board-body { padding: 18px 16px 20px; }
}
