/* =========================================================
   谱画动漫科技 · 官网视觉系统
   PUHUA ANIME TECH — Official Website
   ---------------------------------------------------------
   目录
   01. 设计变量 / Tokens
   02. 基础重置 / Reset
   03. 通用组件（容器、标题、按钮、标签、动效）
   04. 导航
   05. 首屏 Hero
   06. 数据条 / Marquee
   07. 游戏作品卡片
   08. 服务能力
   09. 作品墙（外包案例）
   10. 关于 / 时间线
   11. 招聘
   12. 联系 / 表单
   13. 页脚 / 回到顶部
   14. 子页 Hero
   15. 响应式
   ========================================================= */

/* ============ 01. Tokens ============ */
:root {
  /* 底色 */
  --bg: #05060b;
  --bg-soft: #080a12;
  --bg-elev: #0c0f1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* 文字 */
  --text: #eef1f8;
  --text-dim: #b3bbcd;
  --muted: #7d879c;

  /* 品牌色（取自谱画 logo：深蓝 + 品红） */
  --brand: #3d7bff;
  --brand-2: #7b5cff;
  --accent: #ff2e63;
  --cyan: #22d3ee;
  --gold: #ffb545;

  /* 渐变 */
  --grad-brand: linear-gradient(115deg, #3d7bff 0%, #7b5cff 55%, #ff2e63 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);

  /* 阴影 / 光 */
  --glow-brand: 0 18px 60px -18px rgba(61, 123, 255, 0.65);
  --shadow-card: 0 30px 70px -40px rgba(0, 0, 0, 0.9);

  /* 尺寸 */
  --nav-h: 76px;
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1280px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ============ 02. Reset ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 全站背景光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(61, 123, 255, 0.16), transparent 60%),
    radial-gradient(800px 620px at 92% 4%, rgba(255, 46, 99, 0.10), transparent 62%),
    radial-gradient(1000px 800px at 50% 110%, rgba(123, 92, 255, 0.10), transparent 65%);
  pointer-events: none;
}

/* 细网格纹理 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(1200px 800px at 50% 0%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(1200px 800px at 50% 0%, #000 20%, transparent 85%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: rgba(61, 123, 255, 0.4); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05060b; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#2a3450, #151a28);
  border-radius: 10px;
  border: 2px solid #05060b;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(#3d7bff, #7b5cff); }

/* ============ 03. 通用组件 ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { position: relative; padding: 120px 0; }
.section--tight { padding: 88px 0; }
.section--flush-top { padding-top: 0; }

/* 章节标题 */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}
.sec-head__main { max-width: 720px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--grad-brand);
}
.eyebrow b {
  font-weight: 600;
  color: var(--brand);
}

.sec-title {
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.sec-title .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-desc {
  margin-top: 18px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* 按钮 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.3s;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--glow-brand);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 70px -18px rgba(123, 92, 255, 0.8); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: rgba(61, 123, 255, 0.6);
  background: rgba(61, 123, 255, 0.10);
  transform: translateY(-2px);
}

.btn--sm { height: 42px; padding: 0 22px; font-size: 14px; }

/* 文字链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s, gap 0.3s var(--ease);
}
.link-arrow::after {
  content: "→";
  font-size: 15px;
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover::after { transform: translateX(5px); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.tag--live { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.3); background: rgba(16, 185, 129, 0.12); }
.tag--dev { color: var(--gold); border-color: rgba(255, 181, 69, 0.3); background: rgba(255, 181, 69, 0.1); }
.tag--brand { color: #a7c0ff; border-color: rgba(61, 123, 255, 0.35); background: rgba(61, 123, 255, 0.12); }

/* 入场动效 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }
.reveal[data-delay="5"] { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ 04. 导航 ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), border-color 0.45s, backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 6, 11, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(61, 123, 255, 0.55));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b { font-size: 17px; font-weight: 800; letter-spacing: 0.04em; }
.brand__text i {
  font-style: normal;
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 3px;
}

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu > a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}
.nav__menu > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav__menu > a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__menu > a.is-active { color: #fff; }
.nav__menu > a.is-active::after { width: 18px; }

.nav__right { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

.nav__drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(6, 8, 14, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 20px 32px 32px;
  display: grid;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav.is-open .nav__drawer { opacity: 1; transform: none; visibility: visible; }
.nav__drawer a {
  padding: 14px 4px;
  font-size: 16px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav__drawer a.is-active { color: var(--brand); }
.nav__drawer .btn { margin-top: 20px; }

/* ============ 05. Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 58%;
  opacity: 0.74;
  filter: saturate(0.92) brightness(0.94);
  transform: scale(1.04);
  animation: heroPush 24s ease-in-out infinite alternate;
}
@keyframes heroPush {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(-1.4%, -1.2%, 0); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  /* 思路：左半屏（文字区）用横向渐变 + 大块径向压成同一层深色底，右半屏留给光柱 */
  background:
    radial-gradient(1050px 760px at 22% 50%, rgba(5, 6, 11, 0.86) 0%, rgba(5, 6, 11, 0.43) 50%, rgba(5, 6, 11, 0.21) 74%, transparent 86%),
    linear-gradient(90deg, rgba(5, 6, 11, 0.88) 0%, rgba(5, 6, 11, 0.80) 34%, rgba(5, 6, 11, 0.54) 56%, rgba(5, 6, 11, 0.12) 78%, rgba(5, 6, 11, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 6, 11, 0.62) 0%, rgba(5, 6, 11, 0.14) 26%, rgba(5, 6, 11, 0.16) 56%, rgba(5, 6, 11, 0.62) 86%, var(--bg) 100%),
    radial-gradient(900px 620px at 78% 34%, rgba(255, 176, 92, 0.10), transparent 70%);
}

/* 移动端：竖屏裁切会把光柱顶到文字后面，整体压暗 */
@media (max-width: 700px) {
  .hero::before {
    background:
      radial-gradient(560px 620px at 46% 46%, rgba(5, 6, 11, 0.86) 0%, rgba(5, 6, 11, 0.62) 46%, transparent 78%),
      linear-gradient(180deg, rgba(5, 6, 11, 0.66) 0%, rgba(5, 6, 11, 0.42) 24%, rgba(5, 6, 11, 0.58) 62%, rgba(5, 6, 11, 0.92) 90%, var(--bg) 100%);
  }
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 900px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.05); }
}

.hero__title {
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 8px 34px rgba(0, 0, 0, 0.62), 0 26px 70px rgba(0, 0, 0, 0.45);
}
.hero__title .grad {
  background: linear-gradient(100deg, #dce9ff 0%, #ffffff 30%, #ffffff 66%, #ffe0bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title small {
  display: block;
  margin-top: 16px;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__desc {
  margin-top: 30px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-dim);
}
.hero__desc strong { color: #fff; font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 780px;
}
.hero__meta div { min-width: 96px; }
.hero__meta b {
  display: block;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff, #93a4c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__meta span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.2; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.2; }
}

/* ============ 06. 数据条 / Marquee ============ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats__item {
  padding: 44px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stats__item:last-child { border-right: 0; }
.stats__item b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 10%, #7f8ca8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__item > span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Logo 无限滚动 */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 46px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 88px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__track img {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.4s;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
}
.marquee__track img:hover { opacity: 1; }

/* ============ 07. 游戏卡片 ============ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.games-grid--3 { grid-template-columns: repeat(3, 1fr); }

.game-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  aspect-ratio: 16 / 10;
  isolation: isolate;
  transition: transform 0.6s var(--ease), border-color 0.5s, box-shadow 0.6s var(--ease);
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(61, 123, 255, 0.45);
  box-shadow: 0 40px 80px -40px rgba(61, 123, 255, 0.55), var(--shadow-card);
}
.game-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
  transform: scale(1.02);
}
.game-card:hover .game-card__img { transform: scale(1.09); filter: saturate(1.12); }
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 11, 0) 28%, rgba(5, 6, 11, 0.72) 72%, rgba(5, 6, 11, 0.96) 100%);
  z-index: 1;
}
.game-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 30px 32px;
  transition: transform 0.6s var(--ease);
}
.game-card:hover .game-card__body { transform: translateY(-4px); }
.game-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.game-card__title {
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.game-card__title em {
  font-style: normal;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.game-card__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 92%;
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), max-height 0.55s var(--ease), transform 0.5s var(--ease), margin 0.5s;
}
.game-card:hover .game-card__desc { opacity: 1; max-height: 90px; transform: none; }
.game-card__go {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 12, 20, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  opacity: 0;
  transform: translate(6px, -6px) scale(0.9);
  transition: all 0.5s var(--ease);
}
.game-card:hover .game-card__go { opacity: 1; transform: none; }

/* 横滑游戏轨道（详情页/首页备用） */
.games-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.games-row::-webkit-scrollbar { display: none; }
.games-row > * { scroll-snap-align: start; }

/* ============ 08. 服务能力 ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  position: relative;
  padding: 38px 34px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--bg-soft);
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.45s, box-shadow 0.55s var(--ease);
  isolation: isolate;
}
/* 鼠标跟随光斑 */
.svc-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(320px 320px at var(--mx, 50%) var(--my, 0%), rgba(61, 123, 255, 0.20), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 90px -50px rgba(61, 123, 255, 0.75);
}
.svc-card__no {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.18);
}
.svc-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(61, 123, 255, 0.20), rgba(123, 92, 255, 0.06));
  color: #cfe0ff;
  margin-bottom: 26px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.svc-card:hover .svc-card__icon { transform: translateY(-3px) scale(1.04); border-color: rgba(61, 123, 255, 0.5); }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 21px; letter-spacing: -0.01em; }
.svc-card__en {
  margin-top: 6px;
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-card p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.svc-card__list { margin-top: 22px; display: grid; gap: 10px; }
.svc-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.svc-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(61, 123, 255, 0.9);
}

/* APP 开发（弱化，次级卡） */
.svc-sub {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 34px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.018);
}
.svc-sub__left { display: flex; align-items: flex-start; gap: 20px; }
.svc-sub__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}
.svc-sub__icon svg { width: 20px; height: 20px; }
.svc-sub h4 { font-size: 16.5px; font-weight: 700; color: var(--text-dim); }
.svc-sub h4 span {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-left: 10px;
  text-transform: uppercase;
}
.svc-sub p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--muted); max-width: 760px; }
.svc-sub__meta {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.svc-sub__meta span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ============ 09. 作品墙 ============ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filters button {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.35s var(--ease);
}
.filters button:hover { border-color: var(--line-strong); color: #fff; }
.filters button.is-active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 12px 34px -14px rgba(61, 123, 255, 0.9);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}
.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s var(--ease);
}
.work--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.work--tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.work:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 1);
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s;
  filter: saturate(0.92);
}
.work:hover img { transform: scale(1.06); filter: saturate(1.15); }
.work__ov {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 5, 9, 0.9));
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.work:hover .work__ov { opacity: 1; }
.work__cat {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.work__name { font-size: 15px; font-weight: 600; transform: translateY(8px); transition: transform 0.5s var(--ease); }
.work:hover .work__name { transform: none; }
.work.is-hidden { display: none; }

/* ============ 10. 关于 / 时间线 ============ */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(61, 123, 255, 0.18), transparent 45%);
}
.about-media__stat {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(14px);
}
.about-media__stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 26px;
  line-height: 1.1;
}
.about-media__stat span { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

.about-points { display: grid; gap: 22px; margin-top: 34px; }
.about-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.about-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-points i {
  font-style: normal;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--brand);
  padding-top: 4px;
  letter-spacing: 0.08em;
}
.about-points h4 { font-size: 16.5px; margin-bottom: 6px; }
.about-points p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* 时间线 */
.timeline { position: relative; margin-top: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(61, 123, 255, 0.7), rgba(255, 46, 99, 0.35), transparent);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 42px;
  padding: 22px 0;
}
.tl-item__year {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.tl-item__body { position: relative; padding-left: 0; }
.tl-item__body::before {
  content: "";
  position: absolute;
  left: -47px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.12), 0 0 16px rgba(61, 123, 255, 0.8);
}
.tl-item h4 { font-size: 17px; margin-bottom: 8px; }
.tl-item p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 640px; }

/* 团队/价值观小卡 */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s;
}
.value-card:hover { border-color: rgba(61, 123, 255, 0.4); transform: translateY(-4px); background: rgba(61, 123, 255, 0.06); }
.value-card__icon { color: var(--brand); margin-bottom: 18px; }
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h4 { font-size: 16px; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* 能力条 */
.skill-bars { display: grid; gap: 22px; }
.skill-bar__top {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--text-dim);
}
.skill-bar__top span:last-child { font-family: var(--font-num); color: var(--muted); }
.skill-bar__track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.skill-bar__fill {
  height: 100%;
  border-radius: 99px;
  background: var(--grad-brand);
  width: 0;
  transition: width 1.6s var(--ease);
  box-shadow: 0 0 18px rgba(61, 123, 255, 0.7);
}

/* ============ 11. 招聘 ============ */
.jobs { display: grid; gap: 14px; }
.job {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
}
.job:hover { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); }
.job.is-open { border-color: rgba(61, 123, 255, 0.45); background: rgba(61, 123, 255, 0.05); }
.job__head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 28px;
  text-align: left;
}
.job__title { flex: 1 1 auto; min-width: 0; }
.job__title h4 { font-size: 17.5px; margin-bottom: 8px; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job__meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.job__plus {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.job__plus::before,
.job__plus::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 2px;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.job__plus::before { width: 11px; height: 1.4px; }
.job__plus::after { width: 1.4px; height: 11px; }
.job.is-open .job__plus { transform: rotate(90deg); border-color: rgba(61, 123, 255, 0.6); }
.job.is-open .job__plus::after { opacity: 0; }
.job__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.job__inner { padding: 0 28px 30px; border-top: 1px solid var(--line); margin-top: 0; padding-top: 24px; }
.job__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.job__cols h5 {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.job__cols li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.85;
}
.job__cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}

/* 福利 */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.perk__ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(61, 123, 255, 0.12);
  color: #a7c0ff;
}
.perk__ico svg { width: 18px; height: 18px; }
.perk h5 { font-size: 14.5px; margin-bottom: 6px; }
.perk p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ============ 12. 联系 / 表单 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { display: grid; gap: 10px; margin-top: 36px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.35s, background 0.35s, transform 0.4s var(--ease);
}
.contact-item:hover { border-color: rgba(61, 123, 255, 0.4); background: rgba(61, 123, 255, 0.05); transform: translateX(4px); }
.contact-item__ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: #a7c0ff;
}
.contact-item__ico svg { width: 18px; height: 18px; }
.contact-item span { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 4px; }
.contact-item b { font-size: 15px; font-weight: 500; line-height: 1.6; }

.form-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    var(--bg-soft);
  box-shadow: var(--shadow-card);
}
.form-card h3 { font-size: 22px; }
.form-card > p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; }
.field label i { color: var(--accent); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d879c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  /* 原生下拉面板要单独指定，否则 Windows 上是白底 + 浅色字，选项等于隐形 */
  color-scheme: dark;
}
.field select option,
.field select optgroup {
  background-color: #0f1420;
  color: #e9eefb;
  font-size: 14.5px;
}
.field select option:checked {
  background-color: #1b2540;
  color: #ffffff;
}
.field input::placeholder,
.field textarea::placeholder { color: #5b6478; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(61, 123, 255, 0.7);
  background: rgba(61, 123, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.12);
}
.form-note { margin-top: 18px; font-size: 12px; color: var(--muted); }
.form-msg {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  display: none;
  position: relative;
  padding: 11px 14px 11px 38px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.form-msg.is-show { display: block; }
/* 前面的小圆点，用 currentColor 跟随状态色 */
.form-msg.is-show::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
/* 成功 */
.form-msg { color: #7ff0c0; background: rgba(52, 211, 153, 0.10); border-color: rgba(52, 211, 153, 0.30); }
/* 失败：原 #ff8ba7 压在深底上偏暗，改成浅色文字 + 红色底衬 */
.form-msg.is-error { color: #ffd2d8; background: rgba(255, 64, 92, 0.14); border-color: rgba(255, 64, 92, 0.38); }

/* 提交中：按钮禁用态 */
.btn:disabled { opacity: 0.62; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* CTA 横幅 */
.cta-band {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: 72px 64px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(61, 123, 255, 0.16), rgba(123, 92, 255, 0.10) 45%, rgba(255, 46, 99, 0.14));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(600px 300px at 80% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 300px at 80% 50%, #000, transparent 75%);
}
.cta-band__text { position: relative; max-width: 620px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
.cta-band p { margin-top: 16px; color: var(--text-dim); font-size: 15px; }
.cta-band__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ 13. 页脚 ============ */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%);
  padding: 76px 0 0;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { font-size: 13.5px; color: var(--muted); line-height: 1.9; max-width: 320px; }
.footer__slogan {
  margin-top: 18px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
}
.footer__col h5 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer__col a,
.footer__col p {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 7px 0;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #5f6879;
}
.footer__bar a:hover { color: var(--text-dim); }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 800;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 10, 18, 0.82);
  backdrop-filter: blur(12px);
  color: var(--text-dim);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; border-color: rgba(61, 123, 255, 0.7); box-shadow: 0 0 26px -6px rgba(61, 123, 255, 0.8); }
.to-top svg { width: 16px; height: 16px; }

/* ============ 14. 子页 Hero ============ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 92px) 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 18% 0%, rgba(61, 123, 255, 0.22), transparent 65%),
    radial-gradient(600px 360px at 88% 20%, rgba(255, 46, 99, 0.12), transparent 68%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.page-hero p {
  margin-top: 22px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dim);
}
.page-hero__en {
  margin-top: 26px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 26px;
  font-family: var(--font-num);
  letter-spacing: 0.06em;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: #3a4358; }

/* 游戏详情页大图区 */
.filmstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.filmstrip img {
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.filmstrip img:hover { transform: scale(1.02); border-color: rgba(255, 255, 255, 0.2); }

/* 详情两栏 */
.detail-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.detail-facts {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  position: sticky;
  top: 100px;
}
.detail-facts h4 { font-size: 13px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; }
.detail-facts dl { display: grid; grid-template-columns: 84px 1fr; gap: 14px 12px; margin: 0; font-size: 14px; }
.detail-facts dt { color: var(--muted); }
.detail-facts dd { margin: 0; color: var(--text-dim); }
.detail-body h3 { font-size: 20px; margin: 34px 0 14px; }
.detail-body h3:first-child { margin-top: 0; }
.detail-body p { font-size: 15px; line-height: 1.95; color: var(--text-dim); }
.detail-body p + p { margin-top: 14px; }

/* 服务流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 20px; }
.flow__item {
  position: relative;
  padding: 30px 22px 0 0;
  border-top: 1px solid var(--line);
}
.flow__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(61, 123, 255, 0.9);
}
.flow__item b {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.flow__item h5 { font-size: 15.5px; margin-bottom: 8px; }
.flow__item p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* 工具链 */
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tools span {
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-num);
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.tools span:hover { border-color: rgba(61, 123, 255, 0.5); color: #fff; background: rgba(61, 123, 255, 0.1); }

/* 评价 */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote__mark { font-family: Georgia, serif; font-size: 42px; line-height: 0.6; color: rgba(61, 123, 255, 0.6); }
.quote p { font-size: 14.5px; line-height: 1.9; color: var(--text-dim); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote__ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(61, 123, 255, 0.35), rgba(255, 46, 99, 0.25));
  font-size: 13px;
  font-weight: 700;
}
.quote footer b { display: block; font-size: 13.5px; }
.quote footer span { font-size: 12px; color: var(--muted); }

/* ============ 15. 响应式 ============ */
@media (max-width: 1180px) {
  .container { padding: 0 28px; }
  .nav__menu > a { padding: 9px 11px; font-size: 14px; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .work--wide { grid-column: span 2; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .nav__menu { display: none; }
  .nav__burger { display: block; }
  .nav__right .btn { display: none; }
  .section { padding: 88px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .games-grid,
  .games-grid--3 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-sub { grid-template-columns: 1fr; gap: 18px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-split { grid-template-columns: 1fr; gap: 32px; }
  .detail-facts { position: static; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .work--wide { grid-column: span 2; }
  .work--tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cta-band { padding: 48px 34px; }
  .filmstrip { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .job__cols { grid-template-columns: 1fr; gap: 22px; }
  .job__meta { display: none; }
  .timeline::before { left: 0; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 26px; }
  .tl-item__body::before { left: -30px; }
  .timeline::before { left: 3px; }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero__meta { gap: 26px; margin-top: 44px; }
  .hero__meta b { font-size: 24px; }
  .hero__desc { font-size: 15.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .sec-title { font-size: 27px; }
  .marquee__track { gap: 52px; }
  .marquee__track img { height: 24px; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work--wide { grid-column: span 2; }
  .value-grid,
  .perks { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; border-radius: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr; }
  .filmstrip { grid-template-columns: 1fr; }
  .stats__item { padding: 30px 20px; }
  .game-card__body { padding: 22px; }
  .game-card__desc { opacity: 1; max-height: 80px; transform: none; font-size: 13px; }
  .game-card__go { opacity: 1; transform: none; width: 34px; height: 34px; top: 16px; right: 16px; }
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 48px; }
  .hero__scroll { display: none; }
  .nav__drawer { padding: 16px 20px 26px; }
}

/* ============ 16. Hero 光斑 ============ */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
  mix-blend-mode: screen;
}
/* 两个光斑都挪开标题区：冷光压到左下角，暖光挪到右中（贴着图里的光柱，色调才统一） */
.hero__glow--a {
  width: 520px;
  height: 520px;
  left: -10%;
  top: 58%;
  background: radial-gradient(circle, rgba(61, 123, 255, 0.42), transparent 70%);
  animation: floatGlow 16s ease-in-out infinite;
}
.hero__glow--b {
  width: 480px;
  height: 480px;
  right: 6%;
  top: 22%;
  background: radial-gradient(circle, rgba(255, 170, 84, 0.40), transparent 70%);
  animation: floatGlow 20s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, -34px, 0) scale(1.12); }
}

/* ============ 17. 作品详情弹层 ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 48px 24px;
  overflow-y: auto;
  background: rgba(4, 5, 9, 0.84);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.modal.is-open { opacity: 1; }
.modal__inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-elev);
  overflow: hidden;
  box-shadow: 0 60px 140px -50px #000;
  transform: translateY(24px) scale(0.985);
  transition: transform 0.45s var(--ease);
}
.modal.is-open .modal__inner { transform: none; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 8, 14, 0.6);
  backdrop-filter: blur(10px);
  font-size: 14px;
  color: #fff;
  transition: background 0.3s, transform 0.3s;
}
.modal__close:hover { background: rgba(255, 46, 99, 0.35); transform: rotate(90deg); }
.modal__hero { position: relative; aspect-ratio: 16 / 8; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero-ov {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 40px 26px;
  background: linear-gradient(180deg, transparent, rgba(12, 15, 26, 0.96));
}
.modal__hero-ov h2 {
  font-size: clamp(24px, 3vw, 36px);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.modal__hero-ov h2 em {
  font-style: normal;
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.modal__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.modal__facts > div { padding: 18px 40px; border-right: 1px solid var(--line); }
.modal__facts > div:last-child { border-right: 0; }
.modal__facts span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 5px;
}
.modal__facts b { font-size: 15px; font-weight: 600; }
.modal__body { padding: 34px 40px 10px; display: grid; gap: 16px; }
.modal__body p { font-size: 15px; line-height: 1.95; color: var(--text-dim); }
.modal .filmstrip { padding: 0 40px; }
.modal__cta { display: flex; flex-wrap: wrap; gap: 14px; padding: 26px 40px 40px; }

@media (max-width: 700px) {
  .modal { padding: 16px 12px 32px; }
  .modal__inner { border-radius: 16px; }
  .modal__hero { aspect-ratio: 4 / 3; }
  .modal__hero-ov { padding: 26px 22px 20px; }
  .modal__facts { grid-template-columns: 1fr; }
  .modal__facts > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 22px; }
  .modal__body { padding: 24px 22px 8px; }
  .modal .filmstrip { padding: 0 22px; }
  .modal__cta { padding: 20px 22px 28px; }
  .modal__cta .btn { flex: 1 1 auto; }
}

/* 变体：4 步流程 / 3 列价值卡 */
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.value-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .flow--4 { grid-template-columns: repeat(2, 1fr); }
  .value-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .flow--4 { grid-template-columns: 1fr; }
}

/* 锚点跳转时避开固定导航 */
section[id],
[id="art"],
[id="vfx"],
[id="app"],
[id="timeline"] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* 招聘页 · 福利区收尾说明 */
.perks-note {
  margin-top: 22px;
  padding: 16px 20px;
  border-left: 2px solid rgba(61, 123, 255, 0.5);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.022);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 860px;
}
@media (max-width: 700px) {
  .perks-note { font-size: 12px; padding: 14px 16px; }
}

/* 被 hidden 的区块强制不占位（防止其他 display 规则覆盖） */
section[hidden] { display: none !important; }
