:root {
  color-scheme: dark;
  --bg: #070b0d;
  --panel: rgba(17, 22, 23, 0.84);
  --ink: #f3ead7;
  --muted: #b7aa92;
  --dim: #827762;
  --gold: #d8aa58;
  --gold-light: #ffe2a1;
  --red: #a94c3e;
  --cyan: #78d7df;
  --line: rgba(216, 170, 88, 0.26);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(7, 11, 13, 0.96), rgba(9, 14, 15, 1) 720px),
    radial-gradient(circle at 14% 6%, rgba(216, 170, 88, 0.17), transparent 26rem),
    radial-gradient(circle at 88% 16%, rgba(93, 176, 182, 0.14), transparent 24rem),
    radial-gradient(circle at 50% 50%, rgba(118, 75, 39, 0.06), transparent 38rem),
    var(--bg);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", "PingFang SC", serif;
  font-size: 15px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 226, 161, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 226, 161, 0.026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  transform: translateY(-140%);
  z-index: 100;
  padding: 9px 13px;
  background: var(--gold);
  color: #15100a;
  border-radius: 6px;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header);
  background: rgba(8, 11, 14, 0.74);
  border-bottom: 1px solid rgba(216, 170, 88, 0.18);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  min-height: var(--header);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 16px rgba(216, 170, 88, 0.38));
}

.brand span { display: grid; gap: 1px; }
.brand strong {
  font-size: 17px;
  line-height: 1.1;
  color: var(--gold-light);
  letter-spacing: 0;
}
.brand small {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
  font-family: Georgia, serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--gold-light);
  background: rgba(216, 170, 88, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  min-width: 58px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0 12px;
  color: var(--gold-light);
  font: 700 14px/1 "Microsoft YaHei", "PingFang SC", sans-serif;
}

.section-anchor { scroll-margin-top: calc(var(--header) + 22px); }

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 34px 0 38px;
  border-bottom: 1px solid rgba(216, 170, 88, 0.18);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.9) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(216, 170, 88, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(7, 11, 13, 0.97), rgba(8, 18, 19, 0.72) 44%, rgba(7, 11, 13, 0.9)),
    linear-gradient(180deg, rgba(13, 26, 26, 0.36), rgba(7, 11, 13, 0.98));
}

.hero-vein {
  position: absolute;
  inset: 10% 0 auto auto;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 170, 88, 0.28);
  border-radius: 50%;
  transform: translate(18%, -12%);
  z-index: -2;
  opacity: 0.55;
}
.hero-vein::before,
.hero-vein::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(120, 215, 223, 0.22);
  border-radius: 50%;
}
.hero-vein::after {
  inset: 28%;
  border-color: rgba(216, 170, 88, 0.24);
  transform: rotate(45deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font: 700 13px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--gold-light);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
  color: #fff1c8;
}
h3 {
  margin: 0;
  color: #ffe6ae;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  margin: 18px 0 0;
  max-width: 780px;
  color: #decfb3;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font: 700 15px/1.2 "Microsoft YaHei", "PingFang SC", sans-serif;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn-primary {
  color: #1d1305;
  border-color: #f4ce82;
  background: linear-gradient(135deg, #ffe7a3, #d8aa58 55%, #a86631);
  box-shadow: 0 12px 34px rgba(216, 170, 88, 0.26);
}
.btn-ghost { background: rgba(216, 170, 88, 0.11); color: var(--gold-light); }
.btn-line { background: rgba(8, 11, 14, 0.22); color: var(--muted); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  max-width: 740px;
}
.hero-stats div {
  padding: 14px 16px;
  border: 1px solid rgba(216, 170, 88, 0.22);
  border-radius: var(--radius);
  background: rgba(10, 18, 18, 0.58);
}
.hero-stats dt {
  margin: 0 0 4px;
  color: var(--dim);
  font: 700 12px/1.2 "Microsoft YaHei", "PingFang SC", sans-serif;
}
.hero-stats dd {
  margin: 0;
  color: #fff1c8;
  font-size: 14px;
}

.hero-card,
.image-panel,
.wide-shot,
.gallery-grid figure {
  margin: 0;
  border: 1px solid rgba(216, 170, 88, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(216, 170, 88, 0.055), rgba(93, 176, 182, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.intro-band,
.section,
.story-section,
.gallery-section,
.download-section { padding: 72px 0; }

.intro-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(216, 170, 88, 0.11), transparent 24rem),
    linear-gradient(90deg, rgba(118, 75, 39, 0.2), rgba(15, 16, 13, 0.9) 46%, rgba(7, 13, 14, 0.98)),
    #11100d;
}

.section {
  background:
    radial-gradient(circle at 86% 14%, rgba(93, 176, 182, 0.09), transparent 25rem),
    linear-gradient(180deg, #081012, #0a0d0e);
}

.two-column,
.story-grid,
.guide-layout,
.download-grid {
  max-width: 760px;
}
.two-column { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr); }
.story-grid { grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr); gap: 46px; }
.guide-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr); gap: 22px; align-items: start; }

.section-copy p:not(.eyebrow),
.section-head p,
.chapter-copy p,
.download-copy p {
  color: #d1c2a7;
  margin: 14px 0 0;
}

.section-subtitle {
  color: #ead8b7 !important;
  font-size: 17px;
  margin-top: 12px !important;
}

.image-panel img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

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

.feature-card,
.method-panel,
.guide-step,
.timeline-item,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(216, 170, 88, 0.055), rgba(93, 176, 182, 0.025) 48%, rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.feature-card {
  position: relative;
  min-height: 198px;
  padding: 22px;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 42%;
  height: 90px;
  transform: rotate(-10deg);
  background: linear-gradient(90deg, transparent, rgba(216, 170, 88, 0.14), transparent);
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(216, 170, 88, 0.38);
  border-radius: 50%;
  color: var(--gold-light);
  font-weight: 700;
}

.feature-card p,
.guide-step p,
.method-panel li,
.timeline-item p,
.faq-list p,
.role-list p {
  color: #cabca2;
  margin: 12px 0 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.story-section {
  background:
    radial-gradient(circle at 18% 28%, rgba(149, 55, 43, 0.17), transparent 25rem),
    radial-gradient(circle at 82% 18%, rgba(216, 170, 88, 0.13), transparent 28rem),
    linear-gradient(180deg, #090b0c, #120c0b 46%, #080b0d);
}
.wide-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.role-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.role-list article {
  padding: 16px;
  border-left: 2px solid var(--gold);
  background: rgba(216, 170, 88, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.guide-main { display: grid; gap: 16px; }
.guide-step { padding: 20px; }
.method-panel {
  position: sticky;
  top: calc(var(--header) + 22px);
  padding: 22px;
}

.method-panel ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.method-panel li {
  position: relative;
  padding-left: 18px;
}
.method-panel li + li { margin-top: 13px; }
.method-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.gallery-section {
  background:
    radial-gradient(circle at 70% 12%, rgba(93, 176, 182, 0.12), transparent 24rem),
    linear-gradient(180deg, #071012, #0c0e10);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 18px;
}

.updates-section {
  border-top: 1px solid rgba(216, 170, 88, 0.14);
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 170, 88, 0.13), transparent 28rem),
    linear-gradient(180deg, #0f0d09, #080b0d);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.timeline-item {
  position: relative;
  padding: 20px 20px 20px 24px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: linear-gradient(var(--gold-light), var(--red));
}
.timeline-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font: 700 13px/1.3 "Microsoft YaHei", "PingFang SC", sans-serif;
}

.download-section {
  background:
    radial-gradient(circle at 30% 50%, rgba(216, 170, 88, 0.16), transparent 24rem),
    radial-gradient(circle at 78% 30%, rgba(93, 176, 182, 0.14), transparent 26rem),
    linear-gradient(135deg, #12100c, #071314 62%, #090b0d);
  border-block: 1px solid rgba(216, 170, 88, 0.18);
}

.faq-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(118, 75, 39, 0.14), transparent 24rem),
    linear-gradient(180deg, #080b0d, #0d0f0f);
}
.download-copy .btn { margin-top: 28px; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0; }
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: #ffe6ae;
  font: 700 17px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list p { padding: 0 22px 20px; }

.site-footer {
  padding: 38px 0;
  background:
    linear-gradient(180deg, #07090b, #050707),
    #07090b;
  border-top: 1px solid rgba(216, 170, 88, 0.18);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand img { width: 42px; height: 42px; }
.site-footer p {
  margin: 14px 0 0;
  color: var(--dim);
  font: 14px/1.7 "Microsoft YaHei", "PingFang SC", sans-serif;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: var(--muted);
  font: 14px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--gold-light); outline: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --header: 68px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(8, 11, 14, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .hero { min-height: auto; padding: 30px 0 34px; }
  .hero-grid,
  .two-column,
  .story-grid,
  .guide-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .feature-grid,
  .timeline,
  .role-list { grid-template-columns: 1fr 1fr; }
  .method-panel { position: static; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container,
  .nav-wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand strong { font-size: 16px; }
  .brand small {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  h1 { font-size: clamp(32px, 10vw, 46px); }
  h2 { font-size: 25px; }
  .lead { font-size: 15px; }
  .hero-stats,
  .feature-grid,
  .timeline,
  .role-list { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero { padding: 24px 0 28px; }
  .intro-band,
  .section,
  .story-section,
  .gallery-section,
  .download-section { padding: 50px 0; }
  .feature-card { min-height: auto; }
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links { justify-content: flex-start; }
}
