:root {
  color-scheme: dark;
  --night: #090d1c;
  --panel: #11182a;
  --panel-light: #17213a;
  --gold: #efc76f;
  --gold-bright: #f9d98e;
  --lavender: #b6a0df;
  --ink: #f6f0e2;
  --muted: #b8b8c5;
  --line: rgba(239, 199, 111, 0.24);
  --serif: "Cinzel", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 10%, rgba(37, 46, 89, 0.34), transparent 34rem),
    var(--night);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(239, 199, 111, 0.12);
  background: rgba(9, 13, 28, 0.88);
  backdrop-filter: blur(18px);
}
.navbar {
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo {
  flex-shrink: 0;
  font: 700 17px/1 var(--serif);
  letter-spacing: 0.15em;
}
.logo-mark { margin-right: 8px; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.7vw, 36px); }
.nav-links a, .footer-links a { color: var(--muted); font-size: 13px; transition: color 180ms ease; }
.nav-links a:hover, .footer-links a:hover { color: var(--gold-bright); }
.nav-links .nav-legal { color: var(--ink); }
.nav-links .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(239, 199, 111, 0.6);
  border-radius: 5px;
  color: var(--gold-bright);
  font-weight: 600;
}
.nav-cta span { padding-left: 6px; }

.hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 48px));
  min-height: 665px;
  margin: 0 auto;
  padding: 105px 0 106px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -20%;
  width: 70%;
  height: 85%;
  background: radial-gradient(ellipse, rgba(42, 48, 96, 0.24), transparent 68%);
  content: "";
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font: 700 11px/1.5 var(--serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1, .section-heading h2, .adventure-copy h2, .download-panel h2 {
  margin: 0;
  font: 600 clamp(38px, 5vw, 62px)/1.16 var(--serif);
  letter-spacing: -0.035em;
}
.hero h1 em, .section-heading h2 em { color: var(--gold-bright); font-style: normal; }
.hero-description {
  max-width: 465px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 21px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  background: linear-gradient(135deg, #f8db95, #dfb352);
  box-shadow: 0 8px 26px rgba(212, 161, 67, 0.16);
  color: #20170c;
}
.button-gold:hover { box-shadow: 0 10px 32px rgba(212, 161, 67, 0.3); }
.text-link { color: var(--gold-bright); font-size: 13px; font-weight: 600; }
.play-icon { margin-right: 7px; font-size: 10px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 12px;
}
.hero-note p { margin: 0; }
.hero-note strong { color: var(--ink); font-weight: 600; }
.sparkle { color: var(--gold); font-size: 28px; }
.hero-art-wrap { position: relative; min-width: 0; }
.hero-copy, .adventure-copy, .hero-cards { min-width: 0; }
.art-glow {
  position: absolute;
  inset: 12% 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(81, 92, 178, 0.22);
  filter: blur(65px);
}
.hero-art {
  position: relative;
  height: 500px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 199, 111, 0.58);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 26px 75px rgba(0, 0, 0, 0.42), 0 0 0 6px rgba(239, 199, 111, 0.035);
}
.hero-art::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(8, 12, 27, 0.88));
  content: "";
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-art figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-pin { color: var(--gold); font-size: 22px; }
.hero-art figcaption strong, .hero-art figcaption small { display: block; }
.hero-art figcaption strong { font: 700 11px var(--serif); letter-spacing: 0.15em; }
.hero-art figcaption small { margin-top: 3px; color: #d3ccbc; font-size: 11px; }
.floating-note {
  position: absolute;
  right: -28px;
  bottom: 55px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border: 1px solid rgba(239, 199, 111, 0.48);
  border-radius: 5px;
  background: rgba(13, 18, 38, 0.92);
  box-shadow: 0 12px 30px #0005;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  line-height: 1.7;
}
.floating-note strong { color: var(--gold-bright); font-size: 10px; }
.note-icon { color: var(--gold); font-size: 20px; }
.scroll-cue {
  position: absolute;
  bottom: 29px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c8f9e;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.scroll-cue span { color: var(--gold); font-size: 17px; }

.section-shell { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }
.world-section { padding-top: 96px; padding-bottom: 105px; }
.section-heading { max-width: 650px; margin: 0 auto 48px; text-align: center; }
.section-heading h2, .adventure-copy h2 { font-size: clamp(32px, 4vw, 46px); }
.section-heading > p:last-child, .adventure-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 14px;
}
.world-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.highlight-card {
  position: relative;
  min-height: 230px;
  padding: 26px 25px;
  border: 1px solid rgba(239, 199, 111, 0.16);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(24, 33, 56, 0.9), rgba(13, 18, 35, 0.86));
}
.highlight-number { position: absolute; top: 20px; right: 21px; color: #777989; font: 600 10px var(--serif); letter-spacing: 0.1em; }
.highlight-symbol { color: var(--gold); font-size: 25px; }
.highlight-card h3 { margin: 16px 0 8px; font: 600 17px var(--serif); }
.highlight-card p { margin: 0; color: var(--muted); font-size: 12px; }

.adventure-section {
  border-top: 1px solid rgba(239, 199, 111, 0.12);
  border-bottom: 1px solid rgba(239, 199, 111, 0.12);
  background: linear-gradient(105deg, rgba(23, 31, 56, 0.9), rgba(14, 19, 39, 0.96));
}
.adventure-inner {
  min-height: 560px;
  padding-top: 78px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 70px;
}
.adventure-copy h2 { line-height: 1.3; }
.adventure-copy > p:not(.eyebrow) { margin: 18px 0; }
.adventure-list { display: grid; gap: 10px; margin: 22px 0 25px; padding: 0; list-style: none; }
.adventure-list li { color: #ded8cb; font-size: 12px; }
.adventure-list span { margin-right: 9px; color: var(--gold); }
.hero-cards { position: relative; display: flex; justify-content: center; gap: 20px; }
.hero-cards::before {
  position: absolute;
  inset: 12% 0 7%;
  border-radius: 50%;
  background: rgba(105, 78, 159, 0.14);
  content: "";
  filter: blur(50px);
}
.character-card {
  position: relative;
  width: min(46%, 245px);
  height: 370px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 199, 111, 0.34);
  border-radius: 7px;
  background: var(--panel);
  box-shadow: 0 16px 40px #0004;
}
.character-card:nth-child(2) { transform: translateY(28px); }
.character-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.character-card::after { position: absolute; inset: 54% 0 0; background: linear-gradient(transparent, rgba(8, 12, 27, 0.94)); content: ""; }
.character-card figcaption { position: absolute; z-index: 1; right: 10px; bottom: 16px; left: 10px; text-align: center; }
.character-card figcaption span, .character-card figcaption strong { display: block; }
.character-card figcaption span { color: var(--gold); font: 700 9px var(--serif); letter-spacing: 0.14em; }
.character-card figcaption strong { margin-top: 4px; font: 600 12px var(--serif); }

.download-section { padding: 95px 24px; }
.download-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 55px 25px;
  border: 1px solid rgba(239, 199, 111, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(97, 77, 134, 0.27), transparent 62%),
    #101629;
  text-align: center;
}
.download-panel h2 { font-size: clamp(32px, 4vw, 45px); }
.download-panel > p:not(.eyebrow) { margin: 10px 0 24px; color: var(--muted); font-size: 14px; }
.download-footnote { display: block; margin-top: 20px; color: #8d90a0; font-size: 10px; }
.site-footer {
  padding: 37px 24px 28px;
  border-top: 1px solid rgba(239, 199, 111, 0.13);
  text-align: center;
}
.site-footer > p { margin: 12px 0; color: #8f92a2; font-size: 11px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 18px 0; }
.footer-links a { font-size: 11px; }
.site-footer > small { color: #747888; font-size: 10px; }

.document-page { min-height: 100vh; display: flex; flex-direction: column; }
.document-header .navbar { min-height: 72px; }
.document-header .nav-links { gap: 24px; }
.document-main { width: min(790px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 88px; flex: 1; }
.document-kicker { margin: 0 0 10px; color: var(--gold); font: 700 11px var(--serif); letter-spacing: 0.18em; text-transform: uppercase; }
.document-main h1 { margin: 0 0 12px; font: 600 clamp(36px, 6vw, 54px)/1.2 var(--serif); }
.document-intro { margin: 0 0 32px; color: var(--muted); }
.draft-notice {
  margin: 0 0 35px;
  padding: 15px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(239, 199, 111, 0.07);
  color: #d8d0bf;
  font-size: 12px;
}
.document-section { padding: 21px 0; border-top: 1px solid rgba(239, 199, 111, 0.14); }
.document-section h2 { margin: 0 0 9px; color: var(--gold-bright); font: 600 18px var(--serif); }
.document-section p, .document-section li { color: var(--muted); font-size: 13px; }
.document-section p { margin: 8px 0; }
.document-section ul { padding-left: 20px; }
.document-back { display: inline-block; margin-top: 25px; color: var(--gold-bright); font-size: 13px; }
.document-back:hover { color: var(--ink); }

@media (max-width: 900px) {
  .navbar { width: min(100% - 36px, 680px); }
  .hero { width: min(100% - 44px, 680px); min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-top: 72px; padding-bottom: 90px; }
  .hero-copy { max-width: 600px; }
  .hero-art { height: min(620px, 90vw); }
  .floating-note { right: -10px; }
  .scroll-cue { bottom: 28px; }
  .adventure-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .character-card { height: 320px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 112px; }
  .navbar { min-height: 68px; width: calc(100% - 32px); align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; padding: 14px 0; }
  .logo { font-size: 15px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 8px; }
  .nav-links a { font-size: 10px; }
  .nav-links .nav-cta { padding: 7px 9px; font-size: 9px; }
  .hero { width: calc(100% - 36px); gap: 32px; padding-top: 57px; padding-bottom: 76px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 42px); }
  .hero-description { font-size: 14px; }
  .hero-art { height: min(520px, 112vw); }
  .hero-art figcaption { right: 14px; bottom: 14px; left: 14px; }
  .floating-note { right: -4px; bottom: 50px; padding: 10px 12px; }
  .hero-note { margin-top: 31px; }
  .section-shell { width: calc(100% - 36px); }
  .world-section { padding-top: 72px; padding-bottom: 72px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .adventure-copy h2 { font-size: 34px; }
  .world-highlights { grid-template-columns: 1fr; gap: 11px; }
  .highlight-card { min-height: 0; padding: 20px; }
  .highlight-card h3 { margin-top: 10px; }
  .adventure-inner { padding-top: 66px; padding-bottom: 68px; grid-template-columns: 1fr; gap: 36px; }
  .hero-cards { gap: 13px; }
  .character-card { width: 47%; height: min(370px, 98vw); }
  .download-section { padding: 65px 18px; }
  .download-panel { padding: 43px 18px; }
  .document-header .navbar { align-items: center; flex-direction: row; justify-content: space-between; gap: 10px; }
  .document-header .nav-links { width: auto; gap: 13px; }
  .document-header .nav-links a { font-size: 11px; }
  .document-main { padding-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
