:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #f1eee7;
  --ink: #14171f;
  --muted: #5f6673;
  --line: rgba(20, 23, 31, 0.12);
  --accent: #d9466f;
  --accent-strong: #be123c;
  --accent-soft: rgba(217, 70, 111, 0.13);
  --gold: #f4c430;
  --teal: #2f7f91;
  --shadow: 0 22px 55px rgba(20, 23, 31, 0.13);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.96), rgba(247, 245, 240, 0.98)),
    radial-gradient(circle at 12% 18%, rgba(244, 196, 48, 0.11), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(47, 127, 145, 0.09), transparent 26%);
  font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  color: var(--gold);
  font-size: clamp(2.25rem, 5.6vw, 4.35rem);
  font-weight: 900;
}

h2 {
  color: var(--accent-strong);
  font-size: clamp(1.48rem, 2.45vw, 2.2rem);
  font-weight: 850;
}

h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

strong {
  font-weight: 800;
}

.text-accent {
  color: var(--accent-strong);
  font-weight: 900;
}

.text-danger {
  color: #b91c1c;
  font-weight: 900;
}

.text-mark {
  display: inline;
  padding: 0 0.14em;
  color: #111827;
  font-weight: 900;
  background: linear-gradient(180deg, transparent 58%, rgba(244, 196, 48, 0.46) 58%);
  border-radius: 3px;
}

.hero .text-mark,
.guide-section .text-mark {
  color: #fff;
  background: linear-gradient(180deg, transparent 58%, rgba(244, 196, 48, 0.38) 58%);
}

.guide-section .text-accent {
  color: var(--gold);
}

.guide-section .text-danger {
  color: #fecaca;
}

ul {
  padding-left: 1.2rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  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: 100;
  background: rgba(247, 245, 240, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 240, 0.94);
}

.nav {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgba(20, 23, 31, 0.16);
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(20, 23, 31, 0.06);
}

.nav-links a.nav-download {
  color: #111827;
  background: var(--gold);
  border: 1px solid rgba(20, 23, 31, 0.08);
}

.nav-links a.nav-download:hover,
.nav-links a.nav-download:focus-visible {
  color: #111827;
  background: #ffd84d;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 99px;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-origin: center;
}

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

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

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

.hero {
  position: relative;
  min-height: 760px;
  padding: 96px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 23, 31, 0.92), rgba(20, 23, 31, 0.72) 44%, rgba(20, 23, 31, 0.1)),
    image-set(url("img/tu3.jpg") 1x);
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(247, 245, 240, 0.92) 96%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  color: #fff;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--accent-strong);
}

.hero-subtitle {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #111827;
  background: var(--gold);
  box-shadow: 0 18px 40px rgba(244, 196, 48, 0.25);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: #fff;
  font-weight: 900;
}

.hero-media {
  margin: 0;
  transform: rotate(1deg);
}

.hero-media img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease;
}

.hero-media figcaption,
.image-card figcaption,
.showcase-large figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media figcaption {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 88px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.section-copy p {
  color: var(--muted);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  transform: translateY(-50%);
}

.image-card,
.showcase-large {
  margin: 0;
}

.image-card img,
.showcase-large img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(20, 23, 31, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(20, 23, 31, 0.1);
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.content-section {
  background: rgba(255, 255, 255, 0.45);
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 38px;
}

.feature-card,
.guide-panel,
.requirements-grid > div,
.faq-list details,
.cta-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 23, 31, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.feature-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.feature-card:focus-within,
.guide-panel:focus-within,
.requirements-grid > div:focus-within,
.faq-list details:focus-within {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 111, 0.34);
  box-shadow: 0 20px 46px rgba(20, 23, 31, 0.12);
}

.feature-card:focus-within::after {
  transform: scaleX(1);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease;
}

.feature-card p,
.guide-panel p,
.requirements-grid p,
.timeline p,
.faq-list p,
.cta-inner p,
.footer-grid p {
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 18px;
  align-items: start;
}

.showcase-stack {
  display: grid;
  gap: 18px;
}

.guide-section {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(28, 35, 49, 0.95)),
    image-set(url("img/tu8.jpg") 1x);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.guide-section .section-kicker {
  color: var(--gold);
}

.guide-section h2 {
  color: #fff;
}

.guide-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 18px;
}

.guide-panel {
  padding: 24px;
  color: var(--ink);
}

.guide-panel-primary {
  grid-row: span 2;
}

.guide-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.upgrade-order {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.upgrade-order span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
  color: #111827;
  background: linear-gradient(135deg, rgba(244, 196, 48, 0.96), rgba(217, 70, 111, 0.78));
  border-radius: 6px;
  font-weight: 900;
}

.strategy-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.strategy-flow div {
  min-height: 112px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.strategy-flow span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #111827;
  background: var(--gold);
  border-radius: 5px;
  font-weight: 900;
}

.strategy-flow p {
  margin: 0;
  color: #fff;
  font-weight: 800;
  line-height: 1.45;
}

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

.guide-section .image-card figcaption {
  color: rgba(255, 255, 255, 0.72);
}

.tip-box {
  margin-top: 24px;
  padding: 26px;
  color: #111827;
  background: var(--gold);
  border-radius: var(--radius);
}

.tip-box p {
  margin: 10px 0 0;
  font-size: 1.18rem;
  font-weight: 800;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.timeline article {
  position: relative;
  padding: 0 0 0 26px;
  transition: transform 0.2s ease;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 0.54rem;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--accent-soft);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.timeline time {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 900;
}

.timeline h3 {
  margin-bottom: 6px;
}

.requirements-section {
  background: var(--surface-soft);
}

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

.requirements-grid > div {
  padding: 24px;
}

.faq-section {
  background: rgba(255, 255, 255, 0.52);
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 850;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent-strong);
  font-weight: 900;
}

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

.faq-list details:focus-within summary {
  color: var(--accent-strong);
  background: rgba(217, 70, 111, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .hero-media:hover img {
    transform: translateY(-3px) scale(1.015);
    filter: saturate(1.06) contrast(1.02);
    box-shadow: 0 24px 58px rgba(20, 23, 31, 0.22);
  }

  .image-card:hover img,
  .showcase-large:hover img {
    transform: translateY(-3px) scale(1.015);
    filter: saturate(1.06) contrast(1.02);
    border-color: rgba(217, 70, 111, 0.28);
    box-shadow: 0 22px 48px rgba(20, 23, 31, 0.16);
  }

  .feature-card:hover,
  .guide-panel:hover,
  .requirements-grid > div:hover,
  .faq-list details:hover,
  .cta-inner:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 70, 111, 0.34);
    box-shadow: 0 20px 46px rgba(20, 23, 31, 0.12);
  }

  .feature-card:hover::after {
    transform: scaleX(1);
  }

  .feature-card:hover .feature-index {
    transform: translateY(-2px);
    background: rgba(244, 196, 48, 0.24);
  }

  .timeline article:hover {
    transform: translateX(4px);
  }

  .timeline article:hover::before {
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(244, 196, 48, 0.18);
    transform: scale(1.08);
  }

  .faq-list details:hover summary {
    color: var(--accent-strong);
    background: rgba(217, 70, 111, 0.06);
  }
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
}

.cta-section {
  padding: 78px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    image-set(url("img/tu2.jpg") 1x);
  background-size: cover;
  background-position: center right;
}

.cta-inner > div {
  max-width: 680px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #111827;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid strong {
  color: #fff;
  font-size: 1.08rem;
}

.footer-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-up 0.55s ease both;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0.92;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-grid,
  .two-column,
  .showcase-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-layout,
  .requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strategy-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.05rem);
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255, 255, 255, 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;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-stats,
  .feature-layout,
  .requirements-grid,
  .combat-gallery {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .upgrade-order {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strategy-flow {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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