/* ==========================================================================
   雷电模拟器 LDPlayer 官网 / 下载页 全站样式
   品牌色: 官方黄 #ffd633 · 深空蓝黑背景 · 高对比可访问性
   版本: 1.0
   ========================================================================== */

:root {
  --bg: #060a14;
  --bg-2: #0a1122;
  --bg-3: #0e1730;
  --card: #101a33;
  --card-2: #14203f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #ffd633;
  --accent-2: #ffc400;
  --accent-dark: #1a1400;
  --blue: #4d9fff;
  --blue-2: #6a5cff;
  --green: #34d399;
  --text: #eef2fb;
  --text-2: #c3cce0;
  --muted: #8b97b2;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 8px 30px rgba(255, 214, 51, 0.25);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI",
    system-ui, -apple-system, sans-serif;
  --header-h: 68px;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #111;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* 锚点跳转时避开吸顶导航 */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.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;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--accent);
  color: #111;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-accent {
  background: linear-gradient(180deg, #ffe14d, var(--accent));
  color: #171100;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 214, 51, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(180deg, #5ba8ff, var(--blue));
  color: #04122a;
  box-shadow: 0 8px 30px rgba(77, 159, 255, 0.35);
}

.btn-blue:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.12rem;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand em {
  color: var(--accent);
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.98rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.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 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 90px;
  background:
    radial-gradient(900px 480px at 75% -10%, rgba(106, 92, 255, 0.35), transparent 60%),
    radial-gradient(700px 420px at 10% 10%, rgba(77, 159, 255, 0.22), transparent 60%),
    var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 214, 51, 0.12);
  border: 1px solid rgba(255, 214, 51, 0.35);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero h1 .hl {
  background: linear-gradient(90deg, var(--accent), #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

/* ---------- 信任条 ---------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding: 26px 0;
}

.trustbar ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trustbar b {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--accent);
}

.trustbar span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-2);
}

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

.section-head .kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- 特性卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 214, 51, 0.45);
  background: var(--card-2);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 51, 0.1);
  border: 1px solid rgba(255, 214, 51, 0.25);
  margin-bottom: 18px;
}

.feature-card .icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- 展示区（左文右图 / 右文左图） ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase + .showcase {
  margin-top: 96px;
}

.showcase .media {
  position: relative;
}

/* 产品截图窗口框（标题栏 + 实拍截图） */
.shot {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.shot-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}

.shot-bar i.r {
  background: #ff5f57;
}

.shot-bar i.y {
  background: #febc2e;
}

.shot-bar i.g {
  background: #28c840;
}

.shot-bar span {
  margin-left: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-wrap {
  position: relative;
}

.shot-wrap .shot-mini {
  position: absolute;
  right: -14px;
  bottom: -22px;
  width: 44%;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-wrap .shot-mini img {
  display: block;
  width: 100%;
  height: auto;
}

/* 内核架构图卡片 */
.arch-media {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  min-height: 380px;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(106, 92, 255, 0.16), transparent 70%),
    var(--bg-2);
  box-shadow: var(--shadow);
}

.arch-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.arch-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.arch-stats li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
}

.showcase .text .kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase .text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 12px 0 16px;
  line-height: 1.3;
}

.showcase .text p {
  color: var(--muted);
  margin-bottom: 14px;
}

.points {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.98rem;
}

.points li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
  margin-top: 3px;
}

.showcase.reverse .media {
  order: 2;
}

.showcase.reverse .text {
  order: 1;
}

/* ---------- 游戏中心 ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 214, 51, 0.45);
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.game-card .name {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.game-card .tag {
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(255, 214, 51, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  flex: none;
}

/* ---------- 评测 / 用户评价 ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.review-quote p {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 16px;
}

.review-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-quote .stars {
  color: var(--accent);
  letter-spacing: 2px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

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

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary .chev {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.25s;
  color: var(--accent);
}

.faq-item[open] summary .chev {
  transform: rotate(45deg);
}

.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #04070f;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: inherit;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  padding: 22px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--border-strong);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-2);
}

/* ---------- 下载页 ---------- */
.dl-hero,
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  text-align: center;
  background:
    radial-gradient(800px 420px at 50% -20%, rgba(106, 92, 255, 0.4), transparent 65%),
    radial-gradient(600px 360px at 85% 20%, rgba(255, 214, 51, 0.12), transparent 60%),
    var(--bg);
}

.dl-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.dl-hero h1 .hl {
  background: linear-gradient(90deg, var(--accent), #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dl-hero .lead,
.cta-banner .lead {
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: 1.06rem;
}

.dl-hero .note {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 900;
}

.cta-banner .lead {
  margin-top: 12px;
}

.cta-banner .btn-wrap {
  margin-top: 26px;
}

.showcase .text .btn-wrap {
  margin-top: 18px;
}

.games-cta {
  text-align: center;
  margin-top: 36px;
}

.dl-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.dl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.dl-card:hover {
  transform: translateY(-6px);
}

.dl-card.hot {
  border-color: rgba(255, 214, 51, 0.55);
  background: linear-gradient(180deg, rgba(255, 214, 51, 0.08), var(--card) 55%);
  box-shadow: var(--shadow);
}

.dl-card .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(180deg, #ffe14d, var(--accent));
  color: #171100;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.dl-card .badge.blue {
  background: linear-gradient(180deg, #8ab6ff, #4d9fff);
  color: #04122a;
}

.dl-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dl-card h2 .ver {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
}

.dl-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.dl-card .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.dl-card .specs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-card .specs svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
}

.dl-card .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.dl-card .cta-row .meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.dl-more {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.dl-more a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 14px 22px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.95rem;
  transition: border-color 0.15s, color 0.15s;
}

.dl-more a:hover {
  border-color: rgba(255, 214, 51, 0.5);
  color: var(--accent);
}

.dl-more svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* 系统要求 */
.sys-req {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.req-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.req-table h3 {
  padding: 18px 22px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.req-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.req-table th,
.req-table td {
  padding: 13px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.req-table tr:last-child th,
.req-table tr:last-child td {
  border-bottom: none;
}

.req-table th {
  color: var(--muted);
  font-weight: 500;
  width: 38%;
}

.req-table td {
  color: var(--text-2);
}

/* 安装步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 214, 51, 0.25);
  display: block;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* 版本对比表 */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.04);
  font-size: 1rem;
  color: var(--text);
}

.compare-table tbody th {
  color: var(--muted);
  font-weight: 500;
  width: 30%;
}

.compare-table td {
  color: var(--text-2);
}

.compare-table .yes {
  color: var(--green);
  font-weight: 600;
}

.compare-table .beta {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- 404 ---------- */
.err-page {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

.err-page .code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent), #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.err-page h1 {
  font-size: 1.6rem;
  margin: 18px 0 12px;
}

.err-page p {
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 30px;
}

.err-page .err-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom.plain {
  border-top: none;
  padding-top: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase.reverse .media {
    order: 0;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .dl-cards {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .sys-req {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6, 10, 20, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 14px 5%;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .trustbar ul {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero {
    padding: 60px 0 64px;
  }

  .dl-card {
    padding: 30px 22px;
  }

  .shot-wrap .shot-mini {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
