:root {
  color-scheme: dark;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --page-bg: #0d0d14;
  --panel-bg: #15151f;
  --text: #f3f2fa;
  --muted: #b4b0c2;
  --line: rgba(255, 255, 255, 0.12);
  --mint: #7ce3bb;
  --gold: #f2c66d;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background-color: var(--page-bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--mint);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #b2f2d8;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-header,
.site-footer,
.page {
  width: min(100% - 2rem, 940px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.site-nav,
.footer-nav,
.language-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
}

.site-nav a,
.footer-nav a,
.language-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover,
.language-nav a:hover {
  color: var(--text);
}

.language-nav {
  padding-left: 0.8rem;
  border-left: 1px solid var(--line);
}

.page {
  padding-block: clamp(2.5rem, 8vw, 5rem) 4rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.lead {
  max-width: 66ch;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.25rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-block: 1.6rem 2.5rem;
}

.primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--mint);
  color: #10241d;
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover {
  background: #b2f2d8;
  color: #10241d;
}

.game-art {
  max-width: 760px;
  margin: 0 0 2.8rem;
}

.game-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.game-art figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.content-section {
  max-width: 72ch;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.content-section p,
.content-section li {
  color: var(--muted);
}

.content-section p:last-child,
.content-section ul:last-child,
.content-section ol:last-child {
  margin-bottom: 0;
}

.content-section li + li {
  margin-top: 0.45rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-block: 1.2rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 0.35rem 0.8rem;
  }

  .page {
    padding-top: 2.2rem;
  }
}