:root {
  color-scheme: light;
  --ink: #171512;
  --ink-soft: #4d463d;
  --paper: #f7f0e2;
  --paper-strong: #fff9ec;
  --wash: #ebe0cd;
  --line: rgba(42, 36, 27, 0.16);
  --shadow: 0 18px 46px rgba(28, 23, 16, 0.16);
  --vermilion: #b73529;
  --vermilion-dark: #87251f;
  --jade: #2e6757;
  --gold: #c99a42;
  --night: #171a20;
  --blue: #2f4f70;
  --radius: 8px;
  --header-height: 72px;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(185, 53, 41, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 103, 87, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-size: 15px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li + li {
  margin-top: 0.5rem;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--night);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(247, 240, 226, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 249, 236, 0.94);
  box-shadow: 0 12px 32px rgba(28, 23, 16, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: grid;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(135, 37, 31, 0.28);
}

.brand-text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.site-nav a {
  padding: 7px 10px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(183, 53, 41, 0.09);
  outline: none;
}

.site-nav .nav-download {
  color: #fff;
  background: var(--vermilion);
  box-shadow: 0 8px 18px rgba(135, 37, 31, 0.24);
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  color: #171512;
  background: #f2c66e;
  box-shadow: 0 10px 24px rgba(201, 154, 66, 0.3);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.88), rgba(18, 16, 14, 0.48) 46%, rgba(18, 16, 14, 0.22)),
    linear-gradient(0deg, rgba(18, 16, 14, 0.76), rgba(18, 16, 14, 0.02) 55%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4vh 0 8vh;
  color: #fff8ec;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--vermilion);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f2c66e;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1 {
  max-width: 760px;
  margin-top: 12px;
  color: #f2c66e;
  font-size: clamp(2.25rem, 5.2vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow:
    0 3px 0 rgba(135, 37, 31, 0.72),
    0 12px 36px rgba(0, 0, 0, 0.42);
}

.hero-lede {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 248, 236, 0.9);
  font-size: clamp(0.96rem, 1.8vw, 1.12rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.btn.primary {
  color: #fff;
  background: var(--vermilion);
  box-shadow: 0 14px 26px rgba(135, 37, 31, 0.28);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--vermilion-dark);
  border-color: rgba(255, 248, 236, 0.42);
  box-shadow: 0 18px 34px rgba(135, 37, 31, 0.42);
}

.btn.secondary {
  color: #fff8ec;
  border-color: rgba(255, 248, 236, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  color: #171512;
  border-color: #f2c66e;
  background: #f2c66e;
  box-shadow: 0 18px 34px rgba(242, 198, 110, 0.22);
}

.hero-actions .btn {
  min-width: 116px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
}

.btn.large {
  min-width: 180px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 248, 236, 0.14);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 14px 16px;
  background: rgba(20, 18, 16, 0.34);
}

.hero-stats dt {
  color: rgba(255, 248, 236, 0.66);
  font-size: 0.78rem;
}

.hero-stats dd {
  margin-top: 4px;
  font-weight: 800;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.section-copy h2 {
  margin-top: 10px;
  color: var(--vermilion-dark);
  font-size: clamp(1.38rem, 2.45vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p:last-child,
.section-copy > p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.two-column,
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 36px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1fr);
}

.media-panel {
  overflow: hidden;
  border: 1px solid rgba(42, 36, 27, 0.14);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.media-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 53, 41, 0.26);
  box-shadow: 0 24px 54px rgba(28, 23, 16, 0.2);
}

.media-panel:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

figcaption {
  padding: 11px 14px 13px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.content-map,
.guide-section,
.faq-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 154, 66, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 236, 0.72), rgba(235, 224, 205, 0.56));
  border-block: 1px solid rgba(42, 36, 27, 0.08);
}

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

.system-card {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(42, 36, 27, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 249, 236, 0.78);
  box-shadow: 0 12px 30px rgba(28, 23, 16, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 103, 87, 0.34);
  background: rgba(255, 249, 236, 0.94);
  box-shadow: 0 18px 38px rgba(28, 23, 16, 0.12);
}

.system-card span {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.88rem;
}

.system-card h3,
.feature-list h3,
.timeline-item h3,
.tips-board h3,
.compact-list h3,
.version-list h3 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.34;
  letter-spacing: 0;
}

.system-card p,
.feature-list p,
.timeline-item p,
.tips-board,
.compact-list p,
.version-list p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 14px;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(28, 23, 16, 0.22);
}

.gallery-grid .wide {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-grid figcaption {
  color: rgba(255, 248, 236, 0.78);
  background: var(--night);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feature-list article {
  padding-left: 18px;
  border-left: 3px solid var(--jade);
}

.timeline {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 20px 20px 20px 76px;
  border: 1px solid rgba(42, 36, 27, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 249, 236, 0.82);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  border-color: rgba(183, 53, 41, 0.28);
  background: rgba(255, 249, 236, 0.96);
  box-shadow: 0 14px 34px rgba(28, 23, 16, 0.1);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  background: var(--vermilion);
}

.timeline-item span {
  color: var(--jade);
  font-weight: 800;
  font-size: 0.84rem;
}

.split-panel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: stretch;
}

.tips-board {
  padding: 22px;
  border-radius: var(--radius);
  color: #f7f0e2;
  background:
    linear-gradient(135deg, rgba(201, 154, 66, 0.18), transparent),
    var(--night);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tips-board:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(17, 16, 13, 0.24);
}

.tips-board h3,
.tips-board p {
  color: #fff8ec;
}

.tips-board ul {
  margin-top: 14px;
  color: rgba(255, 248, 236, 0.82);
}

.combat-section {
  background: linear-gradient(180deg, transparent, rgba(47, 79, 112, 0.08));
}

.updates-section {
  background: var(--night);
  color: #fff8ec;
}

.updates-section .section-heading h2,
.updates-section .section-heading p:last-child {
  color: #fff8ec;
}

.updates-section .eyebrow {
  color: #f2c66e;
}

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

.version-list article {
  padding: 16px;
  border: 1px solid rgba(255, 248, 236, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.version-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 198, 110, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.version-list h3 {
  color: #f2c66e;
}

.version-list p {
  color: rgba(255, 248, 236, 0.78);
}

.download-section {
  padding-top: 62px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(42, 36, 27, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(183, 53, 41, 0.08), transparent 34%),
    var(--paper-strong);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 53, 41, 0.26);
  box-shadow: 0 24px 56px rgba(28, 23, 16, 0.18);
}

.download-card h2 {
  margin-top: 10px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.download-card p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(42, 36, 27, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 249, 236, 0.84);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

details:hover,
details[open] {
  border-color: rgba(183, 53, 41, 0.24);
  background: rgba(255, 249, 236, 0.96);
  box-shadow: 0 12px 28px rgba(28, 23, 16, 0.08);
}

summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
  transition: color 160ms ease;
}

details:hover summary,
details[open] summary {
  color: var(--vermilion-dark);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--vermilion);
  font-size: 1.25rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 16px 16px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 248, 236, 0.76);
  background: #11100d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: #fff8ec;
}

.site-footer p {
  margin-top: 14px;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #fff8ec;
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 28px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 249, 236, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 16, 14, 0.72), rgba(18, 16, 14, 0.54) 45%, rgba(18, 16, 14, 0.86)),
      linear-gradient(90deg, rgba(18, 16, 14, 0.62), rgba(18, 16, 14, 0.12));
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 3.35rem);
  }

  .hero-content {
    padding: 36px 0 44px;
  }

  .hero-stats,
  .two-column,
  .two-column.reverse,
  .split-panel,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 0;
  }

  .system-grid,
  .version-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 54px 0;
  }

  .gallery-grid .wide {
    grid-row: auto;
  }

  .download-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 620px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-stats,
  .system-grid,
  .version-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 14px;
  }

  .section-heading h2,
  .section-copy h2,
  .download-card h2 {
    font-size: 1.35rem;
  }

  .timeline-item {
    padding: 18px;
  }

  .timeline-item::before {
    position: static;
    margin-bottom: 12px;
  }

  .media-panel img,
  .gallery-grid img {
    min-height: auto;
  }
}
