/*
 * The pages around the games. Same palette and same typeface as the games
 * themselves, so the site and the thing it hosts look like one piece of work.
 *
 * One stylesheet for the whole site rather than styles inside each page,
 * because the site will grow more pages than it has games.
 */

:root {
  --ink: #07070c;
  --ink2: #10101a;
  --line: #2a2a3c;
  --line2: #3d3d55;
  --white: #d7d7d7;
  --bright: #ffffff;
  --dim: #8a8aa4;
  --dimmer: #6a6a80;
  --cyan: #00d7d7;
  --cyanb: #00ffff;
  --yellow: #d7d700;
  --yellowb: #ffff00;
  --greenb: #00ff00;
  --font: 'Consolas', 'DejaVu Sans Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 780px;
  padding: 28px 22px 70px;
}

a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid var(--line2); }
a:hover { color: var(--cyanb); border-bottom-color: var(--cyanb); }

/* ---- Masthead ------------------------------------------------------------ */

.masthead { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.masthead svg { width: 34px; height: 44px; flex: 0 0 auto; }
.masthead a { border: 0; }

h1 {
  margin: 0;
  font-size: clamp(26px, 6vw, 40px);
  letter-spacing: 4px;
  color: var(--yellowb);
  line-height: 1.15;
}

.tagline { color: var(--cyanb); margin: 0 0 34px; letter-spacing: 1px; }

h2 {
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: normal;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin: 44px 0 14px;
}

h3 { font-size: 19px; letter-spacing: 1px; color: var(--yellowb); margin: 0 0 2px; }

p { margin: 0 0 16px; }
ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 8px; }
strong { color: var(--bright); font-weight: normal; }
em { color: var(--cyanb); font-style: normal; }

/* ---- The play button, the one thing that must be obvious ----------------- */

.play {
  display: inline-block;
  border: 2px solid var(--yellowb);
  background: #14140a;
  color: var(--yellowb);
  font-size: 20px;
  letter-spacing: 3px;
  padding: 14px 32px;
  margin: 6px 0 10px;
}
.play:hover { background: var(--yellowb); color: #000; border-color: var(--yellowb); }

/* ---- A game in the list -------------------------------------------------- */

.game {
  display: block;
  border: 2px solid var(--line2);
  background: #0c0c16;
  padding: 16px 18px;
  margin-bottom: 14px;
  color: var(--white);
}
.game:hover { border-color: var(--cyanb); color: var(--white); }
.game .blurb { color: var(--dim); font-size: 15px; }
.game .go { color: var(--cyanb); font-size: 14px; letter-spacing: 1px; }

.soon {
  border: 2px dashed var(--line);
  padding: 16px 18px;
  color: var(--dim);
  font-size: 15px;
}
.soon .lead { color: var(--white); }

/* ---- Keys table ---------------------------------------------------------- */

table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 16px; }
th, td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--cyan); font-weight: normal; letter-spacing: 1px; }
td:first-child { color: var(--yellowb); white-space: nowrap; padding-right: 20px; }

/* ---- Footer -------------------------------------------------------------- */

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--dimmer);
  font-size: 13px;
  line-height: 1.8;
}
footer a { color: var(--dim); border-bottom-color: var(--line2); }
footer a:hover { color: var(--cyanb); }
