/* ==========================================================
   SCUM 开服面板官网 — 暗蓝夜空 × 琥珀金 v1
   ========================================================== */
/* 已移除 Google Fonts 外链（国内访问会阻塞渲染），改用系统字体栈 */

:root {
  --bg-body: #0b1120;
  --bg-nav: rgba(11,17,32,0.92);
  --bg-card: #131d30;
  --bg-card-inner: #182440;
  --bg-hover: #1e2f50;
  --text-heading: #f0f4f8;
  --text-body: #a0b0c8;
  --text-muted: #5a7090;
  --accent-blue: #4a9eff;
  --accent-green: #3dd68c;
  --accent-amber: #f5a623;
  --accent-amber-soft: rgba(245,166,35,0.10);
  --accent-red: #f87171;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Segoe UI', sans-serif;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --nav-h: 62px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
/* html 也必须裁剪横向溢出：子页的 .page-hero-glow（right:-20%）会撑宽文档滚动区 */
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
body {
  font-family:var(--font-sans);
  color:var(--text-body);
  background:var(--bg-body);
  line-height:1.65;
  min-height:100vh;
  overflow-x:hidden;
}
/* 全局氛围光：顶部冷蓝 + 底部琥珀微光 */
body::before {
  content:''; position:fixed; inset:0;
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(74,158,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 35% at 85% 100%, rgba(245,166,35,0.04) 0%, transparent 60%);
  pointer-events:none; z-index:0;
}
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }

.dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--accent-amber); margin-right:8px; vertical-align:1px; }
.hl { color:var(--accent-amber); }

/* ================= NAV ================= */
.nav {
  background:var(--bg-nav);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:100;
}
.nav-inner { max-width:1200px; margin:0 auto; padding:0 2rem; height:var(--nav-h); display:flex; align-items:center; position:relative; }
.nav-brand { display:flex; align-items:center; gap:11px; }
.nav-brand-icon { width:28px; height:28px; flex-shrink:0; }
.nav-brand-icon svg { width:100%; height:100%; }
.nav-brand-name { font-size:0.98rem; font-weight:800; color:var(--text-heading); letter-spacing:0.04em; white-space:nowrap; }
.nav-brand-name span { color:var(--accent-amber); }
.nav-links { display:flex; align-items:center; position:absolute; left:50%; transform:translateX(-50%); }
.nav-link { padding:0 0.85rem; height:var(--nav-h); display:flex; align-items:center; font-size:0.95rem; font-weight:600; color:var(--text-muted); transition:color 0.2s; position:relative; letter-spacing:0.03em; }
.nav-link:hover { color:var(--text-body); }
.nav-link.active { color:var(--text-heading); }
.nav-link.active::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:24px; height:2px; background:var(--accent-amber); border-radius:1px; }
.nav-actions { display:flex; align-items:center; margin-left:auto; }
.nav-download {
  display:inline-flex; align-items:center; gap:6px; padding:8px 20px;
  font-size:0.8rem; font-weight:700; color:#0b1120;
  background:linear-gradient(135deg, var(--accent-amber), #ffc04d);
  border-radius:var(--radius-xs); transition:all 0.25s;
  box-shadow:0 2px 12px rgba(245,166,35,0.25);
}
.nav-download:hover { transform:translateY(-1px); box-shadow:0 4px 20px rgba(245,166,35,0.35); }
.nav-download svg { width:14px; height:14px; }
.nav-hamburger { display:none; margin-left:auto; padding:8px; }
.nav-hamburger span { display:block; width:20px; height:2px; background:var(--text-heading); margin:4px 0; border-radius:1px; transition:transform 0.25s ease, opacity 0.25s ease; }
.nav-hamburger.open span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.nav-mobile { display:none; flex-direction:column; border-top:1px solid var(--border); padding:0.5rem 1.5rem 1rem; }
.nav-mobile.open { display:flex; }
.nav-mobile .nav-link { height:auto; padding:0.75rem 0; font-size:0.95rem; font-weight:600; }
.nav-mobile .nav-download { margin-top:0.6rem; align-self:flex-start; }

/* ================= HERO — 原画融合背景 ================= */
.hero {
  position:relative; min-height:calc(100vh - var(--nav-h));
  display:flex; align-items:center; overflow:hidden;
}
/* 三层渐变把原画「焊」进底色：
   1) 横向——右侧压暗给文字，左侧留亮透出人物
   2) 纵向——顶部接住导航、底部融进 #0b1120
   3) 原画本身 cover 定位在人物处 */
.hero-bg {
  position:absolute; inset:0; z-index:0;
  background:
    linear-gradient(270deg, rgba(11,17,32,0.96) 0%, rgba(11,17,32,0.86) 28%, rgba(11,17,32,0.38) 58%, rgba(11,17,32,0.06) 100%),
    linear-gradient(180deg, rgba(11,17,32,0.62) 0%, rgba(11,17,32,0) 26%, rgba(11,17,32,0) 58%, rgba(11,17,32,0.55) 82%, #0b1120 100%),
    url('../img/scum-hero.webp') left 42% / cover no-repeat;
}
/* 人物脚下的琥珀轮廓光，让原画与底色更咬合 */
.hero-glow {
  position:absolute; z-index:1; pointer-events:none;
  left:-10%; bottom:-18%; width:55%; height:46%;
  background:radial-gradient(ellipse at center, rgba(245,166,35,0.10) 0%, transparent 65%);
}
.hero-inner {
  position:relative; z-index:2;
  max-width:1200px; width:100%; margin:0 auto; padding:4.2rem 2rem 2.5rem;
  display:flex; justify-content:flex-end;
}
.hero-copy { max-width:580px; }
.hero-badge {
  display:inline-flex; align-items:center; align-self:center;
  padding:9px 18px;
  background:rgba(255,255,255,0.045); border:1px solid rgba(245,166,35,0.28);
  border-radius:999px; font-size:0.78rem; font-weight:600; color:#e8c88a;
  letter-spacing:0.05em;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.hero-title {
  font-size:clamp(2.3rem, 4.6vw, 3.4rem);
  font-weight:900; line-height:1.18; color:var(--text-heading);
  letter-spacing:-0.01em; margin-bottom:1.3rem;
  text-shadow:0 2px 24px rgba(0,0,0,0.45);
}
.hero-sub {
  font-size:1.02rem; line-height:1.8; color:var(--text-body);
  margin-bottom:2.2rem; text-shadow:0 1px 12px rgba(0,0,0,0.4);
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 30px; border-radius:var(--radius-sm);
  font-size:0.92rem; font-weight:700; letter-spacing:0.02em;
  transition:all 0.25s; border:none;
}
.btn-primary {
  color:#0b1120;
  background:linear-gradient(135deg, var(--accent-amber), #ffc04d);
  box-shadow:0 4px 20px rgba(245,166,35,0.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(245,166,35,0.42); }
.btn-ghost {
  color:var(--text-heading); background:rgba(255,255,255,0.06);
  border:1px solid var(--border-light); backdrop-filter:blur(8px);
}
.btn-ghost:hover { background:rgba(255,255,255,0.12); transform:translateY(-2px); }
.hero-meta {
  margin-top:1.8rem; font-size:0.88rem; font-weight:600;
  color:#cfd9e8; letter-spacing:0.02em;
  display:flex; align-items:center; gap:9px; line-height:1.5;
  text-shadow:0 1px 10px rgba(0,0,0,0.5);
}
.hero-meta-icon { width:17px; height:17px; flex-shrink:0; }

/* 首屏内的面板截图：裁顶部区域 + 3D 微倾 + 琥珀辉光，像悬浮在原画上 */
.hero-shot { position:relative; margin-top:2.6rem; max-width:620px; }
.hero-shot-glow {
  position:absolute; inset:-16% -12%; pointer-events:none;
  background:radial-gradient(ellipse 60% 65% at 55% 75%, rgba(245,166,35,0.16) 0%, transparent 65%);
}
.hero-shot-frame {
  position:relative; aspect-ratio:16 / 7.8; overflow:hidden;
  border-radius:14px 14px 0 0; border:1px solid rgba(255,255,255,0.12); border-bottom:none;
  background:#0d1424;
  box-shadow:0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(245,166,35,0.06);
  transform:perspective(1600px) rotateX(7deg) rotateY(-9deg) rotateZ(0.5deg);
  transform-origin:50% 0;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
  /* 关键：底部整体渐隐，截图像从背景里长出来，没有硬切边 */
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-image:linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
}
.hero-shot:hover .hero-shot-frame {
  transform:perspective(1600px) rotateX(4deg) rotateY(-5deg);
  box-shadow:0 36px 72px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,166,35,0.16);
}
.hero-shot-frame img { width:100%; height:100%; object-fit:cover; object-position:50% 0%; display:block; }
/* 左上压一层底色渐变，让截图边缘与暗蓝背景咬合 */
.hero-shot-frame::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(115deg, rgba(11,17,32,0.38) 0%, transparent 32%),
    linear-gradient(180deg, rgba(11,17,32,0.28) 0%, transparent 18%);
}
/* ================= STATS ================= */
.stats { position:relative; z-index:2; padding:0 2rem; }
.stats-grid {
  max-width:1080px; margin:0 auto;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:1px;
  background:var(--border); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-card);
}
.stat { background:var(--bg-card); padding:1.9rem 1rem; text-align:center; }
.stat-val { font-size:2rem; font-weight:900; color:var(--accent-amber); letter-spacing:-0.02em; line-height:1.2; }
.stat-lbl { font-size:0.8rem; color:var(--text-muted); margin-top:4px; }

/* ================= FEATURES ================= */
.features { position:relative; z-index:2; max-width:1200px; margin:0 auto; padding:6.5rem 2rem 2rem; }
.section-head { text-align:center; margin-bottom:3.2rem; }
.section-tag {
  display:inline-flex; align-items:center; padding:6px 16px;
  background:var(--accent-amber-soft); border-radius:999px;
  font-size:0.76rem; font-weight:600; color:var(--accent-amber);
  letter-spacing:0.08em; margin-bottom:1.1rem;
}
.section-title { font-size:clamp(1.6rem, 3.2vw, 2.2rem); font-weight:800; color:var(--text-heading); margin-bottom:0.8rem; }
.section-desc { font-size:0.95rem; color:var(--text-muted); }
.feats-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.feat {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:1.8rem 1.6rem;
  transition:all 0.25s;
}
.feat:hover { transform:translateY(-4px); border-color:rgba(245,166,35,0.30); background:var(--bg-hover); box-shadow:0 12px 32px rgba(0,0,0,0.35); }
.feat-icon { font-size:1.7rem; margin-bottom:0.9rem; }
.feat-title { font-size:1.02rem; font-weight:700; color:var(--text-heading); margin-bottom:0.4rem; }
.feat-desc { font-size:0.84rem; color:var(--text-muted); line-height:1.7; }
.feats-more { text-align:center; margin-top:2.6rem; }
.link-arrow { display:inline-flex; align-items:center; gap:8px; font-size:0.88rem; font-weight:600; color:var(--accent-amber); transition:gap 0.2s; }
.link-arrow:hover { gap:12px; }
.link-arrow svg { width:15px; height:15px; }

/* ================= CTA ================= */
.cta { position:relative; z-index:2; max-width:1200px; margin:0 auto; padding:6.5rem 2rem 7rem; }
.cta-inner {
  text-align:center; padding:4.2rem 2rem;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(245,166,35,0.10) 0%, transparent 60%),
    var(--bg-card);
  border:1px solid rgba(245,166,35,0.18);
  border-radius:22px;
}
.cta-title { font-size:clamp(1.6rem, 3.2vw, 2.2rem); font-weight:800; color:var(--text-heading); margin-bottom:0.8rem; }
.cta-desc { font-size:0.95rem; color:var(--text-muted); margin-bottom:2.2rem; }
.cta-actions { justify-content:center; }

/* ================= FOOTER ================= */
.footer { position:relative; z-index:2; border-top:1px solid var(--border); background:rgba(9,13,25,0.6); }
.footer-inner { max-width:1200px; margin:0 auto; padding:3.2rem 2rem 2.4rem; display:grid; grid-template-columns:2fr 1fr 1fr; gap:2.5rem; }
.footer-brand { font-size:1.05rem; font-weight:800; color:var(--text-heading); margin-bottom:0.7rem; }
.footer-brand span { color:var(--accent-amber); font-weight:500; }
.footer-desc { font-size:0.84rem; color:var(--text-muted); max-width:320px; }
.footer-col h4 { font-size:0.85rem; font-weight:700; color:var(--text-heading); margin-bottom:1rem; }
.footer-col a { display:block; font-size:0.84rem; color:var(--text-muted); padding:0.3rem 0; transition:color 0.2s; }
.footer-col a:hover { color:var(--accent-amber); }
.footer-bottom {
  max-width:1200px; margin:0 auto; padding:1.2rem 2rem;
  border-top:1px solid var(--border);
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-size:0.75rem; color:var(--text-dim, #3a5070);
}

/* ================= 响应式 ================= */
@media (max-width: 960px) {
  .nav-links { display:none; }
  .nav-actions { display:none; }  /* 顶栏下载按钮隐藏，收进汉堡菜单 */
  .nav-hamburger { display:block; }
  .nav-mobile .nav-link { display:flex; }

  /* 首屏改为居中构图：整幅原画压暗作氛围底 */
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(11,17,32,0.78) 0%, rgba(11,17,32,0.62) 40%, rgba(11,17,32,0.82) 78%, #0b1120 100%),
      linear-gradient(rgba(11,17,32,0.35), rgba(11,17,32,0.35)),
      url('../img/scum-hero.webp') center 40% / cover no-repeat;
  }
  .hero-inner { justify-content:center; text-align:center; padding:4.5rem 1.5rem 5rem; }
  .hero-copy { max-width:640px; }
  .hero-actions { justify-content:center; }
  .hero-meta { justify-content:center; }
  .hero-shot { max-width:560px; margin:2.2rem auto 0; }
  .hero-shot-frame { transform:none; }
  .stats-grid { grid-template-columns:repeat(2, 1fr); }
  .feats-grid { grid-template-columns:repeat(2, 1fr); }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .footer-brand-col { grid-column:1 / -1; }
}
@media (max-width: 560px) {
  .feats-grid { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; }
  .stat-val { font-size:1.6rem; }
}

/* ================= SUBPAGE — 基础功能 ================= */
.page-hero {
  position:relative; z-index:2; text-align:center;
  padding:5.2rem 2rem 3rem;
}
.page-hero-glow {
  position:absolute; left:0; right:0; top:-45%; bottom:-80%;
  pointer-events:none;
  /* 原 left/right:-20% 会把文档撑宽 40%，改为全宽 + 加大椭圆半径，覆盖面积不变 */
  background:radial-gradient(ellipse 78% 45% at 50% 62%, rgba(245,166,35,0.09) 0%, transparent 62%);
}
.page-hero .plat-row { margin-bottom:1.3rem; }

/* 平台切换胶囊：Win64 客户端 / PC 网页端 / 手机网页端（后续接入独立页面） */
.plat-row { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }
.plat-chip {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 22px; border-radius:999px;
  font-size:0.86rem; font-weight:600; color:var(--text-body);
  background:rgba(19,29,48,0.6); border:1px solid var(--border-light);
  transition:all 0.25s;
}
.plat-chip svg { width:14px; height:14px; color:var(--accent-amber); flex-shrink:0; }
.plat-chip:hover { border-color:rgba(245,166,35,0.4); color:var(--text-heading); transform:translateY(-1px); }
.plat-chip.active {
  background:var(--accent-amber-soft); border-color:rgba(245,166,35,0.45); color:#f0c88a;
}
.page-title { font-size:clamp(1.9rem, 4vw, 2.6rem); font-weight:900; color:var(--text-heading); margin-bottom:0.8rem; }
.page-desc { font-size:0.95rem; color:var(--text-muted); }

.fsecwrap {
  position:relative; z-index:2;
  max-width:1180px; margin:0 auto;
  padding:2rem 2rem 2rem;
  display:flex; flex-direction:column; gap:6.5rem;
}
.fsec { display:grid; grid-template-columns:0.9fr 1.25fr; gap:4rem; align-items:center; }
.fsec-rev .fsec-copy { order:2; }
.fsec-num {
  font-family:var(--font-mono, monospace); font-size:0.8rem; font-weight:600;
  color:var(--accent-amber); letter-spacing:0.3em; margin-bottom:0.7rem;
}
.fsec-num::after { content:''; display:block; width:34px; height:2px; background:rgba(245,166,35,0.4); border-radius:1px; margin-top:8px; }
.fsec-title { font-size:clamp(1.4rem, 2.6vw, 1.8rem); font-weight:800; color:var(--text-heading); margin-bottom:0.7rem; }
.fsec-desc { font-size:0.92rem; color:var(--text-body); margin-bottom:1.2rem; }
.fsec-list { list-style:none; }
.fsec-list li {
  position:relative; padding:0.42rem 0 0.42rem 1.4rem;
  font-size:0.86rem; color:var(--text-muted); line-height:1.65;
}
.fsec-list li::before {
  content:''; position:absolute; left:0; top:0.95rem;
  width:7px; height:7px; border-radius:2px;
  background:var(--accent-amber); opacity:0.75;
  transform:rotate(45deg);
}

/* 截图卡：圆角+细边+微渐隐底边+侧后方光晕，融入暗蓝背景 */
.fsec-media { position:relative; min-width:0; }
/* 双图模块（如 07 假人列表在线）：文案在上，两张截图并排 */
.fsec-stack { display:block; }
.fsec-duo {
  display:grid; grid-template-columns:1.05fr 1fr; gap:2.2rem;
  margin-top:2.4rem; align-items:start;
}
.fshot-glow {
  position:absolute; inset:-12% -14%; pointer-events:none;
  background:radial-gradient(ellipse 60% 60% at 50% 60%, rgba(245,166,35,0.10) 0%, transparent 62%);
}
.fsec-rev .fshot-glow {
  background:radial-gradient(ellipse 60% 60% at 50% 60%, rgba(74,158,255,0.10) 0%, transparent 62%);
}
/* v2 统一融合显示：与首屏截图同款——底边渐隐溶进背景 */
.fshot {
  position:relative; margin:0; overflow:hidden;
  border-radius:16px 16px 0 0; border:1px solid rgba(255,255,255,0.10); border-bottom:none;
  background:#0d1424;
  box-shadow:0 20px 48px rgba(0,0,0,0.45);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-image:linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  transition:transform 0.3s ease, border-color 0.3s ease;
}
.fshot:hover { transform:translateY(-4px); border-color:rgba(245,166,35,0.28); }
.fshot img { width:100%; height:auto; display:block; }
.fshot::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(115deg, rgba(11,17,32,0.38) 0%, transparent 30%),
    linear-gradient(180deg, rgba(11,17,32,0.26) 0%, transparent 16%);
}

@media (max-width: 960px) {
  .fsecwrap { gap:4.5rem; padding:1rem 1.25rem 0; }
  .fsec { grid-template-columns:1fr; gap:1.8rem; }
  .fsec-rev .fsec-copy { order:0; }
  .fshot-glow { inset:-8% -10%; }
  .fsec-duo { grid-template-columns:1fr; gap:1.8rem; }
}

/* ================= 手机网页端 — 三机并列 ================= */
.phone-row {
  position:relative; z-index:2;
  max-width:1240px; margin:0 auto; padding:2.5rem 2rem 1rem;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:2.2rem;
  align-items:start; justify-items:center;
}
.phone-shot {
  position:relative; margin:0; width:100%; max-width:400px;
  border-radius:22px 22px 0 0; overflow:hidden;
  border:1px solid rgba(255,255,255,0.11); border-bottom:none;
  background:#0d1424;
  box-shadow:0 22px 52px rgba(0,0,0,0.5);
  transition:transform 0.3s ease, border-color 0.3s ease;
}
.phone-shot img {
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-image:linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
}
.phone-shot:nth-child(2) { margin-top:2.6rem; }
.phone-shot:hover { transform:translateY(-5px); border-color:rgba(245,166,35,0.3); }
.phone-shot img { width:100%; height:auto; display:block; }
.phone-glow {
  position:absolute; inset:-18% -25%; pointer-events:none; z-index:-1;
  background:radial-gradient(ellipse at 50% 55%, rgba(245,166,35,0.12) 0%, transparent 60%);
}
.phone-shot figcaption {
  position:absolute; left:50%; bottom:12px; transform:translateX(-50%);
  padding:5px 16px; border-radius:999px; white-space:nowrap;
  font-size:0.76rem; font-weight:600; color:#e8c88a;
  background:rgba(11,17,32,0.78); border:1px solid rgba(245,166,35,0.3);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.mob-feats { position:relative; z-index:2; max-width:1100px; margin:0 auto; padding:5rem 2rem 1rem; }

/* 中等宽屏：转双列，第三台跨列居中（图片保持大尺寸） */
@media (max-width: 1024px) {
  .phone-row {
    grid-template-columns:1fr 1fr; gap:1.8rem; padding:2rem 1.5rem 1rem;
  }
  .phone-shot { max-width:460px; }
  .phone-shot:nth-child(2) { margin-top:0; }
  .phone-shot:nth-child(3) { grid-column:1 / -1; justify-self:center; }
}
/* 窄屏：单列铺满，图片接近原始宽度 */
@media (max-width: 560px) {
  .phone-row { grid-template-columns:1fr; gap:1.4rem; padding:1.75rem 1.25rem 1rem; }
  .phone-shot { max-width:520px; }
  .phone-shot:nth-child(3) { grid-column:auto; }
}

/* 单图通栏（假人页「游戏内实际效果」） */
.fshot-wide {
  max-width:1060px; margin:2.4rem auto 0;
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 80%, rgba(0,0,0,0.25) 100%);
  mask-image:linear-gradient(180deg, #000 0%, #000 80%, rgba(0,0,0,0.25) 100%);
}

/* 平台分隔条（内置商城页：Win64 / PC / 手机 分组） */
.pdiv { display:flex; align-items:center; gap:1.4rem; margin-top:0.5rem; }
.pdiv-chip {
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 24px; border-radius:999px;
  font-size:0.92rem; font-weight:700; color:#f0c88a;
  background:var(--accent-amber-soft); border:1px solid rgba(245,166,35,0.4);
}
.pdiv-chip svg { width:15px; height:15px; color:var(--accent-amber); flex-shrink:0; }
.pdiv-line { flex:1; height:1px; background:var(--border); }

/* ================= 定价页 ================= */
.free-card {
  display:grid; grid-template-columns:1.4fr 1fr; gap:3rem; align-items:center;
  background:
    radial-gradient(ellipse 55% 90% at 100% 0%, rgba(245,166,35,0.10) 0%, transparent 60%),
    var(--bg-card);
  border:1px solid rgba(245,166,35,0.22); border-radius:20px;
  padding:2.6rem 2.8rem;
}
.free-price { display:flex; align-items:baseline; gap:8px; margin-bottom:1.2rem; }
.free-cur { font-size:1.6rem; font-weight:700; color:var(--accent-amber); }
.free-val { font-size:3.6rem; font-weight:900; color:var(--accent-amber); line-height:1; }
.free-note {
  font-size:0.8rem; font-weight:600; color:#3dd68c;
  background:rgba(61,214,140,0.10); border:1px solid rgba(61,214,140,0.3);
  border-radius:999px; padding:4px 14px;
}
.ptable-sec { display:block; }
.ptable-head { margin-bottom:1.6rem; }
.ptable {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-card);
}
.ptable-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:1.15rem 1.8rem;
  border-bottom:1px solid var(--border);
  transition:background 0.2s;
}
.ptable-row:last-child { border-bottom:none; }
.ptable-row:hover { background:var(--bg-hover); }
.ptier { font-size:0.95rem; font-weight:600; color:var(--text-heading); }
.pval { font-size:0.85rem; color:var(--text-muted); }
.pval em { font-style:normal; font-size:1.35rem; font-weight:800; color:var(--accent-amber); margin-right:4px; }
.ptable-foot { margin-top:1.4rem; }

@media (max-width: 860px) {
  .free-card { grid-template-columns:1fr; gap:1.8rem; padding:2rem 1.6rem; }
  .ptable-row { padding:1rem 1.2rem; }
}

/* 版本行动感：持续更新中 · 红绿灯三灯各自闪烁（非依次滚动） */
.upd-led {
  display:inline-flex; align-items:center; gap:5px; margin-left:8px; vertical-align:1px;
  padding:3px 10px; border-radius:999px;
  background:rgba(255,255,255,0.045); border:1px solid rgba(255,255,255,0.14);
}
.upd-led i { display:block; width:7px; height:7px; border-radius:50%; background:currentColor; opacity:0.28; }
/* 三灯各自以不同周期独立明灭，避免形成依次滚动的观感 */
.upd-led i:nth-child(1) { color:#3dd68c; animation:blink 3.1s steps(1, end) infinite; }
.upd-led i:nth-child(2) { color:#f5a623; animation:blink 5.5s steps(1, end) infinite; }
.upd-led i:nth-child(3) { color:#f87171; animation:blink 5.9s steps(1, end) infinite; }
@keyframes blink {
  0%, 49%  { opacity:1; box-shadow:0 0 8px currentColor; }
  50%, 100% { opacity:0.28; box-shadow:none; }
}
@media (prefers-reduced-motion: reduce) {
  .upd-led i { animation:none; }
  .upd-led i:nth-child(1) { opacity:1; box-shadow:0 0 8px rgba(61,214,140,0.6); }
}

/* ==========================================================
   移动端统一优化（置于文件末尾，确保覆盖上述各区块默认样式）
   ========================================================== */

/* 手机浏览器地址栏会让 100vh 大于实际可视高度，导致首屏被顶出屏幕 */
@supports (height: 100svh) {
  .hero { min-height:calc(100svh - var(--nav-h)); }
}

@media (max-width: 960px) {
  .nav-inner { padding:0 1.25rem; }

  /* 子页 hero：压缩上下留白 */
  .page-hero { padding:3.2rem 1.25rem 2rem; }
  .page-hero .plat-row { margin-bottom:1.1rem; }

  /* 平台切换胶囊：收紧间距，减少折行 */
  .plat-row { gap:8px; }
  .plat-chip { padding:7px 15px; font-size:0.82rem; gap:7px; }
  .plat-chip svg { width:13px; height:13px; }

  /* 通用区块容器（.mob-feats 被手机页与假人页共用） */
  .mob-feats { padding:3rem 1.25rem 1rem; }
  .features { padding:4.2rem 1.25rem 1.5rem; }
  .cta { padding:4.2rem 1.25rem 5rem; }
  .cta-inner { padding:2.8rem 1.4rem; border-radius:18px; }
  .cta-desc { margin-bottom:1.8rem; }
  .stats { padding:0 1.25rem; }
  .section-head { margin-bottom:2.2rem; }
  .fshot-wide { margin-top:1.8rem; }

  .footer-inner { padding:2.6rem 1.25rem 2rem; gap:2rem; }
  .footer-bottom { padding:1.1rem 1.25rem; justify-content:center; text-align:center; }
}

@media (max-width: 560px) {
  .page-hero { padding:2.6rem 1.1rem 1.6rem; }

  /* 三平台入口改等分三列，一行排完更像「标签切换」 */
  .plat-row { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
  .plat-chip { justify-content:center; padding:7px 6px; font-size:0.72rem; gap:5px; }
  .plat-chip svg { width:12px; height:12px; }

  .features { padding:3.6rem 1.1rem 1.2rem; }
  .mob-feats { padding:2.6rem 1.1rem 1rem; }
  .cta { padding:3.6rem 1.1rem 4.2rem; }
  .cta-inner { padding:2.4rem 1.2rem; }

  /* 首屏按钮在窄屏各占一行居中，触控面积更大 */
  .hero-actions .btn { flex:1 1 100%; justify-content:center; padding:12px 22px; }
  .cta-actions .btn { flex:0 1 auto; }
  .hero-badge { width:100%; justify-content:center; padding:7px 14px; }

  /* 首屏截图：放宽比例，少裁一点面板内容 */
  .hero-shot-frame { aspect-ratio:16 / 9; }

  .stat { padding:1.5rem 0.5rem; }
  .stat-val { font-size:1.5rem; }
  .stat-lbl { font-size:0.74rem; }

  .fsec-desc { font-size:0.9rem; }
  .fsec-list li { font-size:0.84rem; }

  /* 定价：压一下超大数字与表格内边距 */
  .free-card { padding:1.8rem 1.3rem; }
  .free-val { font-size:2.9rem; }
  .free-cur { font-size:1.3rem; }
  .ptable-row { padding:0.95rem 1.1rem; }
  .pval em { font-size:1.22rem; }
}
