:root {
  color-scheme: dark;
  --ink: #080711;
  --ink-2: #0f0b1b;
  --panel: #151025;
  --panel-soft: #1b1430;
  --line: rgba(239, 211, 154, .18);
  --text: #f4efe7;
  --muted: #b8afc2;
  --gold: #d9ad60;
  --gold-light: #f1d49a;
  --violet: #7453ad;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
body::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl { margin-top: 0; }

.draft-banner {
  position: relative;
  z-index: 30;
  padding: .55rem 1rem;
  background: #8a471b;
  color: #fff3dc;
  text-align: center;
  font-size: .86rem;
  letter-spacing: .04em;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(5, 4, 11, .86), rgba(5, 4, 11, .06));
}
.draft-banner + .site-header { top: 39px; }
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: rgba(8, 7, 17, .5);
  font: 700 1.2rem Georgia, serif;
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 4px rgba(217, 173, 96, .08);
}
.brand-symbol::first-letter { transform: rotate(-45deg); }
.brand-copy, .footer-brand p { display: grid; margin: 0; line-height: 1.1; }
.brand-copy strong, .footer-brand strong { font-size: .98rem; letter-spacing: .12em; }
.brand-copy small, .footer-brand small { margin-top: .35rem; color: #a69bad; font-size: .58rem; letter-spacing: .24em; }
nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
nav a { position: relative; color: #d7d0dd; text-decoration: none; font-size: .86rem; letter-spacing: .08em; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -.55rem; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
nav a:hover::after, nav a:focus-visible::after { width: 100%; }
.header-status { display: inline-flex; align-items: center; gap: .5rem; color: #d6cedc; font-size: .74rem; letter-spacing: .08em; }
.header-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 5, 14, .96) 0%, rgba(7, 5, 17, .72) 32%, rgba(7, 5, 17, .04) 62%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%),
    url("hero-bg.jpg") center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 58% 36%, transparent 0, rgba(6, 5, 14, .1) 28%, rgba(6, 5, 14, .35) 80%); pointer-events: none; }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  padding-top: 8rem;
}
.hero-eyebrow, .eyebrow { margin-bottom: 1.2rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .28em; }
.game-logo { width: min(520px, 48vw); height: auto; margin: -5rem 0 -4.6rem -1.7rem; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.hero h1 { margin-bottom: 1rem; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(2.7rem, 5.3vw, 5.2rem); font-weight: 500; letter-spacing: .08em; line-height: 1.15; text-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
.hero-lead { max-width: 640px; margin-bottom: 2rem; color: #d0c7d6; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-width: 168px; min-height: 48px; align-items: center; justify-content: center; padding: .7rem 1.35rem; border: 1px solid; text-decoration: none; font-size: .86rem; letter-spacing: .08em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { border-color: var(--gold-light); color: #17101e; background: linear-gradient(135deg, #f2d99e, #c79648); box-shadow: 0 10px 30px rgba(217, 173, 96, .18); }
.button-ghost { border-color: rgba(255, 255, 255, .28); background: rgba(8, 7, 17, .32); backdrop-filter: blur(8px); }
.hero-meta { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 6.2rem; display: flex; align-items: center; gap: 1rem; }
.hero-meta > span { color: var(--gold); font: 400 2.6rem Georgia, serif; }
.hero-meta p { display: grid; margin: 0; padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, .24); line-height: 1.3; }
.hero-meta small { margin-top: .35rem; color: #b7adbd; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 2.1rem; display: inline-flex; align-items: center; gap: .7rem; color: #b9afbe; text-decoration: none; font-size: .57rem; letter-spacing: .22em; transform: translateX(-50%); }
.scroll-cue span { width: 36px; height: 1px; background: var(--gold); }

.manifesto, .feature-section, .company-section, .contact-section, footer, .document {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.manifesto { position: relative; display: grid; grid-template-columns: .3fr 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: 8rem 0; }
.section-number { color: rgba(217, 173, 96, .28); font: 400 clamp(3.8rem, 8vw, 7rem) Georgia, serif; line-height: 1; }
.manifesto h2, .section-heading h2, .company-intro h2, .responsibility h2, .contact-section h2 { margin-bottom: 0; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 400; line-height: 1.2; }
.manifesto-text > p { margin-bottom: 2rem; color: var(--muted); }
.quick-facts { display: grid; gap: .8rem; }
.quick-facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.quick-facts dt { color: #8e8397; font-size: .78rem; }
.quick-facts dd { margin: 0; color: #ded5e3; font-size: .85rem; text-align: right; }

.world-feature { position: relative; min-height: 720px; overflow: hidden; }
.world-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 7, 17, .08), rgba(8, 7, 17, .15) 48%, rgba(8, 7, 17, .85)), linear-gradient(0deg, rgba(8, 7, 17, .9), transparent 25%); }
.world-feature > img { width: 100%; height: 720px; object-fit: cover; }
.world-caption { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--max)) / 2)); top: 50%; max-width: 480px; transform: translateY(-50%); }
.world-caption h2 { font-family: "STKaiti", "KaiTi", serif; font-size: clamp(2.5rem, 4.8vw, 4.5rem); font-weight: 400; line-height: 1.25; }

.feature-section { padding: 8rem 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { margin-bottom: .5rem; color: var(--muted); }
.feature-track { display: grid; grid-auto-columns: minmax(250px, 1fr); grid-auto-flow: column; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-color: var(--gold) var(--panel); }
.feature-card { position: relative; min-width: 250px; aspect-ratio: 9 / 15; margin-bottom: 0; overflow: hidden; border: 1px solid var(--line); background: var(--panel); scroll-snap-align: start; }
.feature-card::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(0deg, rgba(7, 5, 14, .96), transparent); }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover img { transform: scale(1.035); }
.feature-card figcaption { position: absolute; z-index: 2; left: 1.25rem; right: 1.25rem; bottom: 1.2rem; display: grid; }
.feature-card figcaption span { margin-bottom: .35rem; color: var(--gold); font: 400 1rem Georgia, serif; }
.feature-card figcaption strong { font-size: 1.25rem; letter-spacing: .08em; }
.feature-card figcaption small { margin-top: .3rem; color: #bbb1c1; line-height: 1.5; }

.company-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: 8rem 0; border-top: 1px solid var(--line); }
.company-intro > p:last-child { max-width: 540px; margin-top: 2rem; color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid article { min-height: 230px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(29, 21, 48, .6), rgba(13, 10, 24, .4)); }
.capability-grid span { color: var(--gold); font: 400 .9rem Georgia, serif; }
.capability-grid h3 { margin: 2.2rem 0 .5rem; font-size: 1.1rem; }
.capability-grid p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.responsibility { position: relative; padding: 8rem max(24px, calc((100vw - var(--max)) / 2)); overflow: hidden; background: linear-gradient(115deg, rgba(30, 17, 54, .98), rgba(11, 8, 22, .98)), url("game-logo.png") 110% center / 50% auto no-repeat; }
.responsibility::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -120px; border: 1px solid rgba(217, 173, 96, .15); border-radius: 50%; box-shadow: 0 0 0 80px rgba(217, 173, 96, .03), 0 0 0 160px rgba(217, 173, 96, .02); }
.responsibility h2 { max-width: 760px; }
.responsibility > p:not(.eyebrow) { max-width: 760px; margin: 1.6rem 0; color: var(--muted); }
.responsibility a { color: var(--gold-light); text-decoration: none; font-size: .88rem; }
.responsibility a span { margin-left: .4rem; }

.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: 8rem 0; }
.contact-section > div > p:last-child { max-width: 460px; margin-top: 1.4rem; color: var(--muted); }
.contact-section dl { margin: 0; border-top: 1px solid var(--line); }
.contact-section dl div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.contact-section dt { color: #8e8397; font-size: .8rem; }
.contact-section dd { margin: 0; overflow-wrap: anywhere; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: #918796; font-size: .75rem; }
.footer-brand .brand-symbol { width: 34px; height: 34px; font-size: .9rem; }
footer > p { margin: 0; }
.filing { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem; }
.filing a { color: #aaa0ae; }

.document-page { background: radial-gradient(circle at 80% 8%, rgba(79, 51, 125, .25), transparent 36rem), var(--ink); }
.document-header { position: relative; top: auto; background: rgba(8, 7, 17, .78); }
.draft-banner + .document-header { top: auto; }
.document { padding: 6rem 0 8rem; }
.document-title { max-width: 800px; margin-bottom: 5rem; }
.document-title h1 { margin-bottom: .7rem; font-family: "STKaiti", "KaiTi", serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; }
.document-title > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.document-title > span { color: #8e8397; font-size: .76rem; }
.document-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(3rem, 8vw, 8rem); }
.document-layout aside { position: sticky; top: 2rem; align-self: start; display: grid; border-top: 1px solid var(--line); }
.document-layout aside a { padding: .8rem 0; border-bottom: 1px solid var(--line); color: #9c92a2; text-decoration: none; font-size: .82rem; }
.document-layout article { max-width: 800px; }
.document-layout section { position: relative; padding: 0 0 3.2rem 3.4rem; }
.document-layout section > span { position: absolute; left: 0; top: .1rem; color: var(--gold); font: 400 .9rem Georgia, serif; }
.document-layout h2 { margin-bottom: 1rem; font-size: 1.45rem; }
.document-layout p { color: #c3bac8; }

@media (max-width: 980px) {
  .header-status { display: none; }
  .manifesto { grid-template-columns: .2fr 1fr; }
  .manifesto-text { grid-column: 2; }
  .company-section, .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .filing { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .draft-banner + .site-header { top: 58px; }
  .header-inner { width: min(100% - 28px, var(--max)); min-height: 72px; }
  .brand-symbol { width: 36px; height: 36px; }
  nav { display: none; }
  .hero { min-height: 820px; align-items: end; background-position: 62% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 5, 14, .98) 0%, rgba(6, 5, 14, .62) 48%, rgba(6, 5, 14, .08) 80%); }
  .hero-content { width: min(100% - 32px, var(--max)); padding: 0 0 9.5rem; }
  .game-logo { width: min(420px, 94vw); margin: -3.5rem 0 -3.8rem -1rem; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .hero-lead br { display: none; }
  .hero-actions .button { flex: 1 1 150px; min-width: 0; }
  .hero-meta { left: 16px; right: auto; bottom: 4.1rem; }
  .scroll-cue { display: none; }
  .manifesto, .feature-section, .company-section, .contact-section, footer, .document { width: min(100% - 32px, var(--max)); }
  .manifesto { grid-template-columns: 1fr; gap: 1.5rem; padding: 5rem 0; }
  .manifesto-text { grid-column: auto; }
  .section-number { font-size: 3.8rem; }
  .world-feature, .world-feature > img { min-height: 620px; height: 620px; }
  .world-feature > img { object-position: 62% center; }
  .world-feature::after { background: linear-gradient(0deg, rgba(8, 7, 17, .92), rgba(8, 7, 17, .05) 75%); }
  .world-caption { left: 24px; right: 24px; top: auto; bottom: 3rem; transform: none; }
  .feature-section { padding: 5rem 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1.1rem; }
  .feature-track { grid-auto-columns: 78vw; }
  .company-section, .contact-section { padding: 5rem 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 190px; }
  .responsibility { padding-block: 5rem; }
  .contact-section dl div { grid-template-columns: 1fr; gap: .25rem; }
  .document { padding: 4rem 0 6rem; }
  .document-title { margin-bottom: 3rem; }
  .document-layout { grid-template-columns: 1fr; }
  .document-layout aside { position: static; grid-template-columns: 1fr 1fr; }
  .document-layout section { padding-left: 2.6rem; }
}

/* 官网与游戏内共用的问题反馈页。 */
.support-page { min-height: 100vh; background: radial-gradient(circle at 50% 0, #261b32 0, #0b0911 48%, #060508 100%); color: #eee8f1; }
.support-shell { width: min(100% - 32px, 760px); margin: 0 auto; padding: clamp(32px, 8vw, 80px) 0; }
.support-card { padding: clamp(24px, 5vw, 48px); border: 1px solid rgba(203, 164, 87, .32); background: rgba(14, 12, 19, .94); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.support-card h1 { margin: .35rem 0 1rem; font-size: clamp(2rem, 6vw, 3.4rem); }
.support-context { color: #d7c191; }
.support-note { padding: .9rem 1rem; border-left: 2px solid var(--gold); background: rgba(203, 164, 87, .08); color: #c9c0cd; }
.support-errors { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid #a94848; color: #ffd1d1; background: rgba(118, 28, 28, .22); }
.support-card form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.support-card label { display: grid; gap: .45rem; color: #d8d0dc; font-size: .9rem; }
.support-card input, .support-card select, .support-card textarea { width: 100%; box-sizing: border-box; padding: .78rem .9rem; border: 1px solid #514958; border-radius: 2px; background: #0b0a0f; color: #f5f0f7; font: inherit; }
.support-card textarea { resize: vertical; }
.support-card input:focus, .support-card select:focus, .support-card textarea:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.support-card small { color: #9e95a3; }
.support-card button { justify-self: start; border: 0; cursor: pointer; }
.support-success { text-align: center; }

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