:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-soft: #080a10;
  --surface: rgba(15, 15, 17, 0.84);
  --surface-strong: #111217;
  --border: rgba(39, 39, 42, 0.9);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --primary: #06b6d4;
  --primary-bright: #67e8f9;
  --green: #22c55e;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --max: 1180px;
  --hero-bg-image: none;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.62), rgba(3, 3, 3, 0.94)),
    radial-gradient(circle at 18% 8%, rgba(6, 182, 212, 0.16), transparent 34rem),
    radial-gradient(circle at 82% 22%, rgba(139, 92, 246, 0.16), transparent 32rem),
    var(--hero-bg-image),
    linear-gradient(180deg, #030303 0%, #070812 42%, #030303 100%);
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  background-position: center top;
  background-size: cover;
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(39, 39, 42, 0.72);
  border-radius: 18px;
  background: rgba(3, 3, 3, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.3);
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.version-pill,
.eyebrow {
  color: var(--primary-bright);
  border: 1px solid rgba(6, 182, 212, 0.26);
  background: rgba(6, 182, 212, 0.09);
}

.version-pill {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-bright);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: #031014;
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.22);
}

.btn.secondary {
  color: var(--text);
  border: 1px solid rgba(103, 232, 249, 0.28);
  background: rgba(15, 15, 17, 0.8);
}

.btn.ghost {
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(15, 15, 17, 0.46);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 15, 17, 0.8);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section,
.hero,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 48px;
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h1 span,
h2 span {
  color: var(--primary-bright);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-lead,
.section-heading p,
.split-section p,
.migration-card p,
.download-card p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-lead {
  max-width: 660px;
  font-size: 18px;
}

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

.hero-notes,
.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-notes span,
.download-meta span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--subtle);
  background: rgba(15, 15, 17, 0.46);
  font-size: 12px;
}

.hero-visual,
.download-card,
.migration-card,
.feature-card,
.game-card,
.timeline,
.faq-list details {
  border: 1px solid rgba(39, 39, 42, 0.9);
  background: linear-gradient(180deg, rgba(17, 18, 23, 0.92), rgba(7, 8, 12, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.16);
  filter: blur(10px);
}

.hero-panel-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.3));
}

.section {
  padding: 86px 0;
}

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

.section-heading.compact {
  max-width: 620px;
}

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

.feature-card {
  min-height: 220px;
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.42);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 12px;
  color: var(--primary-bright);
  background: rgba(6, 182, 212, 0.1);
  font-weight: 900;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.8;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 48px;
  align-items: center;
}

.text-link {
  color: var(--primary-bright);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 12px;
  border-radius: var(--radius);
  padding: 18px;
}

.timeline-item {
  position: relative;
  padding: 18px 18px 18px 42px;
  border-radius: 16px;
  background: rgba(3, 3, 3, 0.55);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.8);
}

.timeline-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.preview-section {
  position: relative;
}

.preview-hero-card,
.preview-card {
  overflow: hidden;
  border: 1px solid rgba(39, 39, 42, 0.9);
  background: linear-gradient(180deg, rgba(17, 18, 23, 0.92), rgba(7, 8, 12, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.preview-hero-card {
  border-radius: 28px;
}

.preview-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border);
}

.preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.preview-caption strong,
.preview-card strong {
  color: var(--text);
  font-size: 16px;
}

.preview-caption span,
.preview-card span {
  color: var(--muted);
  line-height: 1.7;
}

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

.preview-card {
  display: grid;
  gap: 10px;
  border-radius: 20px;
  padding-bottom: 18px;
}

.preview-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border);
}

.preview-card strong,
.preview-card span {
  padding: 0 16px;
}

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

.game-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: var(--radius);
}

.game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.95) brightness(0.78);
}

.six-games .game-card img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.game-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 18px;
  font-weight: 900;
}

.migration-card {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 36px;
  border-radius: 28px;
  padding: 32px;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(3, 3, 3, 0.52);
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #031014;
  background: var(--primary);
  font-weight: 900;
  grid-row: span 2;
}

.steps small {
  color: var(--subtle);
}

.download-card {
  border-radius: 28px;
  padding: 34px;
  text-align: center;
}

.download-actions,
.download-meta {
  justify-content: center;
}

.thanks-card,
.support-card {
  border: 1px solid rgba(39, 39, 42, 0.9);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 18, 23, 0.92), rgba(7, 8, 12, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.thanks-card {
  padding: 28px;
  text-align: center;
}

.thanks-title {
  margin-bottom: 14px;
  color: var(--primary-bright);
  font-size: 18px;
  font-weight: 900;
}

.thanks-card p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  font-size: 17px;
  line-height: 2.1;
}

.support-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
}

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

.payment-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(3, 3, 3, 0.52);
}

.payment-card img {
  width: 190px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  padding: 8px;
}

.payment-card strong {
  color: var(--text);
}

.support-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

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

.download-method {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(3, 3, 3, 0.52);
}

.download-method img {
  width: 138px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
}

.download-method strong {
  color: var(--text);
}

.download-method span {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
}

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

.faq-list details {
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 36px 0 54px;
  color: var(--subtle);
  border-top: 1px solid var(--border);
}

.site-footer strong,
.site-footer a {
  color: var(--text);
}

.site-footer span {
  display: block;
  margin-top: 6px;
}

.reveal {
  animation: rise 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .site-header {
    gap: 12px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

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

  .site-header.nav-open .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(3, 3, 3, 0.96);
  }

  .site-header.nav-open .site-nav a {
    padding: 13px;
  }

  .hero,
  .split-section,
  .migration-card,
  .support-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .feature-grid,
  .game-grid,
  .preview-grid,
  .download-methods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand-text {
    display: none;
  }

  .hero,
  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .game-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .download-methods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .download-method {
    padding: 10px;
  }

  .download-method img {
    width: 118px;
  }

  .hero-actions .btn,
  .download-actions .btn,
  .download-actions button {
    width: 100%;
  }

  .hero-visual,
  .download-card,
  .migration-card {
    border-radius: 20px;
  }

  .migration-card,
  .download-card {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
