/* Rig King microsite: the game's own palette (UiKit ink, sand and accent) on red dirt and sunset.
   System fonts only, so the site makes no third-party requests. */
:root {
  --ink: #121719;
  --ink-2: #1c2427;
  --ink-3: #26312f;
  --sand: #f7edd6;
  --muted: #b9b2a2;
  --accent: #f2731f;
  --accent-deep: #c9561a;
  --dirt: #a8462a;
  --good: #7fd88a;
  --radius: 18px;
  --wrap: 1120px;
  --display: "Arial Black", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ff9a55; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 23, 25, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 237, 214, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--sand); text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--accent); }

/* Hero: the splash artwork shown whole (it carries its own title), the pitch below it */
.hero { padding: 0 0 56px; background: var(--ink); }
.hero-art { width: 100%; max-height: 78vh; object-fit: cover; object-position: center 40%; }
.hero-copy { margin-top: 30px; }
.hero h1 {
  font-family: var(--display); font-weight: 900; letter-spacing: -.01em;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; margin: 0 0 14px; max-width: 900px;
}
.hero p.lede { font-size: clamp(18px, 2vw, 21px); max-width: 680px; margin: 0 0 26px; color: #e9e0cb; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 180px; padding: 10px 18px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.25);
  line-height: 1.15;
}
.store small { font-size: 12px; opacity: .8; }
.store strong { font-size: 19px; }
.store[aria-disabled="true"] { opacity: .75; cursor: default; }
.soon { font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--ink-2); }
h2 {
  font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1; margin: 0 0 12px;
}
h3 { font-size: 20px; margin: 0 0 6px; }
.kicker { color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.intro { color: var(--muted); max-width: 720px; margin: 0 0 36px; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--ink-3); border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(247, 237, 214, .06);
}
.card p { margin: 0; color: var(--muted); }
.card .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-weight: 900; margin-bottom: 12px;
}

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }

.tracks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.tracks li { background: var(--ink-3); border-radius: 14px; padding: 16px 18px; }
.tracks li b { display: block; }
.tracks li span { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--good); border-radius: 999px; padding: 2px 9px; margin-top: 8px; }
.tag.pack { background: var(--accent); }

.cta { text-align: center; }
.centred { margin-inline: auto; }
.logo-plate { background: #2a3336; border-radius: 12px; padding: 18px; }
.cta .stores { justify-content: center; }

/* Prose pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; margin: 0 0 8px; }
.page .updated { color: var(--muted); margin: 0 0 32px; }
.page h2 { font-size: 24px; margin: 40px 0 10px; }
.page p, .page li { color: #e9e0cb; }
.page ul { padding-left: 1.2em; }
.note {
  background: rgba(242, 115, 31, .12); border: 1px solid rgba(242, 115, 31, .45);
  border-radius: 12px; padding: 14px 16px; color: var(--sand); font-size: 16px;
}
dl.faq dt { font-weight: 800; margin-top: 22px; }
dl.faq dd { margin: 6px 0 0; color: #e9e0cb; }
table { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
th { width: 36%; }   /* the same name column in every table */
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(247,237,214,.1); vertical-align: top; }
th { color: var(--muted); font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid rgba(247, 237, 214, .08); padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--sand); }
.site-footer .legal { width: 100%; font-size: 13px; opacity: .8; }

@media (max-width: 860px) {
  .grid.three, .tracks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .site-header .wrap { flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .nav { margin-left: 0; gap: 16px; }
  .brand img { height: 32px; }
  .grid.three, .grid.two, .tracks, .shots { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero-art { max-height: none; }
  .hero-copy { margin-top: 18px; }
  .store { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Licence texts on the credits page */
.licence { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; color: var(--muted); background: rgba(247,237,214,.04); border: 1px solid rgba(247,237,214,.1); border-radius: 10px; padding: 14px 16px; margin: 8px 0 24px; }
