:root {
  --grass: #3f7d32;
  --grass-deep: #24572f;
  --leaf: #7fbd40;
  --sky: #72b8e7;
  --water: #2f8bc8;
  --stone: #6f7470;
  --stone-dark: #252b29;
  --dirt: #8b5b35;
  --sand: #e5c66a;
  --torch: #f0a735;
  --redstone: #bc2f2f;
  --paper: #f7f8f3;
  --ink: #17211c;
  --muted: #657068;
  --line: rgba(23, 33, 28, .14);
  --shadow: 0 18px 45px rgba(16, 29, 22, .18);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: #f3f5ee;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(240, 167, 53, .72);
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  background: #fff;
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
  border: 2px solid var(--grass);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 31, 23, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(15, 31, 23, .94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.nav-wrap {
  width: min(var(--container), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, .35);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-menu a {
  position: relative;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  padding: 9px 12px;
  border-radius: 6px;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(255, 255, 255, .13);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-top: -72px;
  padding: 130px 0 62px;
  color: #fff;
}

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

.hero-bg {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 20, 12, .88) 0%, rgba(10, 26, 18, .68) 44%, rgba(10, 26, 18, .24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, .06) 46%, #f3f5ee 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: 42px;
  align-items: end;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--torch);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.hero-lede {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, .9);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn-primary {
  color: #152017;
  background: linear-gradient(180deg, #ffd76b 0%, var(--torch) 100%);
  box-shadow: 0 12px 28px rgba(240, 167, 53, .28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #ffe184 0%, #f6b64b 100%);
  box-shadow: 0 16px 34px rgba(240, 167, 53, .36);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
}

.hero-facts li,
.hero-panel {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(14, 30, 22, .62);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.hero-facts li {
  padding: 14px 16px;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: #fff;
}

.hero-facts span {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.hero-panel {
  padding: 24px;
  align-self: end;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.hero-panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.hero-panel p {
  color: rgba(255, 255, 255, .78);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.keyword-cloud a {
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(127, 189, 64, .18);
  border: 1px solid rgba(127, 189, 64, .34);
  font-size: 14px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.keyword-cloud a:hover,
.keyword-cloud a:focus-visible {
  transform: translateY(-2px);
  background: rgba(127, 189, 64, .28);
  border-color: rgba(127, 189, 64, .62);
}

.section {
  padding: 84px 0;
}

.band {
  background: #e8ede1;
}

.section-head {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.compact {
  max-width: 760px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.32;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .8fr);
  gap: 48px;
  align-items: center;
}

.media-feature,
.guide-image,
.wide-media,
.showcase-row figure,
.closing-grid figure {
  margin: 0;
}

.media-feature img,
.guide-image img,
.wide-media img,
.showcase-row img,
.closing-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.media-feature:hover img,
.guide-image:hover img,
.wide-media:hover img,
.showcase-row figure:hover img,
.closing-grid figure:hover img,
.scene-grid figure:hover img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 24px 54px rgba(16, 29, 22, .22);
  filter: saturate(1.05) contrast(1.02);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.feature-card,
.compare article,
.platforms article,
.related-grid article,
.timeline article,
.steps article,
.faq-list details {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(20, 35, 28, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.feature-card:hover,
.compare article:hover,
.timeline article:hover,
.steps article:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 125, 50, .34);
  box-shadow: 0 18px 38px rgba(20, 35, 28, .12);
  background: rgba(255, 255, 255, .92);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--grass), var(--water));
  font-weight: 900;
  transition: transform .22s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(3deg) scale(1.08);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  margin-top: 24px;
}

.showcase-row img {
  aspect-ratio: 16 / 9;
}

.compare,
.related-grid,
.platforms {
  display: grid;
  gap: 18px;
}

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

.compare article,
.related-grid article,
.platforms article {
  padding: 26px;
}

.compare ul {
  margin: 0;
  padding-left: 1.15rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article {
  padding: 22px;
  border-top: 4px solid var(--grass);
}

.timeline article:hover {
  border-top-color: var(--torch);
}

.timeline time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--redstone);
  font-weight: 800;
  font-size: 14px;
}

.guide-layout,
.download-grid,
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 34px;
  align-items: center;
}

.download-single {
  display: block;
  max-width: 820px;
  text-align: center;
}

.download-single .download-actions {
  justify-content: center;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  position: relative;
  padding: 22px 22px 22px 72px;
}

.steps span {
  position: absolute;
  left: 22px;
  top: 23px;
  color: var(--grass);
  font-weight: 900;
  font-size: 22px;
}

.guide-image img {
  aspect-ratio: 4 / 3;
}

.download-section {
  background:
    linear-gradient(135deg, rgba(36, 87, 47, .94), rgba(37, 43, 41, .96)),
    linear-gradient(90deg, var(--grass), var(--stone-dark));
  color: #fff;
}

.download-section .section-kicker,
.download-section h2 {
  color: #fff;
}

.download-section p {
  color: rgba(255, 255, 255, .82);
}

.download-section .btn-secondary {
  border-color: rgba(255, 255, 255, .35);
}

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

.platforms article {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
}

.related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wide-media {
  margin-top: 24px;
}

.wide-media img {
  aspect-ratio: 21 / 9;
}

.gallery-section {
  padding-top: 48px;
  background: #f0f2ea;
}

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

.scene-grid figure {
  margin: 0;
}

.scene-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

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

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

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.faq-list summary:hover {
  background: rgba(63, 125, 50, .08);
  color: var(--grass-deep);
}

.faq-list details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

.faq-list details[open] {
  border-color: rgba(63, 125, 50, .28);
}

.closing-section {
  padding-top: 48px;
}

.closing-grid {
  align-items: center;
}

.closing-grid figure img {
  aspect-ratio: 16 / 9;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, .82);
  background: #151d19;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
}

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

.site-footer nav a {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 7px;
    background: rgba(255, 255, 255, .1);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #fff;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
    transform-origin: center;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(17, 31, 24, .98);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 12px 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-col,
  .guide-layout,
  .download-grid,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-facts,
  .feature-grid,
  .compare,
  .showcase-row,
  .scene-grid,
  .timeline,
  .platforms,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .media-feature img,
  .guide-image img,
  .wide-media img,
  .showcase-row img,
  .closing-grid img {
    aspect-ratio: 16 / 10;
  }

  .steps article {
    padding-left: 58px;
  }

  .steps span {
    left: 18px;
  }
}

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