/* FOOTDICE site. The game's own tokens (Tokens.cs / docs/design_handoff_unity_complete): ink, chalk paper on a 24 px grid,
   yellow, 2 px ink borders, hard offset shadows, Archivo Black headings, Space Grotesk body, JetBrains Mono labels. */

@font-face { font-family: "Archivo Black"; src: url("fonts/ArchivoBlack-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Space Grotesk"; font-weight: 400; src: url("fonts/SpaceGrotesk-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Space Grotesk"; font-weight: 700; src: url("fonts/SpaceGrotesk-Bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; src: url("fonts/JetBrainsMono-Bold.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #0A0A0A; --chalk: #F4F1E8; --paper: #EFEBDD; --paper2: #E9E4D4; --input: #FBF9F2;
  --yellow: #FFD400; --red: #FF2D2D; --green: #00C56A; --blue: #1D4DFF; --sky: #7EC8FF;
  --line: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  background-image: linear-gradient(rgba(10, 10, 10, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  font: 400 18px/1.5 "Space Grotesk", system-ui, sans-serif;
}

h1, h2, h3 { font-family: "Archivo Black", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 24px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin: 0 0 12px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.mono { font: 700 13px/1.2 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---- top bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--chalk); border-bottom: 3px solid var(--yellow); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 "Archivo Black", sans-serif; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--yellow); }
.lang { background: var(--yellow); color: var(--ink); border: 0; padding: 6px 10px; cursor: pointer; }
@media (max-width: 720px) { .top nav { display: none; } .lang { margin-left: auto; } }

/* ---- hero */
.hero { background: var(--ink) url("img/hero.jpg") center / cover no-repeat; color: var(--chalk); border-bottom: var(--line); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .62); }
.hero .wrap { position: relative; padding: clamp(56px, 10vw, 120px) 0; display: grid; gap: 28px; justify-items: start; }
.hero .logo { width: min(640px, 100%); }
.hero p { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; max-width: 22em; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---- buttons, chips, cards */
.btn {
  display: inline-block; padding: 14px 22px; border: var(--line); background: var(--chalk); color: var(--ink);
  font: 400 18px/1 "Archivo Black", sans-serif; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(6px, 6px); box-shadow: none; }
.btn.primary { background: var(--yellow); }
.hero .btn { border-color: var(--ink); box-shadow: 6px 6px 0 rgba(244, 241, 232, .9); }
.hero .btn:hover { box-shadow: 4px 4px 0 rgba(244, 241, 232, .9); }
.btn.off { background: var(--paper2); box-shadow: none; cursor: default; pointer-events: none; }
.chip { display: inline-block; padding: 5px 9px; border: var(--line); background: var(--chalk); color: var(--ink); }
.hero .chip { background: transparent; color: var(--chalk); border-color: var(--chalk); }

section { padding: clamp(40px, 7vw, 80px) 0; border-bottom: var(--line); }
section:nth-of-type(even) { background: rgba(233, 228, 212, .7); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--chalk); border: var(--line); box-shadow: var(--shadow); padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.lead { font-size: 20px; max-width: 46em; margin-bottom: 28px; }

/* ---- screenshots */
.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.shots a { border: var(--line); box-shadow: var(--shadow); background: var(--ink); }
.shots a:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---- teaser slot */
.slot { aspect-ratio: 16 / 9; max-width: 880px; background: var(--ink); border: var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.slot iframe { width: 100%; height: 100%; border: 0; display: block; }
.slot .stamp[hidden] { display: none; }
.credit { margin: 14px 0 0; }
.stamp { font: 400 clamp(22px, 4vw, 40px)/1 "Archivo Black", sans-serif; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 12px 18px; transform: rotate(-4deg); }

/* ---- links */
.links { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.links a { display: block; text-decoration: none; background: var(--chalk); border: var(--line); box-shadow: var(--shadow); padding: 16px 18px; }
.links a:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); background: var(--yellow); }
.links b { display: block; font: 400 20px/1.1 "Archivo Black", sans-serif; text-transform: uppercase; margin-bottom: 4px; }
.links .main { background: var(--yellow); }

.mail { font: 400 clamp(20px, 3.6vw, 36px)/1.1 "Archivo Black", sans-serif; word-break: break-all; }

footer { background: var(--ink); color: var(--chalk); padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

/* ---- next steps board */
.board { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: start; }
.col { background: var(--paper2); border: var(--line); }
.col h2 { font-size: 20px; margin: 0; padding: 12px 14px; background: var(--ink); color: var(--chalk); display: flex; justify-content: space-between; gap: 8px; }
.col[data-col="now"] h2 { background: var(--yellow); color: var(--ink); border-bottom: var(--line); }
.col[data-col="done"] h2 { background: var(--green); color: var(--ink); border-bottom: var(--line); }
.col ul { list-style: none; margin: 0; padding: 14px; display: grid; gap: 12px; }
.col li { background: var(--chalk); border: var(--line); box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px; }
.col li b { display: block; font-weight: 700; }
.col li p { margin: 6px 0 0; font-size: 16px; }
.col li .chip { margin: 10px 6px 0 0; padding: 3px 7px; font-size: 11px; background: var(--paper2); }
.col .empty { box-shadow: none; border-style: dashed; background: transparent; }
.pagehead { padding: clamp(32px, 6vw, 64px) 0 24px; }
.pagehead h1 { font-size: clamp(36px, 7vw, 72px); margin-bottom: 12px; }
main.page { padding-bottom: 64px; }
