/* ============================================================
   心守工作室 官网样式系统 · 明快版
   奶油白底 · 海军蓝正文 · 阳光黄点缀 · 两款游戏专属强调色
   ============================================================ */

:root {
  /* 色板（白天模式） */
  --bg: #fff8ee;            /* 暖奶油底 */
  --bg-2: #ffffff;          /* 纯白面板 */
  --bg-3: #f6efdf;          /* 浅沙色 */
  --ink: #1c2662;           /* 海军蓝正文 */
  --muted: #5b6390;         /* 次级文字 */
  --faint: #9aa0c6;         /* 弱化文字 */
  --line: rgba(28, 38, 98, 0.16);
  --line-soft: rgba(28, 38, 98, 0.08);

  /* 品牌强调色：阳光黄（每页/每区块可用 --accent 覆写） */
  --accent: #ffb62e;
  --accent-strong: #e08a00; /* 浅色底上的文字级强调 */
  --accent-ink: #1c2662;    /* 强调色上的文字 */

  /* 字体 */
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  /* 流式字号基准 */
  --unit: clamp(4px, calc((100vw - 40px) / 110), 12px);
  --pad: clamp(20px, 6vw, 72px);
  --radius: 6px;

  /* 描边宽度随屏缩放（游戏感粗描边） */
  --bw: 2px;
  @media (min-width: 1600px) { --bw: 2.5px; }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全局网格纹理签名（细方格） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 100%);
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }

h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- 文字标签系统 ---------- */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 26px; height: var(--bw);
  background: var(--accent);
  display: inline-block;
}

.sec-title {
  font-size: clamp(28px, calc(var(--unit) * 5.4), 56px);
  margin-top: 14px;
  color: var(--ink);
}
.sec-sub { color: var(--muted); max-width: 560px; margin-top: 14px; }

section { padding: clamp(64px, 10vw, 120px) 0; }

/* ---------- 星光装饰 ---------- */
.spark {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.7em;
  vertical-align: 0.12em;
}

/* ============================================================
   顶部导航（3 项 + 下拉）
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid {
  background: rgba(255, 251, 243, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand .brand-dot {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  letter-spacing: 0.2em;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
@media (max-width: 900px) { .brand .brand-dot { display: none; } }

.main-nav { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 14px); }

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 8px 12px;
  transition: color 0.25s;
}
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-item > a:hover, .nav-item > a.is-active { color: var(--ink); }
.nav-item > a:hover::after, .nav-item > a.is-active::after { transform: scaleX(1); }
.nav-item > a .chev { transition: transform 0.25s; }
.nav-item.is-open > a .chev { transform: rotate(180deg); }

/* 下拉面板 */
.has-drop { position: relative; }
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 168px;
  margin: 0; padding: 8px;
  list-style: none;
  background: var(--bg-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(28, 38, 98, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.22s ease;
  z-index: 60;
}
.has-drop:hover .drop-panel,
.has-drop:focus-within .drop-panel,
.has-drop.is-open .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.drop-panel::before {
  content: "";
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.drop-panel li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.18s;
}
.drop-panel li a i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.drop-panel li a:hover {
  background: var(--bg);
  color: var(--ink);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: var(--bg-2);
  border: var(--bw) solid var(--ink);
  width: 42px; height: 42px;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute;
  left: 9px;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}
.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: var(--bw) solid var(--ink);
    padding: 8px 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-item > a { padding: 14px 24px; font-size: 16px; }
  .nav-item > a::after { display: none; }
  .nav-item > a.is-active { color: var(--accent-strong); }
  /* 移动端：下拉内容常驻展开、缩进显示 */
  .drop-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 4px;
    background: transparent;
  }
  .drop-panel li a { padding: 10px 24px 10px 40px; font-weight: 500; }
  .drop-panel li a:hover { background: transparent; }
}

/* ============================================================
   Hero 首屏
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
#starfield {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 24%;
  background: linear-gradient(transparent, var(--bg));
  z-index: 0;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-logo { height: clamp(48px, 7vw, 76px); width: auto; margin-bottom: 26px; }

.hero-title {
  font-size: clamp(42px, calc(var(--unit) * 9.6), 112px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
.hero-title .hollow {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}

.hero-desc {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 560px;
}
.hero-desc strong { color: var(--ink); font-weight: 700; }

.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* 3D 按压按钮 */
.btn-push {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-3px, -3px);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-push:hover { color: var(--btn-ink); transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn-push:active { transform: translate(2px, 2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 4px;
  border-bottom: 2px solid var(--line);
  transition: border-color 0.25s;
}
.btn-ghost:hover { color: var(--accent-strong); border-bottom-color: var(--accent); }

.hero-meta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i {
  width: 7px; height: 7px;
  background: var(--accent);
  display: inline-block;
  transform: rotate(45deg);
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--faint);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 2px; height: 42px;
  background: linear-gradient(var(--accent), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   跑马灯分隔带
   ============================================================ */
.marquee {
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  background: var(--bg-2);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-weight: 800;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.06em;
  padding: 0 22px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
}
.marquee-track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--faint);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   游戏卡片（首页）
   ============================================================ */
.games-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
}
@media (max-width: 860px) { .games-grid { grid-template-columns: 1fr; } }

.game-card {
  --accent: #38b6ff;
  position: relative;
  display: block;
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 8px 8px 0 rgba(28, 38, 98, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--accent); color: inherit; }
.game-card .card-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--bw) solid var(--ink); }
.game-card .card-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.game-card:hover .card-art img { transform: scale(1.03); }

.status-pill {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(20, 26, 62, 0.72);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}
.status-pill i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.game-card .card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 16%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  padding: 4px 10px;
  border-radius: 99px;
}
.card-desc { color: var(--muted); font-size: 14.5px; }
.card-link {
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.card-link svg { transition: transform 0.25s; }
.game-card:hover .card-link { color: var(--accent-strong); }
.game-card:hover .card-link svg { transform: translateX(6px); }

/* ============================================================
   价值观
   ============================================================ */
.values-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--bw) solid var(--ink);
  border-left: var(--bw) solid var(--ink);
}
@media (max-width: 960px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.value-cell {
  border-right: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  padding: clamp(24px, 3vw, 40px);
  background: var(--bg-2);
  transition: background 0.25s;
  position: relative;
}
.value-cell:hover { background: var(--bg); }
.value-cell .v-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.2em;
}
.value-cell h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 14px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-cell:hover h3 { color: var(--accent-strong); }
.value-cell p { color: var(--muted); font-size: 14px; }

/* ============================================================
   理念 / split
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.big-quote {
  font-size: clamp(26px, calc(var(--unit) * 4.4), 48px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.big-quote em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-strong);
}

.slogan-list { display: flex; flex-direction: column; }
.slogan-item {
  display: flex;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.slogan-item:first-child { border-top: 1px solid var(--line); }
.slogan-item .s-k {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-strong);
  letter-spacing: 0.16em;
  flex-shrink: 0;
  width: 86px;
}
.slogan-item .s-v { color: var(--muted); font-size: 15px; }
.slogan-item .s-v strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   联系 CTA（阳光黄横幅）
   ============================================================ */
.cta-band {
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  background: var(--accent);
  text-align: center;
}
.cta-band .label { justify-content: center; color: var(--accent-ink); }
.cta-band .label::before { background: var(--accent-ink); }
.cta-band .sec-title { color: var(--accent-ink); }
.cta-mail {
  display: inline-block;
  margin-top: 26px;
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  border-bottom: 3px solid var(--accent-ink);
  padding-bottom: 6px;
  transition: all 0.2s;
  word-break: break-all;
}
.cta-mail:hover { color: var(--accent-ink); opacity: 0.72; }
.cta-note {
  margin-top: 22px;
  color: color-mix(in srgb, var(--accent-ink) 72%, transparent);
  font-size: 13.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* ============================================================
   页脚（深色压阵）
   ============================================================ */
.site-footer {
  --ink: #f2f4ff;
  --muted: #b9c0e4;
  --faint: #8890bd;
  --line: rgba(242, 244, 255, 0.16);
  --line-soft: rgba(242, 244, 255, 0.09);
  --accent: #ffc93c;
  background: #1a2350;
  border-top: var(--bw) solid var(--ink);
  padding: clamp(48px, 7vw, 80px) 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 30px; width: auto; }
.footer-brand p { color: var(--faint); margin-top: 16px; font-size: 13.5px; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--faint);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--muted); }
.footer-col a:hover { color: var(--accent); }

.footer-legal {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-legal a { color: var(--faint); }
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   游戏介绍页（浅色版）
   ============================================================ */
.game-hero {
  --ink: #f4f6ff;
  --muted: #c9cfee;
  --faint: #9aa3cf;
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.game-hero .hero-bg { position: absolute; inset: 0; }
.game-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.game-hero .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 46, 0.35) 0%, rgba(16, 20, 46, 0.05) 38%, rgba(16, 20, 46, 0.94) 94%);
}
.game-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(44px, 7vh, 80px); padding-top: 130px; }

.game-hero-logo {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  width: min(420px, 62vw);
  z-index: 2;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.55));
}
.game-hero-tagline {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 21px);
  color: #fff;
  max-width: 620px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.game-hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.badge-dev {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: var(--bw) solid var(--accent);
  color: #1c2662;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 99px;
  box-shadow: 4px 4px 0 rgba(10, 13, 34, 0.35);
}
.badge-dev i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

/* 游戏区块染色（浅洗色） */
.game-section { border-top: var(--bw) solid var(--ink); scroll-margin-top: 80px; }
.game-section.tint-blue { background: linear-gradient(180deg, #eaf6ff 0%, var(--bg) 340px); }
.game-section.tint-red { background: linear-gradient(180deg, #ffeef0 0%, var(--bg) 340px); }

.detail-block { border-top: 1px solid var(--line); }
.detail-block .wrap { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 72px); }
@media (max-width: 760px) { .detail-block .wrap { grid-template-columns: 1fr; gap: 16px; } }
.detail-block h2 { font-size: clamp(22px, 2.6vw, 32px); color: var(--ink); }
.detail-block h2 small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--accent-strong);
  font-weight: 500;
  margin-bottom: 10px;
}
.detail-body { color: var(--muted); font-size: 15.5px; max-width: 720px; }
.detail-body p + p { margin-top: 14px; }
.detail-body .hl { color: var(--ink); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-cell {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  transition: border-color 0.25s, transform 0.25s;
}
.feature-cell:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-cell .f-ico {
  width: 40px; height: 40px;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.feature-cell h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.feature-cell p { color: var(--muted); font-size: 14px; }

/* 美术风格画廊 */
.art-showcase {
  margin-top: 30px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(28, 38, 98, 0.1);
}
.art-showcase img { width: 100%; }

/* 区块间锚点跳转条 */
.anchor-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: clamp(40px, 6vw, 64px) var(--pad);
  border-top: 1px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: var(--bw) solid var(--ink);
  border-radius: 99px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(28, 38, 98, 0.14);
  transition: all 0.15s;
}
.chip:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); color: var(--ink); }
.chip i { width: 8px; height: 8px; border-radius: 50%; }

/* ============================================================
   关于 / 隐私 页
   ============================================================ */
.page-hero { padding: clamp(140px, 22vh, 220px) 0 clamp(48px, 8vw, 88px); }
.page-hero h1 { font-size: clamp(36px, calc(var(--unit) * 7.4), 84px); margin-top: 16px; }
.page-hero h1 .hollow { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.page-hero .sec-sub { font-size: clamp(15px, 1.6vw, 18px); }

.prose { max-width: 760px; color: var(--muted); font-size: 15.5px; }
.prose p + p { margin-top: 16px; }
.prose .hl { color: var(--ink); font-weight: 600; }

.info-card {
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: 8px 8px 0 rgba(28, 38, 98, 0.1);
  padding: clamp(24px, 4vw, 44px);
}
.info-rows { display: flex; flex-direction: column; }
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  font-size: 15px;
}
.info-row:last-child { border-bottom: none; }
.info-row .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--faint); }
.info-row .v { color: var(--ink); font-weight: 500; }
.info-row .v a { color: var(--accent-strong); border-bottom: 1px solid transparent; }
.info-row .v a:hover { border-bottom-color: var(--accent-strong); }
@media (max-width: 560px) { .info-row { grid-template-columns: 1fr; gap: 4px; } }

/* 隐私政策 */
.privacy-body h2 {
  font-size: 19px;
  margin: 42px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
}
.privacy-body h3 { font-size: 16px; margin: 22px 0 10px; color: var(--ink); }
.privacy-body p, .privacy-body li { color: var(--muted); font-size: 15px; }
.privacy-body ul { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.privacy-body a { color: var(--accent-strong); word-break: break-all; }
.privacy-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.08em;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.privacy-quote {
  border: var(--bw) solid var(--ink);
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  margin: 26px 0 0;
  box-shadow: 6px 6px 0 rgba(28, 38, 98, 0.1);
}

/* ============================================================
   动效 & 无障碍
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(12px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  #starfield { display: none; }
}
