/* minicluck — parent arcade. Same night-ocean base, egg-yolk accent. */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/bigshouldersdisplay-800.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibmplexmono-400.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibmplexmono-500.woff2) format("woff2");
}

:root {
  --ink: #0b1b26;
  --ink-2: #0f2431;
  --line: rgba(205, 224, 231, 0.14);
  --cream: #ede6d4;
  --fog: #9fb0b5;
  --yolk: #ffc933;
  --orange: #ff5a1f;
  --blue: #86b9cd;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--yolk); outline-offset: 3px; border-radius: 4px; }

.mast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px clamp(18px, 5vw, 48px) 0;
}
.mast-note { color: var(--fog); font-size: 13px; }

main {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 10px clamp(18px, 5vw, 48px) 40px;
  flex: 1;
}

.word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(72px, 16vw, 168px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 18px 0 14px;
}
.word span { color: var(--yolk); }

.intro {
  color: var(--fog);
  max-width: 44em;
  font-size: 14.5px;
  margin-bottom: 40px;
}

.cabinet { display: flex; flex-direction: column; gap: 18px; }

.game {
  display: flex;
  gap: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.game:hover { border-color: var(--orange); transform: translateY(-2px); }
a.game:active { transform: translateY(0); }

.g-art {
  flex: 0 0 clamp(120px, 26vw, 220px);
  background: #132835;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 28px);
}
.g-art svg { width: 100%; height: auto; max-width: 180px; }

.g-body { padding: clamp(18px, 3.5vw, 30px); flex: 1; }
.g-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1;
  margin-bottom: 10px;
}
.g-pitch { color: var(--fog); font-size: 13.5px; max-width: 46em; }
.g-stat {
  color: var(--blue);
  font-size: 12.5px;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}
.g-cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--orange);
  color: #16100c;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
}
a.game:hover .g-cta { background: #ff6c38; }

.game.next { opacity: 0.55; border-style: dashed; }
.game.next h2 { color: var(--yolk); }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(18px, 5vw, 48px) calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 12px;
}
.foot a { color: var(--blue); }

@media (max-width: 560px) {
  .game { flex-direction: column; }
  .g-art { flex-basis: auto; padding: 22px 22px 0; background: transparent; }
  .g-art svg { max-width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
