:root {
  color-scheme: light;
  --coal: #0a0a0a;
  --yellow: #fde107;
  --warm-ash: #f4f1e8;
  --off-white: #fcfcfc;
  --surface: #151515;
  --smoke: #aaa69d;
  --soft-smoke: #c6c2b8;
  --line: #32312e;
  --page: min(1180px, calc(100vw - 64px));
  --radius-large: 28px;
  --radius-medium: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--coal);
  color: var(--off-white);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

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

::selection { color: var(--coal); background: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 88px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(252, 252, 252, .12);
  background: rgba(10, 10, 10, .94);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  width: 176px;
  line-height: 0;
  text-decoration: none;
}

.wordmark img { width: 100%; height: auto; }

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--smoke);
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

nav a:hover { color: var(--off-white); background: rgba(252, 252, 252, .09); }

.game-feature {
  width: var(--page);
  margin: clamp(28px, 5vw, 64px) auto 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: #101010;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.game-art {
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: #090816;
}

.game-art img { width: 100%; height: 100%; object-fit: cover; }

.game-copy {
  min-width: 0;
  padding: clamp(36px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--off-white);
}

.kicker,
.section-label,
.eyebrow {
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--yellow);
}

.kicker span {
  width: 9px;
  height: 9px;
  display: inline-block;
  background: currentColor;
}

.game-copy h1 {
  margin: 0 0 22px;
  max-width: 100%;
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.game-summary {
  max-width: 360px;
  margin: 0 0 30px;
  color: var(--soft-smoke);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--coal);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.text-link:hover { transform: translateY(-2px); filter: brightness(.97); }

.info-grid {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 clamp(72px, 9vw, 116px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-card {
  min-height: 230px;
  padding: clamp(30px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.info-card-accent { border-color: var(--yellow); background: var(--yellow); }

.section-label { margin: 0; color: var(--smoke); }
.info-card-accent .section-label { color: rgba(10, 10, 10, .62); }

.info-card h2 {
  margin: auto 0 4px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.info-card p:not(.section-label) { margin: 8px 0 0; color: var(--smoke); }
.info-card-accent h2,
.info-card-accent .contact-email { color: var(--coal); }

.contact-email {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(.95rem, 1.6vw, 1.12rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-email span { transition: transform 160ms ease; }
.contact-email:hover span { transform: translate(3px, -3px); }

footer {
  width: 100%;
  min-height: 176px;
  padding: 48px max(32px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  background: #050505;
  color: var(--off-white);
}

.footer-wordmark { width: 150px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--soft-smoke);
  font-size: .78rem;
}

.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--off-white); }

.legal-main {
  width: min(820px, calc(100vw - 64px));
  margin: clamp(28px, 5vw, 64px) auto clamp(72px, 9vw, 116px);
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.legal-header { padding-bottom: 40px; border-bottom: 1px solid var(--line); }

.eyebrow { margin: 0 0 12px; color: var(--smoke); }
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 9px;
  display: inline-block;
  background: var(--yellow);
}

.eyebrow span { display: none; }

.legal-header h1,
.error-page h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.legal-updated,
.legal-content p,
.legal-content li { color: var(--smoke); }

.legal-updated { margin: 0; font-size: .85rem; }
.legal-content { padding-top: 22px; }

.legal-content h2 {
  margin: 44px 0 12px;
  padding-left: 16px;
  position: relative;
  font-size: 1.08rem;
}

.legal-content h2::before {
  content: "";
  width: 5px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 99px;
  background: var(--yellow);
}

.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--off-white); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal-translation { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.translation-header { padding-bottom: 32px; }
.translation-header h2 { margin: 0 0 12px; padding: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -.04em; }
.translation-header h2::before { display: none; }

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.error-page main {
  max-width: 620px;
  padding: clamp(36px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.error-page .wordmark { width: min(240px, 70vw); margin: 0 auto 42px; }
.error-page p { color: var(--smoke); }
.error-page .text-link { margin-top: 20px; }

@media (max-width: 900px) {
  .game-feature { grid-template-columns: 1fr; }
  .game-art { min-height: auto; aspect-ratio: 16 / 9; }
  .game-copy { padding: 42px 30px 38px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 32px); --radius-large: 22px; }
  html { scroll-padding-top: 84px; }

  .site-header {
    min-height: 74px;
    padding-inline: 16px;
    gap: 10px;
  }

  .wordmark { width: 142px; }
  nav { gap: 2px; }
  nav a { padding: 8px 7px; font-size: .72rem; }

  .game-feature {
    margin-top: 24px;
    padding: 10px;
    border-radius: var(--radius-large);
  }

  .game-art { border-radius: 14px; }
  .game-copy { padding: 34px 20px 26px; }
  .game-copy h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .game-summary { margin-bottom: 24px; }

  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 210px; }

  footer {
    min-height: 220px;
    padding: 48px 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
  }

  .footer-wordmark { width: 150px; }
  .footer-links { width: 100%; flex-wrap: wrap; gap: 12px 20px; }

  .legal-main {
    width: calc(100vw - 32px);
    margin-top: 24px;
    padding: 34px 22px;
  }
}

@media (max-width: 390px) {
  .wordmark { width: 128px; }
  nav a { padding-inline: 5px; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
