@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* The game's own palette (prop-hunt style.css / mesher.ts): warm cream, ink panels, aisle colours. */
  --yellow: #f6c344;
  --yellow-d: #c38f1f;
  --green: #4fb47a;
  --red: #e8574a;
  --blue: #4a8fd9;
  --orange: #f98e3c;
  --teal: #2f9c8c;
  --purple: #8a63d2;

  --background: #fbf8f2;
  --foreground: #1c2327;
  --card: #ffffff;
  --band: #f4efe6;
  --muted: #efe9de;
  --muted-foreground: #5f686c;
  --border: #e5ded2;
  --primary: var(--yellow);
  --primary-foreground: #1c2327;
  --primary-edge: var(--yellow-d);
  --ring: #9aa3a6;
  --live: #2f9a5e;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #151b1f;
    --foreground: #fff7ea;
    --card: #1c2327;
    --band: #182024;
    --muted: #273137;
    --muted-foreground: #b3ada2;
    --border: #2c373e;
    --ring: #5b6a72;
    --live: var(--green);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--yellow); color: #1c2327; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
html[lang="de"] [data-l="en"], html[lang="en"] [data-l="de"] { display: none !important; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--background) 85%, transparent); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.logo svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 2px; margin-left: 4px; }
.nav a { font-size: 14px; color: var(--muted-foreground); padding: 6px 10px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--foreground); background: var(--muted); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: var(--muted); }
.seg button { font: 500 12px/1 "Geist", ui-sans-serif, sans-serif; letter-spacing: 0.02em; color: var(--muted-foreground); background: transparent; border: 0; border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--background); color: var(--foreground); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 500; border: 1px solid transparent; white-space: nowrap; transition: background-color 0.15s, opacity 0.15s; cursor: pointer; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); font-weight: 600; box-shadow: 0 2px 0 var(--primary-edge); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--primary-edge); }
.btn-outline { border-color: var(--border); background: var(--card); }
.btn-outline:hover { background: var(--muted); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero { padding: 80px 0 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; margin: 0; text-wrap: balance; }
h1 .soft { display: block; color: var(--muted-foreground); }
.lead { font-size: 17px; color: var(--muted-foreground); margin: 0 0 24px; max-width: 30em; text-wrap: pretty; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-figure { margin: 56px 0 0; }
.hero-media { position: relative; }
.hero-media video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 540; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); background: var(--muted); }
.video-toggle { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(28, 35, 39, 0.6); color: #fff7ea; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0.75; transition: opacity 0.15s; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.hero-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding-top: 14px; font-size: 13px; color: var(--muted-foreground); }
.facts { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts svg { width: 15px; height: 15px; }
.facts .i-yellow { color: var(--yellow-d); }
.facts .i-blue { color: var(--blue); }
.facts .i-green { color: var(--green); }

/* Sections */
section { padding: 112px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 32px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; margin: 0; text-wrap: balance; }
.section-head p { color: var(--muted-foreground); margin: 0; max-width: 34em; }

.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }

/* Featured game */
.game { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; }
.game + .game { margin-top: 16px; }
.game-media { display: flex; flex-direction: column; border-right: 1px solid var(--border); }
.game-media > img { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; background: var(--muted); }
.thumbs { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.thumbs button { flex: 1; padding: 0; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; cursor: pointer; background: var(--muted); opacity: 0.5; transition: opacity 0.15s, border-color 0.15s; }
.thumbs button:hover { opacity: 0.85; }
.thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--foreground); }
.thumbs img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.game-body { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-foreground); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.status .sep { color: var(--border); }
.game h3 { font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
.game-body > p { margin: 0; color: var(--muted-foreground); }
.modes { margin: 4px 0 0; }
.modes > div { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.modes .tile { grid-row: span 2; }
.modes dt { font-weight: 600; font-size: 14px; }
.modes dd { margin: 2px 0 0; font-size: 14px; color: var(--muted-foreground); line-height: 1.55; }
.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.specs dt { font-size: 12px; color: var(--muted-foreground); }
.specs dd { margin: 0; font-size: 14px; font-weight: 500; }
.game-actions { margin-top: auto; padding-top: 6px; }

.soon { margin-top: 12px; padding: 16px 20px; border-style: dashed; background: transparent; color: var(--muted-foreground); font-size: 14px; display: flex; align-items: center; gap: 14px; }
.soon b { color: var(--foreground); font-weight: 500; }

/* Icon tiles in the shop's aisle colours */
.tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.tile svg { width: 18px; height: 18px; }
.c-blue { --c: var(--blue); }
.c-yellow { --c: var(--yellow-d); }
.c-green { --c: var(--green); }
.c-red { --c: var(--red); }
.c-orange { --c: var(--orange); }
@media (prefers-color-scheme: dark) { .c-yellow { --c: var(--yellow); } }

/* Steps: three aisles */
.band { background: var(--band); border-block: 1px solid var(--border); margin-top: 112px; padding: 80px 0; }
.band + section { padding-top: 96px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.aisle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
.aisle b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--c); color: #fff; font-size: 12px; }
.c-yellow .aisle b { color: #1c2327; }
.step h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin: 0; font-size: 15px; color: var(--muted-foreground); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 16px; height: 16px; color: var(--muted-foreground); transition: transform 0.2s; flex: none; }
details[open] summary svg { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted-foreground); font-size: 15px; max-width: 46em; }

/* Closing + footer */
.closing { margin: 112px 0 72px; padding: 40px; border-radius: 18px; background: var(--yellow); color: #1c2327; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; box-shadow: 0 4px 0 var(--yellow-d); }
.closing h2 { font-size: clamp(26px, 3.2vw, 34px); }
.closing p { margin: 6px 0 0; color: rgba(28, 35, 39, 0.72); }
.btn-ink { background: #1c2327; color: #fff7ea; font-weight: 600; }
.btn-ink:hover { background: #273137; }
footer { border-top: 1px solid var(--border); }
footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 40px; font-size: 13px; color: var(--muted-foreground); }
footer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
footer a:hover { color: var(--foreground); }

/* 404 */
.notfound { min-height: calc(100vh - 61px); display: grid; place-content: center; text-align: center; padding: 48px 16px; }
.notfound p { color: var(--muted-foreground); margin: 12px 0 28px; }
.notfound .actions { justify-content: center; }

@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; }
  .game { grid-template-columns: 1fr; }
  .game-media { border-right: 0; border-bottom: 1px solid var(--border); }
  .faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav { display: none; }
  .hero { padding-top: 48px; }
  .hero-figure { margin-top: 40px; }
  .hero-media video { aspect-ratio: 4 / 3; border-radius: 12px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .band { margin-top: 88px; padding: 64px 0; }
  .closing { margin: 88px 0 56px; padding: 28px 22px; }
  .game-body { padding: 22px; }
  .specs { grid-template-columns: repeat(2, auto); }
  section { padding-top: 88px; }
}
@media (max-width: 400px) {
  .header-end .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
