/* The Great Game landing page: dark oak and parchment with gold, like the lord's cabinet in the game. */
:root {
  --ink: #e9dfc8;
  --muted: #b3a68a;
  --gold: #d9a441;
  --gold-bright: #f0c05a;
  --oak: #1c1611;
  --oak-2: #261e17;
  --line: #3a2e22;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--oak);
  color: var(--ink);
  font: 17px/1.6 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

h1, h2, h3 { font-weight: 600; letter-spacing: 0.01em; }
h2 { font-size: 1.9rem; text-align: center; margin: 0 0 1.4rem; color: var(--gold-bright); }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--gold); }
b { color: var(--ink); }

a { color: var(--gold-bright); }

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 35%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 15, 10, 0.95) 0%, rgba(20, 15, 10, 0.35) 45%, rgba(20, 15, 10, 0.1) 100%);
}

.hero-text {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 4.5rem;
}

.kicker {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0.2rem 0 0.3rem;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.tagline { margin: 0 0 1.8rem; font-size: 1.35rem; color: var(--ink); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }

.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: linear-gradient(#e2ae4c, #b9832a);
  color: #23180c;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, box-shadow 0.12s;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45); }
.button.big { font-size: 1.15rem; }
.button small { font-weight: 500; font-size: 0.8rem; opacity: 0.85; }

main section { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem 0; }

.intro p { font-size: 1.2rem; max-width: 780px; margin: 0 auto; text-align: center; color: var(--ink); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}
.features article {
  background: var(--oak-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
}
.features p { margin: 0; color: var(--muted); }

.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
figure { margin: 0; }
figcaption { text-align: center; color: var(--gold); margin-top: 0.4rem; font-size: 1.05rem; }

img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
a img { transition: filter 0.15s; }
a:hover img { filter: brightness(1.12); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }

.download { text-align: center; }
.download .note { color: var(--muted); max-width: 680px; margin: 0 auto 1.6rem; }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.buttons .button { min-width: 250px; }

.howto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  text-align: left;
}
.howto > div { background: var(--oak-2); border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem 1.3rem; }
.howto p { margin: 0; color: var(--muted); font-size: 0.95rem; }

footer { text-align: center; color: #7d705a; padding: 3.5rem 1rem 2.5rem; font-size: 0.85rem; }
