:root {
  color-scheme: dark;
  --bg: #10150f;
  --bg-2: #172014;
  --panel: rgba(21, 31, 22, 0.74);
  --panel-solid: #182318;
  --panel-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4f7ed;
  --muted: #c2ccb8;
  --soft: #94a78c;
  --grass: #58b84b;
  --leaf: #2f8f52;
  --stone: #8f9691;
  --dirt: #8a5a32;
  --wood: #c7883a;
  --gold: #f0c64a;
  --redstone: #df3e3e;
  --diamond: #5dd7df;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(22, 31, 17, 0.95), rgba(12, 16, 14, 0.98)),
    radial-gradient(circle at 18% 14%, rgba(63, 152, 78, 0.23), transparent 32%),
    radial-gradient(circle at 84% 22%, rgba(212, 139, 56, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

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

p {
  margin: 0;
}

ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 100;
  transform: translateY(-180%);
  background: #fff;
  color: #142016;
  padding: 10px 14px;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  left: 50%;
  top: 14px;
  z-index: 50;
  width: min(calc(100% - 28px), var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 22, 15, 0.58);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 20, 14, 0.86);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.36);
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav a {
  padding: 9px 11px;
  color: rgba(244, 247, 237, 0.86);
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.site-nav .nav-download {
  margin-left: 8px;
  padding-inline: 15px;
  color: #061009;
  background: linear-gradient(180deg, #70d65f, #2f964a);
  border: 1px solid rgba(189, 255, 174, 0.62);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.42),
    0 10px 24px rgba(63, 186, 75, 0.24);
  font-weight: 900;
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  color: #061009;
  background: linear-gradient(180deg, #83e472, #38aa53);
  border-color: rgba(222, 255, 210, 0.86);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.5),
    0 12px 28px rgba(63, 186, 75, 0.34);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.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: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 94px 20px 42px;
  isolation: isolate;
}

.hero-media,
.hero-shade,
.hero-fallback {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: #121914;
}

.hero-video,
#heroCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-fallback {
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(9, 14, 10, 0.56), rgba(9, 14, 10, 0.16) 42%, rgba(9, 14, 10, 0.72)),
    url("img/tu6.jpeg") center / cover no-repeat;
  transform: scale(1.03);
  animation: slowPan 18s ease-in-out infinite alternate;
}

.hero-video.has-video + #heroCanvas + .hero-fallback {
  opacity: 0;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.88) 0%, rgba(5, 8, 6, 0.64) 44%, rgba(5, 8, 6, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.4) 56%, var(--bg) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

@keyframes slowPan {
  from {
    transform: scale(1.03) translate3d(-1.2%, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1.2%, -1%, 0);
  }
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 46px);
  text-wrap: balance;
  color: #7de16b;
  background: linear-gradient(90deg, #86e875 0%, #f0c64a 58%, #f7efd2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  max-width: 740px;
  margin-top: 16px;
  color: rgba(244, 247, 237, 0.88);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #65ca55, #2b8f46);
  color: #061009;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.38),
    0 14px 34px rgba(70, 186, 80, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #78dc67, #34a451);
  border-color: rgba(212, 255, 196, 0.72);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.48),
    0 18px 42px rgba(70, 186, 80, 0.38);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.22),
    0 16px 36px rgba(255, 255, 255, 0.12);
}

@media (min-width: 761px) {
  .hero-actions .button {
    min-width: 126px;
    min-height: 54px;
    aspect-ratio: auto;
    padding: 13px 24px;
    border-radius: 18px;
    text-align: center;
  }

  .hero-actions .button:hover,
  .hero-actions .button:focus-visible {
    transform: translateY(-3px) scale(1.02);
  }
}

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

.hero-stats div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 17, 0.64);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--soft);
  font-size: 13px;
}

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

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

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

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

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(21px, 2.8vw, 32px);
  color: #7de16b;
  background: linear-gradient(90deg, #78dd67 0%, #f0c64a 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.section-head p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.intro-grid,
.version-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.block-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.block-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.65) 1px, transparent 1px);
  background-size: 22px 22px;
}

.block-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(126, 232, 117, 0.16), rgba(240, 198, 74, 0.08) 52%, transparent);
  transition: opacity 0.22s ease;
}

.block-card:hover,
.block-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(126, 232, 117, 0.42);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(126, 232, 117, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.block-card:hover::after,
.block-card:focus-within::after {
  opacity: 1;
}

.text-panel {
  padding: 22px;
}

.text-panel h3,
.feature-card h3,
.version-card h3,
.timeline-item h3,
.guide-card h3,
.systems h3 {
  font-size: 19px;
}

.text-panel p,
.feature-card p,
.version-card p,
.timeline-item p,
.guide-card p,
.systems p,
.faq-item p {
  position: relative;
  color: var(--muted);
}

.text-panel p {
  margin-top: 10px;
}

.image-panel,
.media-strip figure,
.gallery-item,
.wide-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.image-panel img,
.media-strip img,
.gallery-item img,
.wide-image img,
.image-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.image-panel:hover img,
.media-strip figure:hover img,
.gallery-item:hover img,
.wide-image:hover img {
  transform: scale(1.025);
}

.image-panel:hover,
.media-strip figure:hover,
.gallery-item:hover,
.wide-image:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 198, 74, 0.42);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(8, 12, 8, 0.76);
}

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

.feature-card,
.version-card,
.timeline-item,
.guide-card {
  padding: 20px;
}

.feature-card h3 {
  margin-top: 12px;
}

.feature-card:hover .block-icon {
  transform: translateY(-2px) rotate(2deg);
  border-color: rgba(255, 255, 255, 0.42);
}

.feature-card p,
.guide-card p,
.timeline-item p,
.version-card p {
  margin-top: 9px;
}

.block-icon {
  display: block;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 -9px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.block-icon.grass {
  background: linear-gradient(#64c64c 0 38%, #8b5a32 39% 100%);
}

.block-icon.stone {
  background: linear-gradient(135deg, #a6aca8, #626c65);
}

.block-icon.redstone {
  background: linear-gradient(135deg, #352d2b, #b52024 48%, #ff5a4a);
}

.block-icon.diamond {
  background: linear-gradient(135deg, #d5ffff, #5ad7de 44%, #167f89);
}

.media-strip {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 16px;
  padding-top: 18px;
}

.media-strip figure {
  min-height: 300px;
}

.split-section {
  padding-top: 34px;
}

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

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(105, 204, 86, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(56, 151, 74, 0.2), rgba(180, 118, 50, 0.12)),
    rgba(20, 29, 18, 0.86);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.download-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 232, 117, 0.48);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

.download-panel h3 {
  font-size: 20px;
}

.download-panel p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 16px;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.large img {
  min-height: 440px;
}

.gallery-item:not(.large) img {
  min-height: 205px;
}

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

.timeline time {
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

.timeline h3 {
  margin-top: 8px;
}

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

.guide-card span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: rgba(240, 198, 74, 0.16);
  color: var(--gold);
  font-weight: 900;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.guide-card:hover span {
  transform: translateY(-2px);
  background: rgba(126, 232, 117, 0.2);
  color: #86e875;
}

.wide-image {
  margin-top: 20px;
}

.wide-image img {
  max-height: 360px;
}

.systems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.systems article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--panel-solid);
  padding: 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.systems article:hover {
  background:
    linear-gradient(135deg, rgba(126, 232, 117, 0.12), rgba(240, 198, 74, 0.06)),
    var(--panel-solid);
  transform: translateY(-1px);
}

.systems p {
  margin-top: 10px;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.image-row img {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

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

.faq-item {
  padding: 0;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 17px 50px 17px 20px;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease;
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: #86e875;
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 14px;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

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

.faq-item p {
  padding: 0 20px 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 13, 0.9);
}

.site-footer p {
  color: var(--muted);
}

.site-footer .legal {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

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

  .hero-video {
    display: none;
  }
}

@media (max-width: 1020px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    padding: 11px 12px;
  }

  .site-nav .nav-download {
    margin-left: 0;
    text-align: center;
  }

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

  .intro-grid,
  .gallery-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-row: auto;
  }

  .gallery-item.large img,
  .gallery-item:not(.large) img {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  body {
    line-height: 1.68;
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
  }

  .brand span {
    max-width: 190px;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.2;
  }

  .hero {
    min-height: 0;
    padding: 88px 16px 34px;
  }

  h1 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions,
  .download-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 46px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p:not(.eyebrow) {
    font-size: 14px;
  }

  .feature-grid,
  .version-layout,
  .media-strip,
  .timeline,
  .systems,
  .image-row {
    grid-template-columns: 1fr;
  }

  .media-strip figure {
    min-height: 260px;
  }

  .text-panel,
  .feature-card,
  .version-card,
  .timeline-item,
  .guide-card,
  .systems article {
    padding: 18px;
  }

  .image-row img {
    min-height: 220px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), var(--max));
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    max-width: 150px;
    font-size: 14px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 82px;
  }
}
