

:root {
  --void: #0c0b0a;
  --sky-top: #1e2a44;
  --sky-bottom: #2d3f5c;
  --dirt-dark: #3d2e22;
  --dirt-mid: #5c4332;
  --grass-top: #4a6e3a;
  --grass-deep: #2f4a28;
  --stone: #3a3a3a;
  --stone-light: #5a5a5a;
  --deepslate: #1f2328;
  --wood: #6b4a2e;
  --text: #e8e4dc;
  --muted: #a39a8e;
  --faint: #7a7268;
  --gold: #d4a017;
  --emerald: #3fb950;
  --slot-edge: #101010;
  --slot-highlight: #6f6f6f;
  --nav-h: 72px;
  --nav-float: 0.65rem;
  --ease: cubic-bezier(0.25, 0.9, 0.35, 1);
  /* 全局微圆角 */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: rgb(12 11 10 / 0%) 0%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.mc-sky {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, var(--sky-bottom), transparent 62%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--void) 38%);
  opacity: 0.55;
}

.mc-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 30% 8%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 70% 15%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 88% 22%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 45% 30%, rgba(255, 255, 255, 0.15), transparent);
  background-size: 100% 100%;
}

.mc-dirt-strip {
  pointer-events: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 80;
  background: repeating-linear-gradient(
    90deg,
    var(--dirt-dark) 0 14px,
    var(--dirt-mid) 14px 28px,
    #4a3829 28px 42px
  );
  opacity: 0.85;
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 4px solid #0a0a0a;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.35);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.2) 0%, rgb(208 185 114 / 54%) 100%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
  filter: saturate(0.85) contrast(1.05);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 65% at 50% 45%, transparent 30%, rgba(8, 7, 6, 0.75) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 48rem;
  padding: calc(var(--nav-h) + var(--nav-float) + 1.35rem) clamp(1.1rem, 3.5vw, 2rem) 3rem;
}

.nav {
  position: fixed;
  top: var(--nav-float);
  left: clamp(0.6rem, 2vw, 1.1rem);
  right: clamp(0.6rem, 2vw, 1.1rem);
  z-index: 9999;
  margin-left: auto;
  margin-right: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(0.85rem, 2.5vw, 1.5rem);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 13, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgb(12 10 9 / 46%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 1px 1px 0 #000;
}

.nav__brand-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--r-xs);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 2px solid #0a0a0a;
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.35);
}

.nav__brand:hover {
  color: var(--gold);
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.1rem;
}

.nav__links a {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0.28rem 0.45rem;
  border-radius: var(--r-xs);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--grass-top);
}

.nav__links a:focus-visible {
  background: rgba(63, 185, 80, 0.15);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.eyebrow__tag {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  background: var(--grass-top);
  border: 2px solid #0a0a0a;
  border-radius: var(--r-xs);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.25);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  margin: 0 0 1.75rem;
  min-height: 1.4em;
  font-size: clamp(1.55rem, 4.8vw, 2.45rem);
  font-weight: 600;
  color: #fff8e8;
  text-shadow: 0 0 12px rgba(212, 160, 23, 0.25), 2px 2px 0 #1a1208;
}

.hero__tagline-text {
  display: inline;
  vertical-align: baseline;
}

.hero__tagline-caret {
  display: inline-block;
  margin-left: 2px;
  color: var(--emerald);
  font-weight: 400;
  animation: caret-blink 0.85s step-end infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.hero__tagline.is-done .hero__tagline-caret {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e8e8e8;
  border: 3px solid #0a0a0a;
  border-radius: var(--r-sm);
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.35), 3px 3px 0 rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.2s;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.35), 1px 1px 0 rgba(0, 0, 0, 0.45);
}

.btn__ico {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.95;
}

/* 下载：略放大 + 轻阴影，小尺寸下更清晰 */
.btn__ico--download {
  width: 1.15rem;
  height: 1.15rem;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

.btn--primary {
  background: linear-gradient(180deg, #4a8f3a 0%, var(--grass-deep) 100%);
  color: #f4ffe8;
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.btn--ghost {
  background: linear-gradient(180deg, var(--stone-light) 0%, var(--stone) 100%);
  color: #f0f0f0;
}

.btn--ghost:hover {
  filter: brightness(1.06);
}

.mc-section-gap {
  position: relative;
  z-index: 1;
  height: 10px;
  background: linear-gradient(180deg, var(--grass-top), var(--grass-deep));
  border-top: 3px solid #0a0a0a;
  border-bottom: 3px solid #0a0a0a;
}

.mc-pixels {
  display: block;
  width: 100%;
  height: 8px;
  color: rgba(0, 0, 0, 0.2);
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.1rem, 3.5vw, 2rem);
}

.section:last-of-type {
  padding-bottom: clamp(4rem, 12vw, 6rem);
}

.section--grass {
  background:
    linear-gradient(180deg, rgba(47, 74, 40, 0.35) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.04) 2px 4px),
    linear-gradient(165deg, #151210 0%, #1a1814 100%);
  border-top: 2px solid rgba(0, 0, 0, 0.4);
}

.section--stone {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #222 0%, #1a1a1a 100%);
  border-top: 3px solid #0a0a0a;
}

.section--deepslate {
  background: linear-gradient(180deg, #1a1d22 0%, var(--deepslate) 50%, #141618 100%);
  border-top: 3px solid #0a0a0a;
}

.section__head {
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 700;
  text-shadow: 1px 1px 0 #000;
}

.section__icon {
  margin-right: 0.35rem;
}

.section__sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.mc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.mc-slot {
  padding: 1.1rem 1.15rem;
  background: linear-gradient(180deg, #2a2824 0%, #1e1c19 100%);
  border: 3px solid var(--slot-edge);
  border-radius: var(--r-md);
  box-shadow: inset 2px 2px 0 var(--slot-highlight), inset -2px -2px 0 #0a0a0a;
}

.mc-slot__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 1px 1px 0 #000;
}

.mc-slot__body {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.mc-list {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.mc-list li {
  margin-bottom: 0.65rem;
}

.mc-list strong {
  color: var(--text);
}

.mc-sign {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.15rem 1rem 1.35rem;
  background: linear-gradient(90deg, var(--wood), #5a3d26);
  border: 3px solid #2a1a0e;
  border-radius: var(--r-md);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.mc-sign__wood {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 6px;
  height: 70%;
  transform: translateY(-50%);
  background: repeating-linear-gradient(180deg, #3d2818, #3d2818 4px, #2a1a10 4px 8px);
  border: 1px solid #1a1008;
}

.mc-sign__text {
  margin: 0 0 0 0.85rem;
  font-size: 0.86rem;
  color: #2a1a0e;
  font-weight: 600;
  line-height: 1.45;
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 4px;
  border-radius: var(--r-xs);
  background: repeating-linear-gradient(180deg, #3a3f45, #3a3f45 6px, #25282c 6px 12px);
  border: 1px solid #0a0a0a;
}

.timeline__item {
  position: relative;
  padding-left: 2.15rem;
  padding-bottom: 1.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: 3px;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  background: var(--emerald);
  border: 2px solid #0a0a0a;
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.35);
}

.timeline__card {
  padding: 0.95rem 1.1rem;
  background: rgba(30, 34, 38, 0.9);
  border: 2px solid #2a2e32;
  border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.timeline__card:hover {
  border-color: var(--emerald);
  transform: translateX(4px);
}

.timeline__date {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.timeline__text {
  margin: 0;
  font-size: 0.95rem;
}

.timeline__text small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + 6px);
  z-index: 150;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 3px solid #0a0a0a;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #4a4a4a 0%, #333 100%);
  color: #eee;
  cursor: pointer;
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.35), 2px 2px 0 rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  filter: brightness(1.1);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__tagline-caret {
    animation: none;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
