:root {
  --ink: #0B0D0C;
  --paper: #E7DDC6;
  --cinnabar: #9E3B2F;
  --jade: #4E7568;
  --gold: #C9A86A;
  --ink-soft: #1a1e1c;
  --paper-dim: #bdae91;
  --radius: 6px;
  --maxw: 1280px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.25; letter-spacing: .02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
p { color: var(--paper-dim); }
.section { padding: 96px 0; }
.eyebrow { color: var(--gold); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--sans); }
.lead { color: var(--paper); font-size: 1.05rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 30px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--cinnabar); color: var(--paper); }
.btn-primary:hover { background: #b3453a; }
.btn-ghost { border-color: var(--gold); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: rgba(201,168,106,.14); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11,13,12,.92); border-bottom: 1px solid rgba(201,168,106,.35); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.brand span { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; }
.nav-links { display: flex; gap: 30px; font-size: .95rem; }
.nav-links a { color: var(--paper-dim); transition: color .25s; position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { min-height: 40px; padding: 0 20px; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--gold); border-radius: 4px; width: 42px; height: 42px; color: var(--paper); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; margin: auto; }

/* Age gate */
.age-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(26,30,28,.97); border-top: 1px solid var(--gold);
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-size: .9rem;
}
.age-bar.hidden { display: none; }
.age-bar p { color: var(--paper); }
.age-bar .btn { min-height: 40px; padding: 0 18px; font-size: .85rem; }
.age-bar .btn-no { border-color: var(--paper-dim); color: var(--paper-dim); background: none; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  overflow: hidden; padding: 120px 0 70px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,13,12,.95) 0%, rgba(11,13,12,.85) 38%, rgba(11,13,12,.35) 72%, rgba(11,13,12,.6) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-sub { color: var(--gold); letter-spacing: .18em; font-size: .92rem; margin-bottom: 16px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-desc { font-size: 1.08rem; color: var(--paper); margin-bottom: 26px; max-width: 480px; }
.platform-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem;
  border: 1px solid rgba(201,168,106,.5); border-radius: 999px; padding: 5px 14px; color: var(--paper);
}
.tag small { color: var(--paper-dim); font-size: .72rem; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta { font-size: .8rem; color: var(--paper-dim); display: flex; gap: 20px; flex-wrap: wrap; }
.hero-meta b { color: var(--paper); font-weight: 500; }

/* Quick download strip */
.quick-strip { border-top: 1px solid rgba(201,168,106,.3); border-bottom: 1px solid rgba(201,168,106,.3); background: var(--ink-soft); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; flex-wrap: wrap; }
.strip-items { display: flex; gap: 48px; flex-wrap: wrap; }
.strip-item small { display: block; color: var(--paper-dim); font-size: .74rem; letter-spacing: .1em; margin-bottom: 4px; }
.strip-item strong { font-family: var(--serif); font-weight: 700; font-size: 1rem; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.intro-figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(201,168,106,.4); }
.intro-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.intro-text p + p { margin-top: 18px; }
.pullquote {
  font-family: var(--serif); font-size: 1.2rem; color: var(--gold); line-height: 1.6;
  border-left: 3px solid var(--cinnabar); padding-left: 20px; margin: 28px 0;
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature-card {
  position: relative; border: 1px solid rgba(201,168,106,.35); border-radius: var(--radius);
  background: var(--ink-soft); padding: 26px 24px; overflow: hidden;
  transition: transform .4s, border-color .4s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature-card h3 { color: var(--gold); margin-bottom: 10px; }
.feature-card p { font-size: .93rem; }
.feature-icon { width: 34px; height: 34px; color: var(--jade); margin-bottom: 16px; }

/* Characters */
.chara-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding: 40px 0 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.chara-scroll::-webkit-scrollbar { height: 6px; }
.chara-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,106,.4); border-radius: 3px; }
.chara-card {
  flex: 0 0 240px; scroll-snap-align: start; border: 1px solid rgba(201,168,106,.35);
  border-radius: var(--radius); overflow: hidden; background: var(--ink-soft);
}
.chara-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.chara-info { padding: 16px 18px 20px; }
.chara-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.chara-info .role { color: var(--gold); font-size: .8rem; margin-bottom: 8px; display: block; }
.chara-info p { font-size: .85rem; }

/* World strips */
.world-strip {
  position: relative; height: 300px; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(201,168,106,.3); margin-bottom: 22px;
}
.world-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.world-strip:hover img { transform: scale(1.04); }
.world-caption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 22px;
  background: linear-gradient(0deg, rgba(11,13,12,.9), rgba(11,13,12,0));
  display: flex; align-items: baseline; gap: 14px;
}
.world-caption h3 { color: var(--paper); font-size: 1.2rem; }
.world-caption span { color: var(--gold); font-size: .82rem; }

/* Loop */
.loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; position: relative; }
.loop-step { position: relative; padding: 0 20px; text-align: center; }
.loop-step::before {
  content: ""; position: absolute; top: 22px; right: 0; width: 100%; height: 1px;
  background: rgba(201,168,106,.35); z-index: 0;
}
.loop-step:last-child::before { display: none; }
.loop-num {
  position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 16px;
  border-radius: 50%; border: 1px solid var(--gold); background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; color: var(--gold);
}
.loop-step h3 { font-size: 1rem; margin-bottom: 8px; }
.loop-step p { font-size: .85rem; }

/* Version timeline */
.timeline { margin-top: 44px; border-left: 1px solid rgba(201,168,106,.35); padding-left: 28px; }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--jade); border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--gold);
}
.tl-item.current::before { background: var(--cinnabar); }
.tl-date { color: var(--gold); font-size: .82rem; letter-spacing: .08em; }
.tl-item h3 { margin: 4px 0 8px; font-size: 1.1rem; }
.badge {
  display: inline-block; font-size: .72rem; background: var(--cinnabar); color: var(--paper);
  padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; font-family: var(--sans);
}

main { padding-top: 68px; }
footer { background: var(--ink-soft); border-top: 1px solid rgba(201,168,106,.3); padding: 60px 0 30px; }
@media (max-width: 768px) {
}