/* ============================================================
   欧竞云电竞官网 · 样式表
   结构：设计变量 → 基础 → 通用组件 → 各区块 → 弹窗 → 响应式
   配色：黑灰底 + 荧光绿强调色；修改品牌色只需调整 :root 变量
   ============================================================ */

/* ---------- 设计变量 ----------
   仅新增令牌；原 --bg / --surface / --green / --line / --radius / --max 保留，
   避免破坏既有引用。新增：字体层级、8px 间距、卡片统一边界、按钮三级、绿色辉光。
   */
:root {
  /* 配色（黑灰底 + 荧光绿强调，绿色仅作强调，不作大面积底色） */
  --bg: #090c0b;
  --surface: #111613;
  --surface-2: #141a16;        /* 卡片底 */
  --surface-3: #0c100e;        /* 卡内更深的底，用于内嵌信息块 */
  --muted: #a0aaa3;
  --text: #f0f4f1;
  --green: #bbff36;
  --green-hover: #d0ff76;
  --green-soft: rgba(187, 255, 54, .12);   /* hover 泛绿、角标底 */
  --green-line: rgba(187, 255, 54, .35);
  --line: #29322b;
  --line-soft: #1d261c;        /* 卡内细分隔 */

  /* 字体层级（5 档 + 显示档），全站统一引用 */
  --fs-display: clamp(42px, 5.15vw, 74px);   /* Hero h1 */
  --fs-h2: clamp(30px, 3.1vw, 44px);          /* 区块标题 */
  --fs-h3: 21px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-micro: 11px;

  /* 间距（8px 倍数） */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 56px;
  --sp-9: 72px;
  --sp-10: 100px;

  /* 卡片统一边界：1px 描边 + 圆角 + 内高光 + hover 泛绿（强度克制） */
  --card-radius: 12px;
  --card-border: 1px solid var(--line);
  --card-inner-line: inset 0 1px 0 rgba(255, 255, 255, .04);
  --card-hover-border: 1px solid #3d4d33;
  --card-hover-glow: 0 18px 40px rgba(0, 0, 0, .35);
  --card-hover-tint: 0 0 0 1px rgba(187, 255, 54, .16);

  /* 按钮三级：主（荧光绿）/ 次（玻璃描边）/ 文本 */
  --btn-radius: 6px;
  --green-glow: 0 8px 22px rgba(187, 255, 54, .18);   /* 外发光强度克制 */

  --radius: 12px;
  --max: 1240px;
  color-scheme: dark;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body { margin: 0; line-height: 1.65; }

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; border: 0; }

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

p { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }

h2 {
  font-size: var(--fs-h2);
  line-height: 1.3;
  letter-spacing: -1.6px;
  margin-bottom: 0;
}

h3 { font-size: var(--fs-h3); line-height: 1.5; }
small { font-size: 12px; }

.container {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

.noscript-tip {
  background: #3a2f10;
  color: #ffe9a8;
  padding: 12px;
  text-align: center;
  font-size: 13px;
}

/* 无障碍跳转链接 */
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--green);
  color: #111;
  padding: 12px;
  z-index: 100;
}
.skip:focus { top: 10px; }

/* ---------- 通用组件：按钮（三级体系：主 / 次 / 文本）---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 15px 24px;
  background: var(--green);
  color: #142006;
  font-size: var(--fs-small);
  font-weight: 750;
  border: 1px solid var(--green);
  border-radius: var(--btn-radius);
  box-shadow: var(--green-glow);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.button:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(187, 255, 54, .26); }
.button span { font-size: 22px; line-height: 1; }

.button.secondary {
  background: rgba(23, 28, 23, .55);
  border-color: #46513e;
  color: #edf3e7;
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.button.secondary:hover { background: #253021; box-shadow: 0 0 0 1px rgba(187, 255, 54, .22); }

.button.small { padding: 10px 18px; font-size: 13px; gap: 20px; }

/* ---------- 通用组件：小标题 / 文本链接 ---------- */
.eyebrow {
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--green);
  letter-spacing: 2.2px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}
.eyebrow i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 10px;
}

.text-link {
  display: inline-block;
  color: var(--green);
  font-size: 14px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(162, 223, 54, .23);
}

.fineprint {
  font-size: 12px;
  line-height: 1.8;
  color: #8e9b91;
  margin-top: 28px;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 12, 11, .95);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

/* 品牌文字占位：logoUrl 为空时显示；配置图片后 .brand-logo img 自动出现 */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo img { height: 42px; width: auto; display: block; }
.brand-wordmark {
  display: flex;
  flex-direction: column;
  font-weight: 850;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}
.brand-wordmark em { font-style: normal; color: var(--green); }
.brand-wordmark small {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: #9ea79e;
  font-weight: 400;
  margin-top: 6px;
}

.nav-wrap nav { display: flex; gap: 28px; font-size: 14px; color: #c3cbc5; }
.nav-wrap nav a:hover { color: var(--green); }

.menu-toggle { display: none; background: none; font-size: 27px; }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  overflow: hidden;
  /* 底层：深底 + 径向辉光 + 极淡网格纹理（克制，不抢内容） */
  background:
    radial-gradient(ellipse at 78% 50%, rgba(60, 92, 28, .55) 0, transparent 52%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 56px 100%,
    #080b09;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* 文字遮罩加深：左浓右淡 + 底部过渡，保证左侧文案区可读性 */
  background:
    linear-gradient(90deg, rgba(8, 11, 9, .98) 0%, rgba(8, 11, 9, .9) 28%, rgba(8, 11, 9, .5) 50%, rgba(8, 11, 9, .06) 80%),
    linear-gradient(0deg, #090c0b 0, transparent 32%);
}

.hero-content { padding-top: 104px; padding-bottom: 145px; }

.hero h1 {
  font-size: var(--fs-display);
  letter-spacing: -3px;
  line-height: 1.18;
  margin: 0 0 28px;
  font-weight: 950;
}
.hero h1 span { color: var(--green); }

/* Hero eyebrow 改为描边胶囊，提升品牌感 */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(187, 255, 54, .35);
  border-radius: 40px;
  background: rgba(187, 255, 54, .06);
  margin-bottom: 26px;
}
.hero .eyebrow i { margin-right: 0; }

.hero-desc { font-size: 17px; line-height: 1.9; color: #b9c2ba; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; }

.hero-tags { display: flex; gap: 28px; font-size: 13px; margin-top: 27px; color: #aeb7aa; }

.hero-caption {
  position: absolute;
  right: 8%;
  bottom: 130px;
  display: flex;
  gap: 14px;
  align-items: center;
  font: 11px/1.8 Arial, sans-serif;
  letter-spacing: 2px;
  color: #b0bfa7;
}
.hero-caption b { font: 13px/1.8 "Microsoft YaHei", sans-serif; letter-spacing: 1px; color: #e4eddc; }
.cross { font: 44px Arial, sans-serif; color: var(--green); font-weight: 200; }

/* 底部参数条：玻璃拟态（描边 + 半透明 + 模糊） */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(110, 133, 84, .22);
  border-radius: 0;
  padding: 18px 0;
  font-size: 12px;
  color: #a5afa4;
  background: linear-gradient(0deg, rgba(9, 12, 11, .72), rgba(9, 12, 11, .12));
  backdrop-filter: blur(8px);
}
.hero-bottom a { color: #d1dacb; }

/* ---------- 区块通用 ---------- */
.section { padding-block: 100px; scroll-margin-top: 10px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 45px;
  margin-bottom: 44px;
}
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading > p { font-size: 15px; line-height: 1.9; margin: 0; max-width: 440px; }
.section-heading h2 span { color: var(--green); }

/* ---------- 01 产品优势（完整描边卡片，与全站统一）---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.benefits article {
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--sp-6) var(--sp-5);
  background: var(--surface-2);
  box-shadow: var(--card-inner-line);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.benefits article:hover {
  border: var(--card-hover-border);
  box-shadow: var(--card-inner-line), var(--card-hover-tint), var(--card-hover-glow);
  transform: translateY(-3px);
}
.benefits .icon { font-size: 30px; color: var(--green); display: block; margin-bottom: var(--sp-4); }
.benefits h3 { margin-bottom: var(--sp-2); font-size: 19px; }
.benefits p { font-size: 14px; line-height: 1.85; max-width: 360px; margin-bottom: 0; }
.benefits .micro {
  font: 10px Arial, sans-serif;
  letter-spacing: 1.6px;
  color: #69776d;
  display: block;
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 02 云电脑配置 ---------- */
.hardware-section {
  background: #101510;
  border-top: 1px solid #1d271b;
  border-bottom: 1px solid #1d271b;
}

.hardware-layout {
  display: grid;
  grid-template-columns: 1fr 1.23fr;
  gap: 60px;
}

.hardware-intro { padding: 25px 0; }
.chip-label { font: 11px Arial, sans-serif; color: #a4b19b; letter-spacing: 3px; }
.hardware-intro strong {
  display: block;
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-block: 30px;
}
.hardware-intro strong span { color: var(--green); }
.hardware-intro p { font-size: 15px; }

.hardware-panel {
  padding: 26px;
  background: var(--surface-3);
  /* 双层边界：外描边 + 内高光 */
  border: 1px solid #3f5034;
  border-radius: var(--card-radius);
  box-shadow: var(--card-inner-line), 0 20px 60px rgba(0, 0, 0, .16);
}

/* 分区筛选：深色胶囊 */
.segmented {
  display: flex;
  gap: 4px;
  background: #161c14;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  flex-wrap: wrap;
}
.segmented button {
  flex: 1;
  background: transparent;
  color: #aab3a5;
  padding: 11px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.segmented button:hover { color: #d4dccd; }
.segmented .active { background: var(--green); color: #132007; font-weight: 700; }

/* 配置卡片（数据驱动，可无限新增） */
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.config-card {
  position: relative;
  /* 双层边界：描边 + 内高光 */
  border: 1px solid #2c3a2e;
  border-radius: 10px;
  padding: 22px;
  background: var(--surface-2);
  box-shadow: var(--card-inner-line);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.config-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--card-inner-line), var(--card-hover-tint);
  transform: translateY(-2px);
}
.config-card.soon { opacity: .82; border-style: dashed; border-color: #3a4632; }

.cfg-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #3c5230;
  background: #243019;
  color: var(--green);
}
.config-card.ready .cfg-badge { background: var(--green); border-color: var(--green); color: #16220a; font-weight: 700; }

/* GPU 名加大，产品感更强 */
.config-card h3 { font-size: 20px; margin: 0 0 14px; padding-right: 74px; letter-spacing: -.3px; }

.cfg-specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.cfg-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.cfg-specs li .k { color: #8fa089; }
.cfg-specs li .v { font-weight: 700; font-family: Arial, "Microsoft YaHei", sans-serif; text-align: right; }
.config-card.soon .cfg-specs li .v { color: #6c7a68; font-weight: 400; }

.cfg-note { font-size: 11px; color: #8e9c85; line-height: 1.7; margin: 12px 0 0; }

.panel-note {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  color: #8e9c85;
  font-size: 12px;
  margin-bottom: 0;
}

/* ---------- 03 游戏支持 ---------- */
.game-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.game-filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 22px;
  font-size: 13px;
  color: #aeb9b1;
  transition: border-color .2s, color .2s;
}
.game-filters button:hover { color: #d4dccd; border-color: #3d4d33; }
.game-filters .active { background: var(--green); color: #172209; border-color: var(--green); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.game-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid #35433a;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-radius: var(--card-radius);
  background: #16221c;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
/* hover 上浮 + 泛绿（服从主视觉，强度克制） */
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-hover-border);
  box-shadow: var(--card-hover-tint), var(--card-hover-glow);
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background:
    repeating-linear-gradient(125deg, transparent 0 40px, rgba(181, 255, 73, .06) 41px 43px, transparent 44px 70px),
    radial-gradient(ellipse at 100% 0, rgba(66, 119, 83, .5), transparent 70%);
}
/* 四色统一明度/饱和度（更暗、更灰，服从黑灰+荧光绿主视觉） */
.game-card.tint-blue   { background: #182026; }
.game-card.tint-blue::before   { background: repeating-linear-gradient(0deg, transparent 0 30px, rgba(131, 215, 255, .04) 31px 32px), linear-gradient(130deg, rgba(45, 73, 87, .5), transparent); }
.game-card.tint-gold   { background: #201d16; }
.game-card.tint-gold::before   { background: repeating-linear-gradient(75deg, transparent 0 40px, rgba(234, 206, 130, .05) 41px 43px), radial-gradient(ellipse at 0 0, rgba(117, 102, 69, .45), transparent 75%); }
.game-card.tint-purple { background: #1d1a26; }
.game-card.tint-purple::before { background: repeating-linear-gradient(135deg, transparent 0 32px, rgba(178, 160, 255, .06) 33px 36px), linear-gradient(160deg, rgba(73, 52, 97, .5), transparent); }

/* 大字母水印：放大 + 降透明，作为卡内背景装饰，不抢内容 */
.game-mark {
  position: absolute;
  top: 14px;
  right: 16px;
  width: auto;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  color: rgba(187, 255, 54, .16);
  pointer-events: none;
  z-index: 0;
}
.game-tag { font: 10px Arial, sans-serif; letter-spacing: 1.5px; color: #b9c8b4; position: relative; z-index: 1; }
.game-card h3 { font-size: 19px; margin: 0; position: relative; z-index: 1; }
/* 游戏名：胶囊标签集群 */
.game-names {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.game-name {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .025);
  font-size: 12px;
  line-height: 1.5;
  color: #c6cdc8;
  white-space: nowrap;
}
.game-more {
  margin-top: auto;
  font-size: 11px;
  color: #a2b596;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 12px;
  position: relative;
  z-index: 1;
}

/* ---------- 04 套餐方案 ---------- */
.pricing-section { background: #0f1311; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  background: var(--surface-2);
  border: 1px solid #303b32;
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-inner-line);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.plan:hover { border-color: var(--card-hover-border); transform: translateY(-3px); }

/* 推荐卡：放大（更大内边距）+ 绿描边 + 外发光，整体层级最高 */
.plan.featured {
  border: 1px solid var(--green);
  background: linear-gradient(160deg, #223318, #111810 55%);
  padding: 32px 26px;
  z-index: 1;
  box-shadow: var(--card-inner-line), 0 0 0 1px rgba(187, 255, 54, .25), 0 18px 50px rgba(187, 255, 54, .12);
}
.plan.featured:hover { transform: translateY(-3px); box-shadow: var(--card-inner-line), 0 0 0 1px rgba(187, 255, 54, .4), 0 22px 60px rgba(187, 255, 54, .18); }

/* 角标：实心胶囊 */
.recommend {
  position: absolute;
  right: 18px;
  top: -13px;
  background: var(--green);
  color: #1c270e;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 6px 18px rgba(187, 255, 54, .3);
}

.plan-label { font: 11px Arial, sans-serif; color: #a4b097; letter-spacing: 1.3px; }
.plan h3 { font-size: 23px; margin: 18px 0 10px; }
.plan > p { font-size: 14px; }

/* 价格区：加大留白与字号，强化转化感 */
.price { padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.price .price-tag { display: block; font-size: 26px; font-weight: 800; color: var(--green); letter-spacing: -.5px; }
.price small { display: block; color: #96a48d; font-size: 12px; margin-top: 6px; }

.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; color: #b5c0af; font-size: 13px; line-height: 2.2; flex: 1; }
.plan li::before { content: "✓"; color: var(--green); margin-right: 10px; }

/* 按钮层级：推荐卡 = 主按钮（绿+发光），其余 = 次按钮（玻璃描边） */
.plan .button { width: 100%; justify-content: space-between; font-size: 13px; padding: 12px 18px; gap: 12px; }
.plan .button.secondary { box-shadow: none; }

/* ---------- 05 使用流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps article { border-top: 1px solid var(--line); padding-top: 22px; }
.steps article > span { font: 300 48px Arial, sans-serif; color: #526b40; display: block; }
.steps h3 { margin: 16px 0 10px; font-size: 18px; }
.steps p { font-size: 14px; line-height: 1.8; margin: 0; }

/* ---------- 下载中心 ---------- */
.download {
  padding: 60px 65px;
  border: 1px solid #3f5034;
  border-radius: var(--card-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  /* 玻璃卡片：内高光 + 角落径向辉光（克制，不抢内容） */
  box-shadow: var(--card-inner-line), 0 30px 80px rgba(0, 0, 0, .25);
  background:
    radial-gradient(ellipse at 8% 110%, rgba(65, 103, 12, .28), transparent 60%),
    linear-gradient(160deg, rgba(20, 30, 17, .6), rgba(15, 20, 13, .6)),
    rgba(12, 16, 11, .5);
  backdrop-filter: blur(6px);
}
/* 左栏标题字号对齐 Hero（同族 clamp，略小一档） */
.download h2 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.18; letter-spacing: -2px; margin-bottom: 25px; font-weight: 950; }
.download h2 span { color: var(--green); }
.download p { font-size: 14px; }

.download-panel { align-self: center; }
.download-panel h3 { font-size: 18px; margin-bottom: 17px; }

/* 平台切换：分段胶囊 */
.platforms {
  display: flex;
  gap: 4px;
  background: #161c14;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
}
.platforms button {
  flex: 1;
  background: transparent;
  border: 0;
  font-size: 12px;
  padding: 11px 15px;
  border-radius: 5px;
  color: #aab3a5;
  transition: background .2s, color .2s;
}
.platforms button:hover { color: #d4dccd; }
.platforms .active { background: var(--green); color: #132007; font-weight: 700; }

.download-panel #platform-note { font-size: 13px; margin: 18px 0; }
/* 主下载按钮：全站最大 + 外发光，主 CTA 视觉优先级最高 */
.download-panel > .button {
  width: 100%;
  justify-content: space-between;
  padding: 17px 24px;
  font-size: 15px;
  font-weight: 750;
}
.download-panel > small { display: block; color: #92a184; margin-top: 12px; }
/* 系统要求：内嵌信息块 */
.download-panel .sys-req {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-3);
  color: #828f7c;
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 06 FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 80px; }
.faq-layout > div > p { font-size: 14px; margin-top: 22px; }

.questions details { border-bottom: 1px solid #2b352e; }
.questions details:first-child { border-top: 1px solid #2b352e; }
.questions summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  padding: 23px 30px 23px 0;
  position: relative;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--green);
  font: 24px Arial, sans-serif;
}
.questions details[open] summary::after { content: "−"; }
.questions details p { font-size: 14px; line-height: 1.9; margin-bottom: 24px; padding-right: 23px; }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--line); background: #070a08; padding: 44px 0 25px; font-size: 12px; }

.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-top p { margin: 0; font-size: 13px; }
.footer-top > a:last-child { color: #a6b69b; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
  padding-bottom: 25px;
  color: #9ba996;
  flex-wrap: wrap;
}
.footer-links span { margin-right: auto; }
.footer-links button { background: none; color: #a4b49c; padding: 0; font-size: 12px; }
.footer-links button:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid #263020;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #73846c;
  flex-wrap: wrap;
}

/* 备案信息：有备案号时为官方平台链接 */
.footer-beian { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.footer-beian a {
  color: #9aa896;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-beian a:hover { color: var(--green); }
.footer-beian a img { height: 16px; width: auto; display: block; }
.footer-beian .beian-pending { color: #697562; }

/* ---------- 弹窗 ---------- */
dialog {
  width: min(470px, calc(100% - 36px));
  padding: 40px;
  background: #141c13;
  color: var(--text);
  border: 1px solid #657e46;
  border-radius: 12px;
  box-shadow: 0 40px 150px rgba(0, 0, 0, .6);
}
dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(7px); }
dialog h2 { font-size: 26px; margin: 16px 0; }
dialog p { font-size: 15px; line-height: 1.9; white-space: pre-line; }
dialog .eyebrow { font-size: 11px; }

.dialog-close {
  position: absolute;
  right: 16px;
  top: 9px;
  background: transparent;
  color: #b8c5af;
  font: 30px Arial, sans-serif;
  padding: 8px;
}
.dialog-confirm { margin-top: 10px; width: 100%; }

[hidden] { display: none !important; }

/* ============================================================
   响应式
   ============================================================ */

/* 大屏 */
@media (min-width: 1600px) {
  .hero-art img { object-position: center 48%; }
  .hero { min-height: 800px; }
  .hero-content { padding-top: 135px; }
}

/* 平板 */
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .nav-wrap { gap: 18px; }
  .nav-wrap nav { gap: 16px; font-size: 12px; }
  .brand-wordmark { font-size: 17px; }
  .button.small { gap: 9px; padding: 10px 12px; }

  .hero-caption { right: 5%; bottom: 115px; }

  .plans { grid-template-columns: repeat(2, 1fr); }
  .hardware-layout { gap: 35px; }
  .download { padding: 48px 40px; gap: 35px; }
  .faq-layout { gap: 45px; }
}

/* 手机 */
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .nav-wrap { height: 72px; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-download { display: none; }
  .nav-wrap nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: rgba(16, 23, 15, .97);
    padding: 15px 25px 25px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    gap: 0;
  }
  .nav-wrap nav.open { display: flex; }
  .nav-wrap nav a { padding: 12px; }

  .hero { min-height: 730px; }
  .hero-art img { object-position: 63% 50%; opacity: .65; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 11, 9, .85), transparent),
      linear-gradient(0deg, #090c0b 0, rgba(9, 12, 11, .2) 50%, rgba(9, 12, 11, .13));
  }
  .hero-content { padding-top: 65px; padding-bottom: 230px; }
  .hero h1 { font-size: 52px; }
  .hero-desc { font-size: 15px; }
  .hero-caption { right: 25px; bottom: 115px; }
  .hero-bottom { font-size: 10px; flex-wrap: wrap; gap: 10px; }
  .hero-bottom > span:first-child { display: none; }

  .section { padding-block: 65px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 32px; }
  .section-heading > p { font-size: 14px; }

  /* 产品优势：手机端保留全部 6 条，单列卡片 */
  .benefits { grid-template-columns: 1fr; gap: 16px; }
  .benefits article { padding: 22px 20px; }

  /* 配置区：介绍文案不再隐藏，纵向堆叠；卡片单列 */
  .hardware-layout { grid-template-columns: 1fr; gap: 30px; }
  .hardware-intro { padding: 0; }
  .hardware-intro strong { font-size: 38px; margin-block: 22px; }
  .config-grid { grid-template-columns: 1fr; }

  /* 游戏支持：两列 */
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .game-card { min-height: 260px; padding: 18px; gap: 10px; }
  .game-mark { font-size: 44px; top: 10px; right: 12px; }

  /* 套餐：单列 */
  .plans { grid-template-columns: 1fr; gap: 26px; }

  /* 流程：两列，信息完整保留 */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .steps article > span { font-size: 40px; }
  .steps h3 { font-size: 16px; }
  .steps p { font-size: 13px; }

  .download { grid-template-columns: 1fr; padding: 38px 28px; gap: 24px; }
  .download h2 { font-size: 40px; }
  .platforms button { flex: 1; }

  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout > div > p { margin-bottom: 0; }

  .footer-top { flex-wrap: wrap; }
  .footer-top p { order: 3; width: 100%; font-size: 12px; }
  .footer-links { gap: 18px; margin-top: 28px; }
  .footer-links span { width: 100%; margin-right: 0; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .hero { min-height: 690px; }
  .hero-content { padding-top: 50px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.7px; }
  .hero-art img { object-position: 61% 30%; opacity: .55; }
  .hero-desc { font-size: 14px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { font-size: 13px; padding: 12px 14px; gap: 15px; }
  .hero-tags { font-size: 11px; gap: 19px; }
  .hero-caption { bottom: 100px; font-size: 9px; }
  .hero-caption b { font-size: 11px; }

  .benefits article { padding: 20px 18px; }
  .benefits h3 { font-size: 17px; margin-bottom: 7px; }
  .benefits .icon { font-size: 26px; margin-bottom: 12px; }
  .benefits p { max-width: none; font-size: 13px; }

  .hardware-panel { padding: 20px; }
  .segmented button { font-size: 12px; padding: 10px 6px; }

  .game-filters { gap: 7px; }
  .game-filters button { font-size: 12px; padding: 8px 13px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 0; }
  .game-mark { font-size: 40px; }

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

  .download { padding: 32px 22px; }
  .platforms { gap: 6px; }
  .platforms button { padding: 10px 7px; font-size: 11px; }
  .download-panel .button { font-size: 13px; }

  .questions summary { font-size: 14px; }
  .questions details p { font-size: 13px; }

  .footer-top .brand { font-size: 17px; }
  .footer-top > a:last-child { font-size: 11px; }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
