/* ==========================================================================
   巨好玩游戏官网 - 全局样式
   品牌色：#3E61AE 品牌蓝 / #70F2FF 亮青
   ========================================================================== */
:root {
  --brand: #3E61AE;
  --brand-deep: #2c4a8c;
  --cyan: #70F2FF;
  --dark: #29313C;
  --dark-2: #1f2630;
  --text: #2b3340;
  --mute: #6b7685;
  --line: #e3e8ef;
  --radius: 16px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
section { scroll-margin-top: 76px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  transition: all .28s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -12px rgba(62, 97, 174, .7); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav-inner {
  width: 100%; padding: 0 clamp(16px, 2.5vw, 40px);
  height: 76px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-right: auto; }
.logo-img {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px; object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 20px -8px rgba(20, 28, 48, .45);
  transition: transform .3s var(--ease);
}
.logo:hover .logo-img { transform: rotate(-4deg) scale(1.05); }
.logo-text { color: #fff; transition: color .3s var(--ease); }
.nav-menu { display: flex; gap: 4px; margin-left: auto; }
.nav-menu a {
  position: relative; color: rgba(255, 255, 255, .92);
  padding: 10px 16px; border-radius: 999px; font-size: 17px; font-weight: 500;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-menu a:hover { background: rgba(255, 255, 255, .14); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 3px; border-radius: 2px; background: var(--cyan);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(62, 97, 174, .8);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover { background: var(--brand-deep); transform: translateY(-2px); }
.nav-cta .arr { font-size: 13px; transition: transform .25s var(--ease); }
.nav-cta:hover .arr { transform: translate(2px, -2px); }

/* 滚动后的导航态（纯白底深字，与乐元素一致，与白底区块一体） */
.nav.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 6px 24px -14px rgba(20, 28, 40, .18);
}
.nav.scrolled .logo-text { color: var(--text); }
.nav.scrolled .nav-menu a { color: var(--text); }
.nav.scrolled .nav-menu a:hover { background: rgba(62, 97, 174, .1); }
.nav.scrolled .nav-menu a.active::after { background: var(--brand); }

/* 汉堡按钮 */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.burger span { width: 24px; height: 2.5px; border-radius: 2px; background: #fff; transition: all .3s var(--ease); }
.nav.scrolled .burger span { background: var(--text); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: rgba(243, 246, 250, .98); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; padding: 12px 24px 24px; gap: 4px;
  transform: translateY(-120%); transition: transform .4s var(--ease);
  box-shadow: 0 24px 40px -24px rgba(20, 28, 40, .3);
}
.mobile-menu.open { transform: none; }
.mobile-menu a { padding: 13px 10px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-cta { text-align: center; background: var(--brand); color: #fff !important; border-radius: 999px; border-bottom: none !important; margin-top: 12px; }

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 40, .5), rgba(18, 24, 40, .22) 45%, rgba(18, 24, 40, .58));
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-content { position: relative; z-index: 1; padding: 0 24px; }
.hero-title {
  font-size: clamp(40px, 7vw, 84px); font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: .01em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .4);
}
.hero-title .cyan {
  background: linear-gradient(120deg, #8ff7ff, var(--cyan) 45%, #4dd6ec);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* 标题改用艺术字图片：入场 + 持续漂浮 */
.hero-title-img {
  display: block; width: min(1120px, 86vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .38));
  animation: heroTitleIn .95s var(--ease) both,
             heroTitleFloat 5s ease-in-out 1.05s infinite;
}
@keyframes heroTitleIn {
  0%   { opacity: 0; transform: translateY(30px) scale(.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroTitleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%      { transform: translateY(-12px) rotate(-.5deg) scale(1.02); }
}
.hero-sub {
  margin-top: 20px; color: rgba(255, 255, 255, .88);
  font-size: clamp(14px, 1.6vw, 19px); letter-spacing: .08em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}
.hero-arrow {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 0; height: 0;
  border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-top: 18px solid rgba(255, 255, 255, .92);
  animation: arrowBounce 1.6s var(--ease) infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}
@keyframes arrowBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- 游戏产品（白底左文 + 右侧椭圆 blob 视觉） ---------- */
.game {
  position: relative; min-height: 100vh; padding: 140px 0 90px;
  display: flex; align-items: center; overflow: hidden; background: #fff;
}
/* 游戏主视觉：右图锚定在文字列右侧，宽度自动占满剩余空间 → 任何宽度都不与文字重叠 */
.game-blob {
  position: absolute; z-index: 1; pointer-events: none;
  top: 0; bottom: 0; right: 0;
  left: calc(clamp(20px, 7vw, 160px) + 584px); /* = 文字列右边 + 24px */
  width: auto;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0;
}
.game-blob img {
  width: 100%; height: auto; max-height: 100%;
  object-fit: contain; object-position: right center;
  transition: opacity .22s ease;
}
.game .container { position: relative; z-index: 2; width: 100%; max-width: none; padding: 0; }
.game-grid { display: block; }
/* 大屏适配：文字左缘贴近视口左边（仿乐元素 ≈7vw），而非随居中容器缩到中部 */
.game-intro { position: relative; max-width: 560px; margin-left: clamp(20px, 7vw, 160px); transition: opacity .22s ease; }
.game-intro.fade-out, .game-blob img.fade-out { opacity: 0; }
/* 左侧竖排 slogan */
.game-vertical {
  position: absolute; z-index: 2; left: 16px; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 13px; font-weight: 700; letter-spacing: .4em;
  color: var(--brand); opacity: .45;
  pointer-events: none; user-select: none;
}
/* 漂浮装饰 */
.game-float {
  position: absolute; z-index: 3; font-size: clamp(38px, 4vw, 58px);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
  animation: floatY 4.5s ease-in-out infinite;
  pointer-events: none;
}
/* 漂浮装饰（乐元素风格下隐藏，装饰融入原画本身） */
.game-float { display: none; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
/* 游戏标题（文字替代产品 logo 图） */
.game-title {
  font-size: clamp(34px, 4vw, 52px); font-weight: 900; color: var(--brand-deep, #243b73);
  line-height: 1.15; margin-bottom: 26px; letter-spacing: .01em;
}
/* 描述：对标乐元素——16px / #393939 / 行高2 / 字重500 / 左对齐 / 宽约540 */
.game-intro > p, .game-desc p {
  color: #393939; font-size: 16px; font-weight: 500; line-height: 2;
  margin: 0; max-width: 540px; text-align: left;
}
.game-desc { margin-bottom: 18px; }
/* 游戏标签（由 main.js 按 data.js 的 tags 渲染，随游戏切换） */
.game-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.gtag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 18px;
  background: var(--dark); color: #fff; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
}
.is-hidden { display: none !important; }

/* 按钮组：两颗圆角方形按钮（预约游戏=品牌蓝底白字 / 观看pv=白底蓝描边） */
.game-btns { display: flex; gap: 14px; margin-top: clamp(52px, 9vh, 112px); flex-wrap: wrap; align-items: center; }
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 32px; border-radius: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.g-btn--main { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -14px rgba(62, 97, 174, .75); }
.g-btn--main:hover { background: var(--brand-deep); transform: translateY(-2px); }
.g-btn--pv { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.g-btn--pv:hover { background: rgba(62, 97, 174, .08); transform: translateY(-2px); }
.pv-play { font-size: 10px; line-height: 1; }

/* URL 胶囊 / 圆形箭头：「关于巨好玩」模块的「查看公司动态」仍在复用 */
.url-pill {
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px;
  background: #393939; color: #fff; border-radius: 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.url-pill:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.url-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #5b7fd6); color: #fff;
  font-size: 18px; box-shadow: 0 10px 22px -10px rgba(62, 97, 174, .75);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.url-arrow:hover { transform: translateY(-2px) translateX(2px); box-shadow: 0 14px 28px -10px rgba(62, 97, 174, .9); }

.game-tip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #fe2c55, #ff6b8a);
  color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 28px -10px rgba(254, 44, 85, .55);
}
.game-tip::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: #fff; border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fe2c55'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}

/* 圆角方形游戏切换器（80px；素材为 90×90 满幅方图，不再裁成圆形），位于页面下方与按钮错落 */
.game-icons { display: flex; gap: 20px; margin-top: clamp(40px, 6.5vh, 84px); flex-wrap: wrap; align-items: center; }
.g-icon {
  width: 80px; height: 80px; border-radius: 20px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid #e2e8f2;
  box-shadow: 0 12px 24px -16px rgba(31, 38, 48, .45);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.g-icon img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; transition: transform .25s var(--ease); }
.g-icon:hover { transform: translateY(-5px); border-color: var(--g-color, var(--brand)); }
.g-icon.active {
  border-color: var(--g-color, var(--brand)); border-width: 3px;
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 30px -14px var(--g-color, var(--brand));
}
.g-icon.active img { transform: scale(1.04); }
.g-icon:focus-visible { outline: 3px solid rgba(62, 97, 174, .4); outline-offset: 3px; }

/* BOOM 装饰标签：悬浮在右侧 blob 画面上 */
/* BOOM 标签：乐元素干净风格下隐藏 */
.boom-tag { display: none; }
@keyframes boomPulse { 0%, 100% { transform: rotate(8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.08); } }

/* ---------- 关于巨好玩（效果图：居中 kicker + 左文右图出血 + JHW 水印） ---------- */
.about {
  position: relative; overflow: hidden; background: #F7F9FC;
  /* 减去固定导航 76px：区块底部刚好落在屏幕底边，
     这样「关于巨好玩 + 内嵌页脚」整体是一屏，无需再多滑一下 */
  min-height: calc(100vh - 76px); display: flex; flex-direction: column;
}
/* 右下巨大半透明 JHW 水印（视觉背景，z-index 低于主内容、高于主内容遮罩） */
.about::before {
  content: "JHW";
  position: absolute; right: -8%; bottom: -12%; z-index: 1;
  font-size: 32vw; font-weight: 900; font-family: var(--font);
  color: #c8d1de; opacity: .10; letter-spacing: -.04em; line-height: 1;
  pointer-events: none; user-select: none;
}
/* 居中 kicker：关于巨好玩 */
.about-kicker {
  position: relative; z-index: 3; text-align: center;
  font-size: clamp(34px, 4vw, 52px); font-weight: 900;
  color: #1a2230; letter-spacing: .01em; line-height: 1.12;
  margin: 0 auto clamp(12px, 1.6vh, 24px);
}
/* 关于巨好玩内容区：flex:1 撑开中间空间，让 footer 自然贴底；
   标题贴区块顶部，正文由下方 .container 自行弹性居中（标题与正文互不牵连） */
.about-main {
  position: relative; flex: 1 1 auto;
  padding: clamp(24px, 3.2vh, 48px) 0 clamp(12px, 1.6vh, 24px);
  display: flex; flex-direction: column;
}
/* 右侧楼图：右出血，object-fit: contain 保证楼图完整显示不裁切；
   左缘 mask 收窄到 15%，渐变融入灰白底 */
.about-blob {
  position: absolute; z-index: 2; pointer-events: none;
  top: clamp(130px, 15vh, 240px); right: 0; bottom: 0;
  width: 58vw; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%);
}
.about-blob img {
  width: 100%; height: 100%; max-height: none;
  object-fit: contain; object-position: right center;
  transition: opacity .22s ease;
}
/* 仅 about 内容容器出血（收窄选择器，避免泄漏到嵌在 .about 内的页脚容器）；
   自身撑满标题以下的剩余空间并垂直居中正文，屏幕再高正文也不会跟着标题往上跑 */
.about-main .container {
  position: relative; z-index: 3; width: 100%; max-width: none; padding: 0;
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
}
/* 页脚嵌在 .about 内：提升层级，压住 JHW 水印(z-index:1)与右侧楼图(z-index:2)，保持纯净深色块 */
.about > .footer-home { position: relative; z-index: 3; flex: 0 0 auto; }
.about-grid { display: block; }
.about-intro { position: relative; max-width: 600px; margin-left: clamp(20px, 7vw, 160px); }
/* 小标题「公司简介」+ 灰色拼音 */
.about-sub {
  font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; line-height: 1.2;
  color: var(--brand-deep, #2c4a8c); margin: 0 0 10px;
}
.about-sub span {
  display: block; font-size: 13px; letter-spacing: .18em; font-weight: 500;
  color: #b5bdc9; margin-top: 4px;
}
/* 正文 */
.about-desc {
  color: #393939; font-size: 21px; font-weight: 500; line-height: 1.75;
  margin: 0 0 12px; max-width: 620px; text-align: left;
}
.about-desc:first-of-type { font-weight: 600; } /* 第一段华是简介稍重一点 */
/* 按钮组：单颗 g-btn--main */
.about-btns { display: flex; gap: 14px; margin-top: clamp(20px, 3vh, 44px); flex-wrap: wrap; align-items: center; }
.about-arrow { margin-left: 4px; font-size: 14px; }

/* ---------- 公司动态（整屏：左列表右大图） ---------- */
.news-section {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 90px; background: #FFF;
}
.news-section .container {
  width: 100%; align-self: center;
  max-width: none; padding: 0 clamp(20px, 7vw, 160px);
  display: flex; flex-direction: column;
 
}
/* 标题行：左标题+拼音，右“更多动态” */
.news-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.news-head-l { position: relative; }
.news-h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; color: var(--text); line-height: 1.1; }
.news-pinyin {
  display: block; margin-top: 6px;
  font-size: clamp(20px, 2.6vw, 32px); font-weight: 800; letter-spacing: .12em;
  color: rgba(154, 164, 178, .35); user-select: none;
}
.news-more-link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  margin-top: 10px; color: var(--brand); font-size: 15px; font-weight: 600;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.news-more-link i { font-style: normal; font-size: 17px; transition: transform .25s var(--ease); }
.news-more-link:hover { color: var(--brand-deep, #243b73); gap: 10px; }

/* 整屏列表：自然行高，卡片垂直居中 */
.news-split {
  margin-top: 32px;
}
.news-list-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px -28px rgba(31, 38, 48, .4);
  overflow: hidden;
}
#newsGrid { display: flex; flex-direction: column; }
/* 每行：标签 + 标题 ........ 日期 + 箭头（固定舒适行高） */
.news-row {
  display: flex; align-items: center; gap: 26px; width: 100%;
  height: 76px; padding: 0 52px; text-align: left;
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: #f7f9fd; }
.news-row:hover .news-row-title { color: var(--brand); }
.news-tag {
  flex-shrink: 0; width: 64px; text-align: center;
  padding: 7px 0; border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.tag-notice { background: var(--brand); color: #fff; }
.tag-version { background: #eef1f6; color: #5a6573; }
.tag-media { background: #eef1f6; color: #5a6573; }
.news-row-title {
  flex: 1; min-width: 0;
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .25s var(--ease);
}
.news-row-date {
  flex-shrink: 0; color: #b3bcc9; font-size: 16px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.news-row-arrow {
  flex-shrink: 0; color: #c3cad6; font-size: 26px; line-height: 1;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.news-row:hover .news-row-arrow { color: var(--brand); transform: translateX(4px); }

/* ---------- 加入我们 - 顶部游戏插画带（全宽 50vh，右出血，左缘渐变融入下方） ---------- */
.hero-join {
  position: relative; width: 100%; height: clamp(130px, 24vh, 250px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}
.hero-join img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}

/* ---------- 加入我们（白底整屏） ---------- */
.join {
  padding: clamp(60px, 7vh, 120px) 0 clamp(80px, 10vh, 160px);
  background: #fff; text-align: center; color: var(--text);
}
.join .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }

/* 大 Kicker：加入我们 */
.join-kicker {
  font-size: clamp(36px, 4.2vw, 56px); font-weight: 900; line-height: 1.15;
  color: var(--brand-deep, #2c4a8c); letter-spacing: .02em; margin: 0;
}
/* 灰色大字拼音 */
.join-pinyin {
  display: block; margin-top: clamp(10px, 1.5vh, 18px);
  font-size: clamp(18px, 2vw, 26px); font-weight: 800; letter-spacing: .28em;
  color: rgba(154, 164, 178, .38); user-select: none;
}
/* slogan */
.join-slogan {
  margin: clamp(18px, 2.5vh, 34px) 0 0; color: var(--dark, #29313C);
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; letter-spacing: .06em;
}
/* 联系信息：两行居中 */
.join-contact {
  margin-top: clamp(28px, 3.5vh, 48px);
  display: flex; flex-direction: column; gap: clamp(6px, 1vh, 12px);
  font-size: clamp(14px, 1.5vw, 17px); color: var(--mute); font-weight: 500;
}
.join-contact a { color: var(--brand); font-weight: 700; }
.join-contact a:hover { color: var(--brand-deep); text-decoration: underline; }
.jc-label { color: var(--text); font-weight: 700; margin-right: 2px; }

/* 福利/招聘 分块标题：中文小标题 + 下方灰色小号拼音 */
.join-block { margin-top: clamp(52px, 6.5vh, 100px); text-align: left; position: relative; }
.join-block-head { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.join-block-title {
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: var(--text);
  margin: 0; letter-spacing: .04em; line-height: 1.2;
}
.join-block-pinyin {
  display: block; position: static; transform: none; margin-top: 4px;
  font-size: clamp(14px, 1.4vw, 20px); font-weight: 800; letter-spacing: .16em;
  color: rgba(154, 164, 178, .55); user-select: none;
  pointer-events: none;
}

/* ---------- 公司福利（三列等宽卡片） ---------- */
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px); margin-top: clamp(24px, 3vh, 40px);
}
.benefit-card {
  position: relative;
  padding: clamp(28px, 3vh, 40px) clamp(18px, 2vw, 26px) clamp(22px, 2.5vh, 32px);
  border-radius: 18px; text-align: center;
  background: #fff; border: 1px solid var(--line);
  min-height: clamp(190px, 22vh, 260px);
  display: flex; flex-direction: column; align-items: center;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.benefit-card:hover {
  border-color: rgba(62, 97, 174, .35);
  box-shadow: 0 22px 46px -22px rgba(62, 97, 174, .35);
  transform: translateY(-4px);
}
/* 选中态（效果图第三张） */
.benefit-card--active {
  border-color: var(--brand);
  box-shadow: 0 18px 40px -20px rgba(62, 97, 174, .5);
}
.benefit-ico {
  width: clamp(56px, 6.5vw, 76px); height: clamp(56px, 6.5vw, 76px);
  border-radius: 16px; background: #f2f4f8;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(26px, 3vw, 36px); line-height: 1;
  flex: none;
}
.benefit-card h4 { margin-top: clamp(14px, 1.8vh, 22px); font-size: clamp(16px, 1.7vw, 20px); font-weight: 800; color: var(--text); }
.benefit-card p { margin-top: clamp(10px, 1.3vh, 16px); font-size: clamp(13px, 1.3vw, 15px); line-height: 1.9; color: var(--mute); }

/* ---------- 公司招聘（列表行卡片） ---------- */
.job-list {
  display: flex; flex-direction: column;
  gap: clamp(12px, 1.4vh, 18px); margin-top: clamp(24px, 3vh, 40px);
}
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(16px, 1.8vh, 22px) clamp(20px, 2.2vw, 32px);
  border-radius: 14px; background: #fff; border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.job-card:first-child { border-color: var(--brand); box-shadow: 0 14px 36px -18px rgba(62, 97, 174, .4); }
.job-card:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 36px -18px rgba(62, 97, 174, .4);
  background: #f7f9fd;
}
.job-info { min-width: 0; text-align: left; }
.job-info h4 { font-size: clamp(15px, 1.6vw, 19px); font-weight: 800; color: var(--text); margin: 0; }
.job-meta { margin: clamp(4px, .6vh, 8px) 0 0; font-size: clamp(12px, 1.2vw, 14px); color: var(--mute); }
.job-apply {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: clamp(13px, 1.4vw, 15px); font-weight: 700; color: var(--brand);
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.job-apply::after { content: "↗"; transition: transform .25s var(--ease); }
.job-card:hover .job-apply::after { transform: translate(2px, -2px); }

/* 旧样式已废弃（.join h2/p/join-sub/benefit-grid-flex旧版/job-more/join-cta） */

/* ---------- 页脚 ---------- */
.footer { background: var(--dark-2); color: rgba(232, 237, 243, .62); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.social-list { display: flex; gap: 12px; }
.social-item { position: relative; }
.social-item > button {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 15px; font-weight: 700;
  transition: all .25s var(--ease);
}
.social-item > button:hover { background: linear-gradient(135deg, var(--cyan), var(--brand)); transform: translateY(-3px); }
.social-qr {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: 120px; padding: 10px; border-radius: 12px; background: #fff; text-align: center;
  opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
}
.social-qr .qr-img {
  width: 100%; aspect-ratio: 1; border-radius: 8px; background: #f0f3f8;
  display: grid; place-items: center; color: #9aa4b2; font-size: 12px;
}
.social-qr span { display: block; margin-top: 7px; font-size: 12px; color: var(--text); font-weight: 600; }
.social-item:hover .social-qr { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--cyan); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  padding: 11px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #5b7fd6); color: #fff;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(62, 97, 174, .8);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 弹窗（通用 mask + PV） ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 20, 28, .72); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 420px;
  background: #fff; border-radius: 22px; padding: 36px;
  transform: translateY(22px) scale(.97); opacity: 0;
  transition: all .35s var(--ease);
}
.modal-mask.open .modal { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 10px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent; border: none; font-size: 24px; color: #999;
  cursor: pointer; line-height: 1;
  transition: color .2s, transform .2s;
}
.modal-close:hover { color: #333; background: #f5f5f5; transform: rotate(90deg); }
.modal h3 { font-size: 24px; font-weight: 800; }
.modal p { color: var(--mute); font-size: 14.5px; margin: 8px 0 22px; }
.modal input {
  width: 100%; padding: 13px 16px; margin-bottom: 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.modal input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(62, 97, 174, .12); }

/* ==========================================================================
   预约弹窗（图片风格，与 kulu-website 一致）
   ========================================================================== */
.modal-card {
  position: relative;
  width: 100%; max-width: 400px;
  background: url(../images/yuyue/jhw_game_yy_bg.png) center/100% 100% no-repeat;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  animation: popIn .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.modal-title {
  text-align: center;
  font-size: 20px; font-weight: 800; color: #111;
  margin-bottom: 22px;
}
.form-row { margin-bottom: 14px; }
.radio-row { display: flex; gap: 16px; margin-bottom: 20px; }
.radio-item {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 6px; border: none;
  font-size: 15px; color: #666; cursor: pointer;
  transition: color .2s; background: transparent;
}
.radio-item.active { color: #111; font-weight: 700; }
.radio-dot {
  width: 22px; height: 22px; border-radius: 0; border: none; flex-shrink: 0;
  background: url(../images/yuyue/yy_check01.png) center/contain no-repeat;
}
.radio-item.active .radio-dot {
  background: url(../images/yuyue/yy_check02.png) center/contain no-repeat;
}
.form-input {
  width: 100%; height: 46px; border: none; border-radius: 0;
  padding: 0 16px; font-size: 15px; box-sizing: border-box; outline: none;
  background: url(../images/yuyue/yy_input_iphone.png) center/100% 100% no-repeat;
}
.form-input:focus { background: url(../images/yuyue/yy_input_iphone.png) center/100% 100% no-repeat; }
.phone-row { position: relative; }
.phone-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #999; font-size: 15px; pointer-events: none;
}
.phone-row .form-input { padding-left: 48px; }
.code-row { display: flex; gap: 10px; }
.code-row .form-input { flex: 1; }
.code-btn {
  flex-shrink: 0; height: 46px; padding: 0 16px;
  border: 1.5px solid #ffc400; background: #fff; color: #111;
  border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all .25s var(--ease);
}
.code-btn:hover:not(:disabled) { background: #ffc400; }
.code-btn:disabled { border-color: #ccc; color: #999; background: #f5f5f5; cursor: not-allowed; }
.agree-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: #888; margin: 18px 0 22px;
  cursor: pointer; line-height: 1.5;
}
.agree-row a { color: #ff9800; text-decoration: none; }
.agree-row a:hover { text-decoration: underline; }
.check-box {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  background: url(../images/yuyue/yy_check01.png) center/contain no-repeat;
}
.check-box.checked {
  background: url(../images/yuyue/yy_check02.png) center/contain no-repeat;
}
.submit-btn {
  width: 100%; height: 56px;
  background: url(../images/yuyue/yy_button_sumit.png) center/contain no-repeat;
  color: #111; font-size: 18px; font-weight: 900; letter-spacing: .1em;
  border: none; border-radius: 0; cursor: pointer;
  text-indent: -9999px;
}
.submit-btn:active:not(:disabled) { transform: translateY(2px); }
.submit-btn:disabled { filter: grayscale(.8) brightness(.85); cursor: not-allowed; }

/* ---------- 预约成功弹窗 ---------- */
.succ-mask-inner {
  text-align: center;
}
.succ-card {
  position: relative; width: 100%; max-width: 420px;
  margin: 0 auto;
  animation: popIn .3s cubic-bezier(.34,1.56,.64,1);
}
.succ-bg { width: 100%; height: auto; display: block; }
.succ-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border: none; background: transparent;
  cursor: pointer; padding: 0; z-index: 10;
}
.succ-close img { width: 100%; height: 100%; display: block; }

/* PV 弹窗 */
.modal-pv { max-width: 760px; }
.pv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #000;
}
.pv-screen video {
  width: 100%; height: 100%; display: block;
  object-fit: contain; background: #000;
}
.pv-tip { text-align: center !important; margin-bottom: 0 !important; }

/* 子页导航（详情页：透明，banner 向上覆盖导航） */
.subpage .nav {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.subpage .nav.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 6px 24px -14px rgba(20, 28, 40, .25);
}
.subpage .logo-text { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.subpage .nav-menu a { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.subpage .nav-menu a:hover { background: rgba(255, 255, 255, .15); }
.subpage .burger span { background: #fff; }
.subpage .nav-cta {
  border: 1.5px solid #fff; color: #fff; background: transparent;
}
.subpage .nav.scrolled .nav-cta {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.subpage .nav.scrolled .logo-text { color: var(--text); text-shadow: none; }
.subpage .nav.scrolled .nav-menu a { color: var(--text); text-shadow: none; }
.subpage .nav.scrolled .nav-menu a:hover { background: rgba(62, 97, 174, .1); }
.subpage .nav.scrolled .burger span { background: var(--text); }
/* 未滚动时：join / company / contact 顶部叠加一层柔和暗影，避免白色导航文字压在亮色插画上看不清 */
.subpage.join-page .nav:not(.scrolled),
.subpage.company-page .nav:not(.scrolled),
.subpage.contact-page .nav:not(.scrolled) {
  background: linear-gradient(180deg,
    rgba(8, 14, 30, .58) 0%,
    rgba(8, 14, 30, .32) 58%,
    rgba(8, 14, 30, 0) 100%);
}

/* ---------- 详情页通用布局（jd-banner 绝对定位覆盖导航） ---------- */
.jd-banner {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 440px;
  background: url("../images/game_jhw_xq_titlebg.png") top center/cover no-repeat;
  z-index: 0;
}
.jd-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,0) 40%);
}
.job-detail, .news-detail { position: relative; }
.job-detail { padding: 440px 0 90px; background: #fff; }
.news-detail { padding: 440px 0 90px; background: #fff; }
.job-detail .container, .news-detail .container { max-width: 960px; }

.jd-title {
  font-size: 36px; font-weight: 800; color: var(--dark);
  margin: 28px 0 10px; letter-spacing: .5px;
}
.jd-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; color: #7a8594; margin-bottom: 28px;
}
.jd-meta-sep { color: #cbd3de; }

.jd-section { margin-bottom: 32px; }
.jd-section-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 19px; font-weight: 800; color: var(--text);
  padding-left: 12px; border-left: 4px solid var(--brand);
  margin-bottom: 18px;
}
.jd-body {
  font-size: 15px; line-height: 1.85; color: #4a5462;
}
.jd-body p { margin-bottom: 14px; text-align: justify; }

.jd-apply-btn {
  display: inline-block; margin-top: 20px; margin-bottom: 12px;
  padding: 14px 48px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #5b7fd6);
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .05em;
  box-shadow: 0 14px 30px -12px rgba(62, 97, 174, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.jd-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(62, 97, 174, .7); }

.detail-nav { margin-top: 28px; }

.meta-chip {
  padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
}

/* ---------- 滚动入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }

/* ---------- 响应式 ---------- */

/* 超宽屏 ≥1920（2K/4K 显示器）：内容收敛避免过度拉伸，图不无限放大 */
@media (min-width: 1920px) {
  :root { --container: 1440px; }
  /* 游戏/关于：右侧大图封顶，文字区加宽、左缘保持比例 */
  .game-blob { left: calc(clamp(160px, 9vw, 260px) + 664px); }
  .about-blob { width: 52vw; }
  .about-kicker { font-size: clamp(44px, 4vw, 62px); }
  .game-intro, .about-intro { max-width: 680px; margin-left: clamp(160px, 9vw, 260px); }
  .game-title { font-size: 56px; }
  .game-intro > p, .game-desc p { font-size: 18px; line-height: 2.0; }
  .g-icon { width: 92px; height: 92px; }
  /* 动态/加入：内容区封顶居中，不铺满整个超宽屏 */
  .news-section .container { max-width: 1680px; align-self: center; padding: 0; }
  .join .container { max-width: 1680px; margin: 0 auto; padding: 0; }
  .news-row { padding: 0 64px; }
  .news-row-title { font-size: 22px; }
}

/* 小 PC（≤1280，笔记本 1024~1366）：左右布局收紧，防文字压图 */
@media (max-width: 1280px) {
  /* 游戏/关于：右侧大图收窄、文字区收窄并贴近左缘，避免重叠 */
  .game-blob { left: calc(clamp(18px, 5vw, 90px) + 464px); }
  .about-blob { width: 48vw; }
  .about-kicker { font-size: clamp(30px, 3.6vw, 44px); }
  .game-intro { max-width: 480px; margin-left: clamp(18px, 5vw, 90px); }
  /* 关于：正文保持 21px，文字列加宽到 560px，楼图同步收窄到 48vw 以免压字 */
  .about-intro { max-width: 560px; margin-left: clamp(18px, 5vw, 90px); }
  .game-title { font-size: 36px; margin-bottom: 20px; }
  .game-intro > p, .game-desc p { font-size: 16px; line-height: 1.85; }
  /* 游戏组：按钮与 icon 仍保持错落间距 */
  .game-btns { margin-top: clamp(40px, 6.5vh, 84px); }
  .game-icons { margin-top: clamp(32px, 5vh, 66px); }
  .g-btn { height: 46px; padding: 0 26px; font-size: 14px; }
  .g-icon { width: 72px; height: 72px; }
  /* 动态：行内边距与标签收紧 */
  .news-section .container { padding: 0 clamp(18px, 5vw, 90px); }
  .join .container { padding: 0 clamp(18px, 5vw, 90px); }
  .news-row { height: 68px; padding: 0 32px; gap: 16px; }
  .news-tag { width: 52px; font-size: 13px; }
  .news-row-title { font-size: 16px; }
  .news-row-date { font-size: 14px; }
}

/* 矮屏笔记本（高度 ≤820 的横屏，如 1366×768）：压缩整屏区块纵向留白，防内容溢出 */
@media (max-height: 820px) and (min-width: 992px) {
  .game { padding: 96px 0 56px; }
  /* 矮屏（≤820，如 1366×768）：关于区收紧字号与间距，
     保证「关于巨好玩 + 页脚」仍然一屏显示（正常屏仍是 21px） */
  .about-kicker { font-size: clamp(28px, 5vh, 44px); margin-bottom: 8px; }
  .about-sub { font-size: clamp(19px, 2.7vh, 26px); margin-bottom: 8px; }
  .about-desc { font-size: clamp(15px, 2.45vh, 21px); line-height: 1.65; margin-bottom: 8px; }
  .about-btns { margin-top: 14px; }
  .news-section { padding: 88px 0 56px; }
  .join { padding: 72px 0; }
  .benefits, .jobs { margin-top: 44px; }
  .benefit-card { padding: 16px 12px; }
  .news-h2 { font-size: 28px; }
  .news-pinyin { font-size: 22px; }
  .news-split { margin-top: 22px; }
  .news-row { height: 60px; }
}
@media (max-width: 991px) {
  /* 移动端：关于区块恢复上下堆叠，顶部 kicker + 楼图带 + 文字卡片 */
  .about { min-height: auto; display: block; }
  .about-main { display: block; min-height: auto; padding: 80px 0 70px; }
  .about-kicker { text-align: center; font-size: clamp(28px, 6vw, 40px); margin: 0 0 clamp(24px, 3vh, 36px); }
  /* 覆盖桌面端关于 blob 的左缘 mask，移动端用图上的底部 mask */
  .about-blob {
    position: relative; top: auto; right: auto; bottom: auto; left: auto;
    width: 100%; height: 50vh;
    -webkit-mask-image: none; mask-image: none;
  }
  .about-blob img {
    width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .about-main .container { margin-top: -10vh; padding: 0 18px; }
  .about-intro {
    max-width: none; margin-left: 0; padding: 30px 26px;
    background: #fff; border-radius: 24px;
    box-shadow: 0 24px 50px -28px rgba(31, 38, 48, .35);
  }
  .about-sub { font-size: 18px; margin-bottom: 14px; }
  .about-desc { font-size: 14.5px; line-height: 1.9; }
  .about::before { font-size: 24vw; opacity: .07; }
  /* 移动端：主图变为顶部图带（16:9 全宽），文字卡片接在图带下方，不再压住图片；
     顶部留 76px 是给固定导航让位，避免图带顶边被白底导航压住 */
  .game { display: block; min-height: auto; padding: 76px 0 70px; }
  .game-blob {
    position: relative; top: auto; right: auto; bottom: auto; left: auto;
    width: 100%; height: auto;
  }
  .game-blob img {
    width: 100%; height: auto; max-height: none; object-fit: contain;
    -webkit-mask-image: none; mask-image: none;
  }
  .game .container { margin-top: 0; padding: 0 18px; }
  .game-intro {
    max-width: none; margin-left: 0; padding: 30px 26px;
    background: #fff; border-radius: 24px;
    box-shadow: 0 24px 50px -28px rgba(31, 38, 48, .35);
  }
  .game-vertical, .game-float, .boom-tag { display: none; }
  .game-desc { margin-bottom: 14px; }
  .game-tags { gap: 8px; }
  .gtag { height: 28px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }
  .game-btns { gap: 10px; margin-top: 28px; }
  .g-btn { height: 44px; padding: 0 20px; font-size: 13.5px; border-radius: 12px; }
  .url-pill { height: 40px; padding: 0 16px; font-size: 12.5px; }
  .url-arrow { width: 40px; height: 40px; font-size: 16px; }
  .game-icons { gap: 14px; margin-top: 34px; }
  .g-icon { width: 68px; height: 68px; border-radius: 17px; }
  .g-icon img { width: 100%; height: 100%; border-radius: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .join .container { padding: 0 18px; }
  .jd-banner { height: 280px; }
  .job-detail, .news-detail { padding-top: 300px; }
  .jd-title { font-size: 28px; }
  .news-section { padding: 72px 0; min-height: auto; display: block; }
  .news-section .container { display: block; padding: 0 18px; }
  .news-split { flex: none; }
  .news-row { height: auto; min-height: 64px; padding: 22px 24px; gap: 14px; }
}
@media (max-width: 767px) {
  .nav-menu, .nav-cta { display: none; }
  .burger { display: flex; }
  .about-main { padding: 68px 0 60px; }
  .about-kicker { font-size: clamp(26px, 7vw, 34px); margin-bottom: 22px; }
  .about-blob { height: 42vh; }
  .game, .about-main { padding: 72px 0; }
  .game-tags { gap: 6px; }
  .game-btns { gap: 8px; margin-top: 24px; }
  .g-btn { height: 42px; padding: 0 18px; font-size: 13px; }
  .game-icons { gap: 12px; margin-top: 30px; }
  .g-icon { width: 62px; height: 62px; border-radius: 16px; }
  .g-icon img { border-radius: 14px; }
  .join { padding: 72px 0; }
  .hero-title { font-size: clamp(34px, 10vw, 52px); }
  .game-btns .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .back-top { right: 16px; bottom: 20px; }
  /* 移动端福利卡：从 3 列 grid → 2 列 grid（更宽的卡） */
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .job-card { padding: 12px 16px; gap: 10px; }
  .job-info h4 { font-size: 16px; }
  .job-meta { font-size: 12px; }
  .job-apply { font-size: 13px; }
  .news-section { padding: 56px 0; }
  .news-split { margin-top: 24px; }
  .news-list-card { border-radius: 14px; }
  .news-row { height: auto; padding: 18px 16px; gap: 10px; }
  .news-tag { width: auto; padding: 4px 10px; font-size: 12px; }
  .news-row-title { font-size: 15px; }
  .news-row-date { font-size: 12.5px; }
  .news-row-arrow { font-size: 20px; }
  .news-more-link { font-size: 13.5px; margin-top: 6px; }
  .news-detail { padding: 110px 0 70px; }
  .job-detail { padding: 110px 0 70px; }
  .jd-grid { grid-template-columns: 1fr; gap: 16px; }
  .jd-panel { padding: 22px 20px; }
  .logo-img { width: 40px; height: 40px; }
}

/* ---------- 临时隐藏区块（预览用；恢复时删掉元素上的 is-hidden 类即可） ---------- */
.is-hidden { display: none !important; }

/* ==========================================================================
   首页页脚（新版式：品牌 / 联系我们 / 关注我们 三栏）
   独立深色块，脱离 about 模块
   ========================================================================== */
.footer-home { padding: 30px 0 16px; }
.footer-home .container { padding: 0 48px; }
.footer-home .footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; padding-bottom: 22px; border-bottom: none;
}
/* 左：logo + slogan */
.footer-home .footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-home .footer-logo img {
  width: 52px; height: 52px; padding: 6px; border-radius: 14px; background: #fff; object-fit: contain;
}
.footer-home .footer-logo-text { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.footer-home .footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--cyan); }
/* 中 / 右：栏目 */
.footer-home .footer-col h4 { font-size: 15px; margin-bottom: 10px; }
.footer-home .footer-col ul li { margin-bottom: 4px; }
.footer-home .fc-label { color: rgba(232, 237, 243, .5); }
/* 关注我们：社交图标（单色 SVG + mask 着色） */
.social-icons { display: flex; gap: 14px; }
.social-icon {
  display: block; width: 36px; height: 36px; background-color: #fff;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.social-icon:hover { transform: translateY(-3px); opacity: .85; }
.si-weibo { -webkit-mask-image: url("../images/social/weibo.svg"); mask-image: url("../images/social/weibo.svg"); }
.si-bilibili { -webkit-mask-image: url("../images/social/bilibili.svg"); mask-image: url("../images/social/bilibili.svg"); background-color: #00A1D6; }
.si-douyin { -webkit-mask-image: url("../images/social/douyin.svg"); mask-image: url("../images/social/douyin.svg"); }
.si-wechat { -webkit-mask-image: url("../images/social/wechat.svg"); mask-image: url("../images/social/wechat.svg"); background-color: #07C160; }
/* 底栏 */
.footer-home .footer-bottom { padding-top: 16px; }
.footer-home .footer-links { gap: 6px; align-items: center; }
.footer-home .footer-sep { color: rgba(232, 237, 243, .35); }
/* 响应式 */
@media (max-width: 991px) {
  .footer-home .container { padding: 0 32px; }
  .footer-home .footer-grid { flex-wrap: wrap; gap: 28px 48px; }
  .footer-home .footer-brand { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  .footer-home { padding: 26px 0 14px; }
  .footer-home .container { padding: 0 24px; }
  .footer-home .footer-grid { flex-direction: column; gap: 22px; }
}

/* ==========================================================================
   公司详情页（company.html）
   顶部 KV + 大标题 / 公司介绍 / 公司动态 + 首页同款页脚
   ========================================================================== */

/* 页面容器：近通栏（左右约 40px），与效果图一致 */
.company-page .ci-section .container,
.company-page .news-section .container { max-width: none; padding: 0 clamp(70px, 5vw, 140px); }

/* ---------- 顶部 KV ---------- */
.company-kv {
  height: clamp(130px, 24vh, 250px);
  background: url("../images/game_jhw_xq_titlebg.png") center/cover no-repeat;
}

/* ---------- 大标题 ---------- */
.company-hero { padding: 42px 0 26px; text-align: center; background: #fff; }
.company-title {
  font-size: clamp(30px, 3.6vw, 50px); font-weight: 900;
  color: var(--brand); letter-spacing: .02em; line-height: 1.1;
}
.company-sub {
  margin-top: 10px; font-size: clamp(15px, 1.7vw, 24px);
  color: #9aa4b2; letter-spacing: .02em;
}

/* ---------- 区块标题（公司介绍 / 发展历程） ---------- */
.sec-h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 900; color: var(--dark); line-height: 1.2; }
.sec-pinyin {
  display: block; margin-top: 4px;
  font-size: clamp(14px, 1.4vw, 20px); font-weight: 800; letter-spacing: .16em;
  color: rgba(154, 164, 178, .55); user-select: none;
}

/* ---------- 公司介绍 ---------- */
.ci-section { padding: 8px 0 34px; background: #fff; }
.ci-grid {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(18px, 2.2vw, 40px); align-items: center;
}
.ci-text p { color: #393939; font-size: 17px; font-weight: 500; line-height: 1.95; margin: 16px 0 0; }
.ci-text b { color: var(--brand); font-weight: 800; }
/* 右侧插画：按高度自适应（原图竖版 688x1046），右侧留出安全间距、不贴边 */
.ci-art {
  margin-right: clamp(40px, 8vw, 176px);
  display: flex; align-items: center; justify-content: flex-end;
}
.ci-art img { height: clamp(380px, 46vw, 700px); width: auto; max-width: 100%; }

/* ---------- 公司动态（复用首页列表样式，改为两行式行卡） ---------- */
.company-page .news-section { min-height: auto; display: block; padding: 44px 0 82px; }
.company-page .news-pinyin {
  font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .16em;
  color: rgba(154, 164, 178, .55);
}
.company-page .news-split { margin-top: 26px; }
.company-page .news-row {
  display: grid; grid-template-columns: 1fr auto 16px; grid-template-rows: auto auto;
  align-items: center; column-gap: 14px; row-gap: 9px;
  height: auto; padding: 16px 26px;
}
.company-page .news-row .news-tag {
  grid-column: 1; grid-row: 1; justify-self: start;
  width: auto; padding: 4px 14px; font-size: 13px;
}
.company-page .news-row .news-row-title { grid-column: 1; grid-row: 2; font-size: 17px; }
.company-page .news-row .news-row-date { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.company-page .news-row .news-row-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .ci-grid { grid-template-columns: 1fr; gap: 28px; }
  .ci-art { margin-right: 0; justify-content: center; }
}
@media (max-width: 767px) {
  .company-hero { padding: 28px 0 16px; }
  .ci-text p { font-size: 14px; }
  .company-page .news-section { padding: 30px 0 60px; }
  .company-page .news-head { flex-direction: column; gap: 6px; }
  .company-page .news-row { padding: 14px 18px; column-gap: 10px; }
}

/* ==========================================================================
   首页导航 logo：横版白色组合标识（原图为白色，滚动到白底导航时转为深色剪影）
   ========================================================================== */
.logo-img--wide {
  width: auto; height: 81px; margin-left: -20px; border-radius: 0;
  background: none; box-shadow: none; object-fit: contain;
}
.nav.scrolled .logo-img--wide { filter: brightness(0) invert(.17); }
@media (max-width: 767px) {
  .logo-img--wide { width: auto; height: 42px; margin-left: 0; }
}

/* ==========================================================================
   联系我们页（contact.html）
   顶部游戏插画带（复用 .hero-join）+ 居中大标题/拼音 + 三张联系卡片 + 首页同款页脚
   ========================================================================== */
/* 整页一屏：导航（固定层，盖在插画带上）不占文档高度，故用 100vh 而非 calc(100vh - 76px) */
body.contact-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
body.contact-page .hero-join {
  flex: 0 0 auto;
  height: clamp(120px, 21vh, 240px); /* 只作用于本页，不影响 join.html */
}

.contact {
  position: relative;
  padding: clamp(22px, 2.8vh, 44px) 0 clamp(22px, 3.4vh, 48px);
  text-align: center; color: var(--text);
  background-color: #fff;
  /* 效果图底色有一层极淡的方格网纹 */
  background-image:
    linear-gradient(rgba(62, 97, 174, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 97, 174, .045) 1px, transparent 1px);
  background-size: 44px 44px;
}
/* 撑满插画带与页脚之间的余量：余量足够时正文垂直居中，不够时自动归零（不会切掉顶部内容） */
body.contact-page .contact { flex: 1 1 auto; display: flex; flex-direction: column; }
body.contact-page .contact > .container { margin-top: auto; margin-bottom: auto; }
.contact .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }


/* 大标题：品牌青色渐变字 */
.contact-kicker {
  font-size: clamp(36px, 4.2vw, 56px); font-weight: 900; line-height: 1.15;
  letter-spacing: .02em; margin: 0;
  background: linear-gradient(120deg, #3ecadf, #70F2FF 55%, #2bb2c9);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* 灰色大字拼音 */
.contact-pinyin {
  display: block; margin-top: clamp(10px, 1.5vh, 18px);
  font-size: clamp(18px, 2vw, 26px); font-weight: 800; letter-spacing: .28em;
  color: rgba(154, 164, 178, .38); user-select: none;
}

/* ---------- 三张联系卡片 ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px); margin-top: clamp(26px, 3.8vh, 50px);
}
.contact-card {
  position: relative;
  padding: clamp(30px, 3.8vh, 50px) clamp(20px, 2.4vw, 34px) clamp(24px, 3vh, 40px);
  min-height: clamp(170px, 22vh, 240px);
  background: #fff; border-radius: 18px;
  border: 1px solid rgba(227, 232, 239, .9);
  box-shadow: 0 18px 44px -26px rgba(20, 28, 48, .22);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 97, 174, .3);
  box-shadow: 0 24px 52px -24px rgba(62, 97, 174, .32);
}
/* 握手图标 */
.contact-ico { width: clamp(44px, 4.6vw, 58px); flex: none; }
.contact-ico svg { width: 100%; height: auto; display: block; }
.contact-card h3 {
  margin-top: clamp(16px, 2vh, 24px);
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; color: var(--text);
}
.contact-card p {
  margin-top: clamp(12px, 1.6vh, 20px);
  font-size: clamp(14px, 1.35vw, 16px); line-height: 2; color: var(--mute);
}
.contact-card p a { color: inherit; }
.contact-card p a:hover { color: var(--brand); text-decoration: underline; }

/* 页脚：一屏的最后一格，不参与伸缩（内容与样式仍是首页/company.html 原样） */
body.contact-page .footer-home { flex: 0 0 auto; }

/* ---------- 响应式 ---------- */
/* 矮屏笔记本（≤820 且宽 ≥992）：收紧插画带与卡片，保证仍是一屏 */
@media (max-height: 820px) and (min-width: 992px) {
  body.contact-page .hero-join { height: clamp(110px, 15vh, 190px); }
  body.contact-page .contact { padding: 20px 0 18px; }
  body.contact-page .contact-kicker { font-size: clamp(30px, 4vh, 46px); }
  body.contact-page .contact-pinyin { font-size: clamp(16px, 2.4vh, 22px); margin-top: 4px; }
  body.contact-page .contact-grid { margin-top: 18px; }
  body.contact-page .contact-card {
    min-height: clamp(160px, 21vh, 220px);
    padding: 22px clamp(18px, 2vw, 26px) 18px;
  }
  body.contact-page .contact-card h3 { margin-top: 8px; }
}
@media (max-width: 991px) {
  .contact { padding: 40px 0 clamp(60px, 8vh, 110px); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .contact-card { min-height: auto; padding: 28px 20px 24px; }
}


