:root {
  color-scheme: dark;
  --forest-950: #061d1a;
  --forest-900: #0a2b27;
  --forest-800: #0d3d36;
  --forest-700: #14594e;
  --cream: #fff5dc;
  --cream-soft: #e9ddc2;
  --gold: #f5c75b;
  --coral: #ff7773;
  --ruby: #e84952;
  --teal: #18b5a4;
  --line: rgba(255, 245, 220, .15);
  --shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 12%, rgba(24, 181, 164, .11), transparent 28rem),
    var(--forest-950);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img { border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.24); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: rgba(255, 245, 220, .82);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--gold); }

.language-toggle {
  min-width: 72px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(5, 25, 22, .45);
  backdrop-filter: blur(12px);
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.language-toggle:hover { transform: translateY(-1px); border-color: var(--gold); background: rgba(20, 89, 78, .72); }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--forest-950));
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(6,29,26,.94) 0%, rgba(6,29,26,.58) 34%, rgba(6,29,26,.04) 63%), url("assets/hero-cast.png");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  width: min(620px, calc(100% - 72px));
  margin-left: max(36px, calc((100% - 1440px) / 2));
  padding-top: 68px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .18em;
}

h1, h2, h3, p { text-wrap: pretty; }
h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.6rem, 6.3vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.065em;
}
html[lang="zh-CN"] .hero h1 { font-size: clamp(3.7rem, 5.2vw, 5.5rem); line-height: 1.02; }

.hero-story {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 245, 220, .82);
  font-size: clamp(1.02rem, 1.35vw, 1.23rem);
  line-height: 1.68;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #173129; background: var(--gold); box-shadow: 0 12px 30px rgba(245,199,91,.2); }
.button-primary:hover { box-shadow: 0 16px 38px rgba(245,199,91,.3); }
.button-quiet { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
.button-quiet:hover { background: rgba(255,255,255,.12); }

.tension-strip {
  border-block: 1px solid var(--line);
  background: var(--coral);
  color: #341a19;
  overflow: hidden;
}
.tension-strip p {
  width: 100%;
  margin: 0;
  padding: 18px 36px;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  font-weight: 850;
  text-align: center;
  letter-spacing: -.02em;
}

.section-shell { width: min(1320px, calc(100% - 72px)); margin: 0 auto; }
.cast { padding: 132px 0; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
h2 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }

.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cast-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.cast-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: currentColor;
  filter: blur(62px);
  opacity: .18;
}
.card-index { color: rgba(255,245,220,.43); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.cast-symbol { margin: 48px 0 32px; font-size: 4rem; font-weight: 900; line-height: 1; }
.cast-symbol sup { font-size: .36em; vertical-align: top; }
.cast-card h3 { margin: 0; font-size: 1.55rem; }
.cast-card p { margin: 14px 0 0; color: rgba(255,245,220,.68); line-height: 1.62; }
.cast-pig { color: var(--coral); }
.cast-sheep { color: var(--gold); }
.cast-doubler { color: var(--teal); }
.cast-hearts { color: var(--ruby); }

.mind-game {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(60px, 9vw, 150px);
  padding: 110px 0 150px;
  border-top: 1px solid var(--line);
}
.mind-copy p:last-child { color: rgba(255,245,220,.68); font-size: 1.08rem; line-height: 1.75; }
.feature-list { border-top: 1px solid var(--line); }
.feature-list div {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) 1.3fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list strong { color: var(--gold); }
.feature-list span { color: rgba(255,245,220,.7); line-height: 1.58; }

.launch { padding: 0 0 130px; }
.launch-card {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(245,199,91,.3);
  border-radius: 36px;
  color: #173129;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.launch-card img { flex: 0 0 auto; border-radius: 28px; }
.launch-card h2 { max-width: 930px; font-size: clamp(2.2rem, 4vw, 4rem); }
.launch-card p:last-child { margin: 18px 0 0; color: rgba(23,49,41,.7); font-size: 1.08rem; }
.launch-card .eyebrow { color: #a46a00; }

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: rgba(255,245,220,.55);
  font-size: .88rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.privacy-page .site-header { position: relative; }
.privacy-shell { width: min(880px, calc(100% - 72px)); margin: 0 auto; padding: 110px 0 130px; }
.privacy-intro { padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.privacy-intro h1 { font-size: clamp(3.3rem, 7vw, 6rem); }
.privacy-intro > p:last-child { margin: 22px 0 0; color: rgba(255,245,220,.6); }
.privacy-content { padding-top: 42px; color: rgba(255,245,220,.75); font-size: 1.02rem; line-height: 1.76; }
.privacy-content h2 { margin: 54px 0 16px; color: var(--cream); font-size: 1.7rem; letter-spacing: -.025em; }
.privacy-content h3 { margin: 26px 0 8px; color: var(--gold); font-size: 1.05rem; }
.privacy-content p { margin: 0 0 16px; }
.privacy-content ul { margin: 10px 0 0; padding-left: 22px; }
.privacy-content ol { margin: 10px 0 22px; padding-left: 24px; }
.privacy-content li { margin: 8px 0; }
.privacy-content strong { color: var(--cream); }
.privacy-content a { color: var(--gold); text-underline-offset: 4px; }

.reveal { animation: reveal .7s both cubic-bezier(.2,.7,.2,1); }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { animation: none; } }

@media (max-width: 1050px) {
  .hero-art { opacity: .62; background-position: 58% center; }
  .hero-copy { width: min(650px, calc(100% - 72px)); }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .mind-game { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 680px) {
  .site-header, .section-shell, .site-footer, .privacy-shell { width: min(100% - 36px, 1320px); }
  .site-header { padding: 16px 0; }
  .brand span { display: none; }
  .brand img { width: 42px; height: 42px; }
  .site-nav { gap: 14px; }
  .site-nav a:first-child { display: none; }
  .hero { min-height: 100vh; min-height: 100svh; align-items: end; }
  .hero-art {
    background-image: linear-gradient(0deg, rgba(6,29,26,.98) 8%, rgba(6,29,26,.35) 72%), url("assets/hero-cast.png");
    background-position: 61% center;
  }
  .hero-copy { width: auto; margin: 0 18px; padding: 0 0 70px; }
  h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-story { font-size: .98rem; line-height: 1.58; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .cast { padding: 88px 0; }
  .cast-grid { grid-template-columns: 1fr; }
  .cast-card { min-height: 280px; }
  .cast-symbol { margin: 34px 0 24px; }
  .mind-game { padding: 80px 0 100px; }
  .feature-list div { grid-template-columns: 1fr; gap: 8px; }
  .launch { padding-bottom: 86px; }
  .launch-card { align-items: flex-start; flex-direction: column; border-radius: 26px; }
  .launch-card img { width: 84px; height: 84px; border-radius: 22px; }
  .site-footer { gap: 20px; }
  .privacy-shell { padding: 78px 0 92px; }
}
