/* DarkunderdoG shared styles: dark slate, a gold trim strip like the Intellivision console,
   Archivo set wide and heavy for titles. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"); }

:root {
  --bar: #0e1014;         /* header + footer */
  --choc: #171a20;        /* page background */
  --choc-2: #21252d;      /* raised surfaces */
  --gold: #c9a04e;
  --gold-lite: #ecd59c;
  --paper: #f2e8d0;       /* receipt only */
  --paper-ink: #2b2118;
  --red: #c4351f;
  --text: #eef0f4;
  --muted: #a7adba;
  --rule: rgba(201,160,78,.28);
  --display: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--choc);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
p + p { margin-top: .8em; }
a { color: var(--gold-lite); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-lite); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Wide heavy type, like the lettering on a Mattel Electronics box */
.wide { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; letter-spacing: -.01em; line-height: 1.02; }

/* ---- Header with the gold trim strip under it ---- */
.console { background: var(--bar); }
.console-in {
  max-width: 1180px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: 22px; color: var(--gold-lite); text-decoration: none; letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
}
.wordmark:hover { color: #fff; }
.console nav a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  margin-left: 22px; padding: 4px 0; border-bottom: 2px solid transparent;
}
.console nav a:hover, .console nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }
/* the gold strip that runs across the Intellivision console */
.trim {
  height: 10px;
  background: linear-gradient(180deg, #f3dc9c 0, #c9a04e 45%, #8a6a2c 100%);
  box-shadow: 0 1px 0 #1a100a, 0 3px 0 #6b4d22;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; cursor: pointer; border: 0; text-decoration: none; text-align: center;
  font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 750; font-size: 15px;
  color: #23170c; background: linear-gradient(180deg, #f0d896, #c9a04e);
  padding: 12px 18px; border-radius: 3px;
  box-shadow: 0 2px 0 #7a5a24;
}
.btn:hover { background: linear-gradient(180deg, #fae7b4, #d8b060); color: #23170c; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #7a5a24; }
.btn:disabled { background: #4b3a2c; color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 2px 0 #6e1c10; }
.btn.red:hover { background: #d8452c; }

/* ---- Shelf line under box art ---- */
.plank { height: 3px; background: var(--gold); opacity: .8; }

/* ---- Footer ---- */
.foot { margin-top: 80px; background: var(--bar); border-top: 3px solid var(--gold); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 26px 24px 34px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-in a { color: var(--gold-lite); }
