:root {
  color-scheme: dark;
  --bg: #0b0412;
  --bg-2: #140821;
  --panel: rgba(25, 11, 38, .86);
  --panel-strong: rgba(32, 13, 49, .94);
  --line: rgba(198, 121, 255, .30);
  --line-strong: rgba(204, 116, 255, .62);
  --text: #f0e9f7;
  --muted: #c9bbd8;
  --soft: #9f8daf;
  --violet: #b650ff;
  --green: #65f7b4;
  --pink: #ff4da6;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .48);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 92px; }
body {
  margin: 0;
  padding-top: 72px;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 5%, rgba(182, 80, 255, .25), transparent 34rem),
    radial-gradient(circle at 12% 18%, rgba(101, 247, 180, .08), transparent 30rem),
    linear-gradient(180deg, #13071f 0%, #07030d 52%, #12071d 100%);
  line-height: 1.75;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,.12));
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { color: var(--muted); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--green); color: #06100c; padding: 10px 14px; font-weight: 900; }
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(8, 3, 14, .74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(199, 118, 255, .22);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { background: rgba(8, 3, 14, .94); box-shadow: 0 16px 40px rgba(0,0,0,.36); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 950; min-width: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(204,116,255,.36);
  background: rgba(18, 7, 29, .62);
  box-shadow: 0 0 24px rgba(182,80,255,.28);
  overflow: hidden;
}
.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}
.site-nav a {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.site-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(182,80,255,.18), rgba(101,247,180,.10));
  opacity: 0;
  transition: opacity .18s ease;
}
.site-nav a > * {
  position: relative;
  z-index: 1;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(182,80,255,.68);
  background: rgba(182,80,255,.12);
  box-shadow: 0 0 22px rgba(182,80,255,.18);
}
.site-nav a:hover::before, .site-nav a:focus-visible::before { opacity: 1; }
.site-nav .nav-download {
  margin-left: 8px;
  color: #07120e;
  background: linear-gradient(135deg, var(--green), #d2ffe8);
  border-color: rgba(101,247,180,.62);
}
.nav-toggle { display: none; }
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 76px max(18px, calc((100vw - var(--max)) / 2)) 62px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,3,13,.96) 0%, rgba(15,6,24,.82) 42%, rgba(15,6,24,.36) 100%),
    url("img/tu4.webp") center/cover no-repeat;
  transform: scale(1.03);
  opacity: .85;
}
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(340px, .78fr);
  align-items: center;
  gap: 42px;
}
.hero-copy { min-width: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-badges span {
  padding: 7px 11px;
  color: #f8f3ff;
  background: rgba(28,12,44,.72);
  border: 1px solid rgba(204,116,255,.36);
  font-size: 13px;
  font-weight: 900;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.6px;
}
h1, h2, h3 { margin: 0; line-height: 1.16; letter-spacing: 0; overflow-wrap: anywhere; }
h1,
h2 {
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #d9c7ff 38%, var(--violet) 68%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 { font-size: clamp(38px, 6vw, 78px); font-weight: 950; text-shadow: 0 0 28px rgba(182,80,255,.42), 0 8px 28px rgba(0,0,0,.68); }
h2 { font-size: clamp(26px, 3.3vw, 40px); }
h3 { font-size: 21px; }
.hero-subtitle { max-width: 700px; margin: 22px 0 0; color: #eee5f8; font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  font-weight: 950;
  border: 1px solid var(--line-strong);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(182,80,255,.24), 0 16px 34px rgba(0,0,0,.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
  box-shadow: 0 0 38px rgba(101,247,180,.38), 0 18px 34px rgba(0,0,0,.30);
}
.btn-primary { color: #06120d; background: linear-gradient(135deg, var(--green), #d9ffec); box-shadow: 0 0 34px rgba(101,247,180,.30); }
.btn-secondary { color: #fff; background: rgba(30,12,48,.78); }
.hero-panel {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(204,116,255,.42);
  background: rgba(10,4,17,.70);
  box-shadow: var(--shadow), 0 0 54px rgba(182,80,255,.22);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.hero-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(101,247,180,.50);
  box-shadow: var(--shadow), 0 0 72px rgba(182,80,255,.30);
}
.version-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: rgba(204,116,255,.18); }
.version-grid div { min-width: 0; padding: 15px; background: rgba(18,7,29,.94); transition: background .2s ease, box-shadow .2s ease; }
.version-grid div:hover { background: rgba(31,12,49,.96); box-shadow: inset 0 0 22px rgba(182,80,255,.16); }
.version-grid b { display: block; color: #fff; font-size: 14px; }
.version-grid span { color: var(--muted); font-size: 13px; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--soft); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.quick-nav {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: -26px auto 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 8px;
}
.quick-nav a {
  min-height: 52px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  background: rgba(25,11,38,.96);
  border: 1px solid rgba(197,118,255,.30);
  color: var(--muted);
  font-weight: 950;
}
.quick-nav a {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.quick-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--green));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.quick-nav a:hover,
.quick-nav a:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--green);
  background: rgba(35,15,55,.98);
  box-shadow: 0 0 28px rgba(101,247,180,.12), 0 14px 32px rgba(0,0,0,.28);
}
.quick-nav a:hover::after,
.quick-nav a:focus-visible::after { transform: scaleX(1); }
.section { max-width: var(--max); margin: 0 auto; padding: 84px 18px; }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading p { font-size: 17px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.glass-card, .feature-cards article, .chapter-list article, .guide-steps article, .news-grid article, .timeline-item, .faq-item, .review-grid blockquote {
  background: linear-gradient(180deg, rgba(30,12,46,.88), rgba(13,6,22,.86));
  border: 1px solid rgba(198,121,255,.30);
  box-shadow: 0 16px 42px rgba(0,0,0,.25);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.glass-card:hover,
.feature-cards article:hover,
.chapter-list article:hover,
.guide-steps article:hover,
.timeline-item:hover,
.faq-item:hover,
.review-grid blockquote:hover {
  transform: translateY(-6px);
  border-color: rgba(101,247,180,.46);
  background: linear-gradient(180deg, rgba(40,16,62,.92), rgba(15,7,26,.90));
  box-shadow: 0 0 34px rgba(182,80,255,.20), 0 24px 54px rgba(0,0,0,.34);
}
.glass-card { padding: 24px; }
.major-card { grid-row: span 2; }
.content-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 26px; align-items: stretch; }
.feature-image { margin: 0; border: 1px solid rgba(204,116,255,.38); box-shadow: var(--shadow); min-width: 0; }
.feature-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.chapter-list { display: grid; gap: 12px; }
.chapter-list article { padding: 22px; display: grid; grid-template-columns: 54px 1fr; gap: 4px 14px; }
.chapter-list span { grid-row: span 2; color: var(--green); font-weight: 950; font-size: 20px; }
.chapter-list p { margin: 8px 0 0; }
.feature-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.feature-cards article { padding: 22px; min-width: 0; }
.feature-cards b { display: block; color: #fff; font-size: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.gallery-grid figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid rgba(198,121,255,.28);
  overflow: hidden;
  min-width: 0;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.gallery-grid figure.wide { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .28s ease; }
.gallery-grid figure:hover {
  transform: translateY(-5px);
  border-color: rgba(101,247,180,.48);
  box-shadow: 0 0 34px rgba(182,80,255,.22), 0 22px 48px rgba(0,0,0,.32);
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: 14px; }
.gallery-grid figcaption { display: none; }
.guide-steps, .news-grid, .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.timeline-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.guide-steps article, .news-grid article, .timeline-item { padding: 24px; min-width: 0; }
.guide-steps span, .news-grid time { display: inline-block; margin-bottom: 10px; color: var(--green); font-weight: 950; font-size: 13px; }
.review-grid blockquote { margin: 0; padding: 24px; color: #efe8f7; font-size: 17px; }
.timeline-item ul { padding-left: 19px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq-item summary { cursor: pointer; padding: 18px 20px; color: #fff; font-weight: 950; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--green); }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 0; padding: 0 20px 18px; }
.download-section { position: relative; overflow: hidden; margin-top: 20px; }
.download-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,3,13,.94), rgba(7,3,13,.58)),
    url("img/tu1.webp") center/cover no-repeat;
}
.download-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 18px;
}
.download-content p { max-width: 680px; font-size: 18px; }
.friend-links {
  padding: 42px 18px 46px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(182, 80, 255, .26), transparent 34rem),
    linear-gradient(135deg, rgba(31, 12, 50, .98), rgba(13, 6, 22, .98));
  border-top: 1px solid rgba(197,118,255,.24);
  border-bottom: 1px solid rgba(197,118,255,.20);
}
.friend-links h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
}
.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}
.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  color: #f8f3ff;
  font-weight: 900;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(204,116,255,.38);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 0 18px rgba(182,80,255,.10);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-2px);
  color: #07120e;
  background: linear-gradient(135deg, var(--green), #d9ffec);
  border-color: rgba(101,247,180,.62);
}
.site-footer { padding: 34px 18px 42px; text-align: center; border-top: 1px solid rgba(197,118,255,.20); background: rgba(7,3,13,.88); }
.site-footer p { margin: 6px 0; font-size: 14px; }
.site-nav a,
.quick-nav a,
.btn,
.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

i[data-lucide]::before {
  display: inline-block;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
}

svg[data-lucide]::before { content: none; }

i[data-lucide="book-open"]::before { content: "◇"; }
i[data-lucide="scroll-text"]::before { content: "▤"; }
i[data-lucide="sparkles"]::before { content: "✦"; }
i[data-lucide="map"]::before { content: "⌖"; }
i[data-lucide="history"]::before { content: "◷"; }
i[data-lucide="circle-help"]::before { content: "?"; }
i[data-lucide="download"]::before { content: "⇩"; }
i[data-lucide="images"]::before { content: "▧"; }
i[data-lucide="flame"]::before { content: "◆"; }
i[data-lucide="shield"]::before { content: "⬟"; }
i[data-lucide="sun"]::before { content: "☼"; }
i[data-lucide="mountain"]::before { content: "△"; }

.site-nav svg,
.quick-nav svg,
.btn svg,
.friend-link-list svg,
.site-nav [data-lucide],
.quick-nav [data-lucide],
.btn [data-lucide],
.friend-link-list [data-lucide] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke-width: 2.4;
}

.btn svg,
.friend-link-list svg,
.btn [data-lucide],
.friend-link-list [data-lucide] {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.faq-item summary {
  transition: color .18s ease, background .18s ease;
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--green);
  background: rgba(101,247,180,.05);
}

.faq-item[open] {
  border-color: rgba(101,247,180,.42);
  box-shadow: 0 0 30px rgba(101,247,180,.10), 0 18px 44px rgba(0,0,0,.28);
}
.hero-panel,
.hero-panel img,
.version-grid,
.version-grid div,
.quick-nav a,
.glass-card,
.feature-image,
.feature-image img,
.feature-cards article,
.chapter-list article,
.guide-steps article,
.news-grid article,
.timeline-item,
.faq-item,
.review-grid blockquote,
.gallery-grid figure,
.gallery-grid img,
.download-section,
.btn,
.hero-badges span,
.site-nav a,
.nav-toggle {
  border-radius: 18px;
  clip-path: none;
}

.hero-panel,
.feature-image,
.gallery-grid figure,
.download-section {
  overflow: hidden;
}

.version-grid div:first-child { border-top-left-radius: 18px; }
.version-grid div:nth-child(2) { border-top-right-radius: 18px; }
.version-grid div:nth-last-child(2) { border-bottom-left-radius: 18px; }
.version-grid div:last-child { border-bottom-right-radius: 18px; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); background: rgba(26,10,40,.88); }
  .nav-toggle span { width: 20px; height: 2px; background: #fff; margin: 0 auto; transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 72px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 12px; background: rgba(8,3,14,.98); border: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { text-align: center; }
  button.nav-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
  button.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  button.nav-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .hero-shell, .content-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 46px; }
  .quick-nav { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .intro-grid, .feature-cards, .guide-steps, .news-grid, .review-grid, .timeline-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-image img { min-height: auto; }
}
@media (max-width: 640px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 16px; }
  .hero { padding-inline: 16px; }
  h1 { font-size: 36px; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .version-grid, .quick-nav, .intro-grid, .feature-cards, .gallery-grid, .guide-steps, .news-grid, .review-grid, .timeline-list { grid-template-columns: 1fr; }
  .gallery-grid figure.wide { grid-column: auto; grid-row: auto; }
  .section { padding: 62px 16px; }
  .major-card { grid-row: auto; }
  .chapter-list article { grid-template-columns: 1fr; }
  .download-content { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover,
  .quick-nav a:hover,
  .btn:hover,
  .friend-link-list a:hover {
    transform: translateY(-3px) !important;
  }

  .glass-card:hover,
  .feature-cards article:hover,
  .chapter-list article:hover,
  .guide-steps article:hover,
  .timeline-item:hover,
  .faq-item:hover,
  .hero-panel:hover,
  .gallery-grid figure:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(101,247,180,.50) !important;
    box-shadow: 0 0 36px rgba(182,80,255,.22), 0 24px 54px rgba(0,0,0,.36) !important;
  }
}
