:root {
  color-scheme: dark;
  font-family: "Segoe UI", Candara, sans-serif;
  font-synthesis: none;
  --ink: #f3ead0;
  --muted: #b8c5bd;
  --deep: #08110f;
  --panel: #14231f;
  --panel-soft: #1b302a;
  --line: rgba(216, 187, 114, 0.34);
  --gold: #d8bb72;
  --gold-bright: #f0d798;
  --teal: #71b8ad;
  --good: #8fd09c;
  background: var(--deep);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(7, 16, 14, 0.8), rgba(7, 16, 14, 0.96)),
    url("/assets/background_fort_field_topdown.webp") center top / cover fixed;
  line-height: 1.6;
}

a {
  color: var(--gold-bright);
}

a:hover {
  color: #fff1c7;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1,
h2 {
  color: var(--gold-bright);
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 15, 0.95);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 8px 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--gold-bright);
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d798;
  border-radius: 7px;
  background: linear-gradient(#9b793d, #644c29);
  color: #fff8df;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

.button:hover {
  background: linear-gradient(#b08d4b, #765c31);
  color: #fff;
}

.button--quiet {
  border-color: rgba(184, 204, 194, 0.38);
  background: rgba(14, 29, 25, 0.78);
}

.hero,
.page-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 6vw, 78px);
  min-height: 620px;
  align-items: center;
  padding: 76px 0;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
}

.hero-lede,
.page-lede {
  max-width: 64ch;
  color: #d3ddd6;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-crest {
  width: min(360px, 80vw);
  margin: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.62));
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(216, 187, 114, 0.16);
  background: rgba(8, 17, 15, 0.62);
}

.section-inner,
.page-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-heading p,
.card p,
.prose p,
.prose li {
  color: var(--muted);
}

.game-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(35, 56, 49, 0.96), rgba(15, 29, 25, 0.97));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.card h2,
.card h3 {
  color: var(--gold-bright);
}

.card h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.badge {
  justify-self: start;
  padding: 4px 9px;
  border: 1px solid rgba(113, 184, 173, 0.5);
  border-radius: 999px;
  color: #bcebe2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--available {
  border-color: rgba(143, 208, 156, 0.58);
  color: #c9f2d1;
}

.page-hero {
  display: grid;
  gap: 18px;
  padding: 82px 0 54px;
}

.page-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.page-content {
  padding-bottom: 80px;
}

.prose {
  display: grid;
  gap: 24px;
  max-width: 820px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(17, 32, 28, 0.96);
}

.prose section {
  display: grid;
  gap: 9px;
}

.prose h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.prose ul {
  margin: 0;
  padding-left: 22px;
}

.status-panel {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: rgba(23, 45, 39, 0.86);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #07100e;
}

.footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 0;
  }

  .hero-crest {
    grid-row: 1;
    width: 190px;
  }

  .game-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
