:root {
  --ink: #071217;
  --ink-soft: #0d2026;
  --panel: #10272d;
  --paper: #f3eee3;
  --paper-muted: #c8c3b9;
  --jade: #73dfc0;
  --jade-deep: #2aa78c;
  --ember: #ff7857;
  --gold: #efc46c;
  --line: rgba(243, 238, 227, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 5%, rgba(42, 167, 140, 0.16), transparent 30rem),
    radial-gradient(circle at 15% 25%, rgba(255, 120, 87, 0.08), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--jade);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 18, 23, 0.84);
  backdrop-filter: blur(16px);
}

.nav-shell,
.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0.01em;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--paper-muted);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 23, 0.98) 0%, rgba(7, 18, 23, 0.88) 30%, rgba(7, 18, 23, 0.28) 70%, rgba(7, 18, 23, 0.62) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 24%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 132px 0 150px;
}

.hero-copy { max-width: 620px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--jade);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 550;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 600;
}

.hero-lede {
  max-width: 570px;
  margin: 0 0 34px;
  color: #dfdbd2;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--jade); }
.button-primary:hover { background: #91ead1; }
.button-ghost { border-color: var(--line); background: rgba(7, 18, 23, 0.38); }
.button-ghost:hover { border-color: rgba(243, 238, 227, 0.3); }

.section { padding: clamp(78px, 10vw, 132px) 0; }
.section-border { border-top: 1px solid var(--line); }
.section-head { max-width: 770px; margin-bottom: 46px; }
.section-head p:last-child { margin-bottom: 0; color: var(--paper-muted); font-size: 1.07rem; }

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 95% 10%, rgba(255, 120, 87, 0.13), transparent 22rem),
    linear-gradient(145deg, rgba(16, 39, 45, 0.9), rgba(10, 27, 32, 0.72));
  box-shadow: var(--shadow);
}

.game-sigil {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 196, 108, 0.18);
  border-radius: 999px 999px 28px 28px;
  background:
    radial-gradient(circle, rgba(239, 196, 108, 0.18), transparent 36%),
    linear-gradient(140deg, rgba(115, 223, 192, 0.13), rgba(255, 120, 87, 0.1));
}

.game-sigil img { width: 62%; max-width: 260px; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.3)); }

.game-copy { align-self: center; }
.game-kicker { color: var(--gold); font-weight: 760; }
.cn-title { display: block; margin-top: 7px; color: var(--paper-muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 0.42em; letter-spacing: 0.08em; }
.muted { color: var(--paper-muted); }

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.tag {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ded9cf;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 39, 45, 0.48);
}

.feature-number {
  margin-bottom: 42px;
  color: var(--jade);
  font-family: Georgia, serif;
  font-size: 1.6rem;
}

.feature p { margin-bottom: 0; color: var(--paper-muted); }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(115, 223, 192, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(42, 167, 140, 0.17), rgba(255, 120, 87, 0.08));
}

.cta h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.6rem); }
.cta p { max-width: 620px; margin: 0; color: var(--paper-muted); }

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--paper); }

.page-hero { padding: 96px 0 54px; }
.page-hero h1 { max-width: 870px; font-size: clamp(3rem, 7vw, 6.2rem); }
.page-hero .lede { max-width: 770px; color: var(--paper-muted); font-size: 1.12rem; }

.notice {
  margin: 24px 0 36px;
  padding: 18px 20px;
  border: 1px solid rgba(239, 196, 108, 0.33);
  border-radius: 14px;
  color: #f0dfb6;
  background: rgba(239, 196, 108, 0.08);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  gap: 58px;
  align-items: start;
  padding-bottom: 110px;
}

.legal-toc {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 39, 45, 0.45);
}

.legal-toc strong { display: block; margin-bottom: 10px; color: var(--paper); }
.legal-toc a { display: block; padding: 5px 0; color: var(--paper-muted); font-size: 0.88rem; text-decoration: none; }
.legal-toc a:hover { color: var(--jade); }

.legal-copy section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.legal-copy section:first-child { padding-top: 0; border-top: 0; }
.legal-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.legal-copy h3 { margin-top: 28px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.08rem; }
.legal-copy p, .legal-copy li { color: #d4d0c7; }
.legal-copy li + li { margin-top: 8px; }
.legal-copy a { color: var(--jade); text-underline-offset: 3px; }

.placeholder {
  display: inline;
  padding: 0.08em 0.35em;
  color: #fff1c8;
  background: rgba(255, 120, 87, 0.18);
  border: 1px dashed rgba(255, 120, 87, 0.52);
  border-radius: 5px;
  font-weight: 720;
}

.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.94rem; }
th, td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--paper); background: rgba(255, 255, 255, 0.05); }
td { color: #d4d0c7; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 110px;
}

.contact-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 39, 45, 0.5);
}

.contact-card p:last-child { margin-bottom: 0; }
.contact-card.wide { grid-column: 1 / -1; }

.checklist { margin: 18px 0 0; padding-left: 22px; }

@media (max-width: 820px) {
  .nav-shell { min-height: auto; padding: 15px 0; align-items: flex-start; }
  .site-nav { max-width: 56%; }
  .site-nav a { padding: 6px 8px; font-size: 0.82rem; }
  .hero { min-height: 670px; }
  .hero::after { background: linear-gradient(90deg, rgba(7, 18, 23, 0.97), rgba(7, 18, 23, 0.48)), linear-gradient(0deg, var(--ink), transparent 35%); }
  .hero-art { object-position: 62% center; opacity: 0.62; }
  .game-card, .legal-layout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-number { margin-bottom: 24px; }
  .legal-toc { position: static; }
}

@media (max-width: 600px) {
  .nav-shell, .shell, .hero-inner { width: min(calc(100% - 28px), var(--max)); }
  .brand span { font-size: 0.9rem; }
  .site-nav a:nth-child(2), .site-nav a:nth-child(3) { display: none; }
  h1 { font-size: clamp(3rem, 18vw, 4.7rem); }
  .hero-inner { padding-top: 108px; }
  .game-sigil { min-height: 250px; }
  .cta, .footer-inner { align-items: flex-start; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card.wide { grid-column: auto; }
  .page-hero { padding-top: 70px; }
}

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

