/* Gutsoline's website: the game's dusk look (cream on near-black, lime accents), with its own fonts served from here,
   so no page calls a font service. Anton and Fira Sans are under the SIL Open Font License (fonts/*-OFL.txt). */

@font-face { font-family: "Anton"; src: url("fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/FiraSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/FiraSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0d0c14;
  --panel: #16151f;
  --panel-edge: #2a2836;
  --cream: #ede0c2;
  --cream-dim: #b9ae96;
  --lime: #a8d14d;
  --lime-ink: #10140a;
  --rust: #c8643a;
  --danger: #e2574c;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 600 17px/1.6 "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #c3ec66; }

h1, h2, h3, .brand {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(36px, 7vw, 64px); margin: 0 0 12px; }
h2 { font-size: 28px; margin: 40px 0 10px; color: var(--cream); }
h3 { font-size: 21px; margin: 28px 0 6px; color: var(--cream); }

p, li { color: var(--cream-dim); }
strong { color: var(--cream); }

/* The bar along the top of every page. */
header.site {
  position: sticky; top: 0; z-index: 5;
  background: rgba(13, 12, 20, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--panel-edge);
}
header.site .inner {
  max-width: 980px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
header.site .brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-size: 24px; }
header.site .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
header.site nav a { color: var(--cream-dim); text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--lime); }

main { max-width: 820px; margin: 0 auto; padding: 32px 16px 64px; }
main.wide { max-width: 980px; }

/* The home page's picture across the top, from the game's title screen. */
.hero {
  position: relative; min-height: 440px;
  display: flex; align-items: flex-end;
  background: url("hero.jpg") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 20, 0.15) 0%, rgba(13, 12, 20, 0.55) 55%, var(--ink) 100%);
}
.hero .inner { position: relative; z-index: 1; max-width: 980px; width: 100%; margin: 0 auto; padding: 32px 16px; }
.hero .tag { color: var(--cream); font-size: 20px; max-width: 560px; }

.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); text-decoration: none;
  font: 400 20px/1 "Anton", Impact, sans-serif; letter-spacing: 0.04em;
  border: none; cursor: pointer;
}
.button:hover { background: #c3ec66; color: var(--lime-ink); }
.button.ghost { background: transparent; color: var(--cream); border: 2px solid var(--panel-edge); }
.button.ghost:hover { border-color: var(--lime); color: var(--lime); }
.button[disabled] { opacity: 0.5; cursor: default; }

.panel {
  background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 14px;
  padding: 20px 22px; margin: 20px 0;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.grid .panel { margin: 0; }
.grid h3 { margin-top: 0; }

.effective { color: var(--cream-dim); font-style: italic; }

footer.site { border-top: 1px solid var(--panel-edge); color: var(--cream-dim); font-size: 14px; }
footer.site .inner { max-width: 980px; margin: 0 auto; padding: 20px 16px; display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--cream-dim); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  header.site nav { margin-left: 0; width: 100%; gap: 14px; }
  .hero { min-height: 360px; }
}
