/* =============================================================
   ZF GARET 官网 - 前台样式
   设计基调：落日海面（深海蓝 + 余晖金），深色玻璃拟态
   ============================================================= */

/* ---------------- 变量与重置 ---------------- */
:root {
  --bg: #070d1a;
  --bg-soft: #0b1426;
  --panel: rgba(17, 28, 51, .72);
  --panel-solid: #101c33;
  --line: rgba(120, 156, 214, .18);
  --line-strong: rgba(120, 156, 214, .34);
  --txt: #e9eefc;
  --sub: #95a7c6;
  --dim: #6d7f9e;
  --pri: #4a90e2;
  --pri-soft: #7fd4ff;
  --gold: #ffb35c;
  --gold-soft: #ffd79a;
  --rose: #ff6f91;
  --ok: #4ec9a5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, .32);
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

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

html { scroll-behavior: smooth; }

body.zf-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 12% -5%, rgba(30, 74, 138, .55), transparent 62%),
    radial-gradient(900px 560px at 88% 8%, rgba(122, 63, 22, .38), transparent 60%),
    radial-gradient(800px 600px at 50% 108%, rgba(20, 46, 92, .45), transparent 65%),
    var(--bg);
  color: var(--txt);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.zf-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--pri-soft); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.28; letter-spacing: .2px; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(255, 179, 92, .3); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a1223; }
::-webkit-scrollbar-thumb { background: #22314f; border-radius: 10px; border: 2px solid #0a1223; }
::-webkit-scrollbar-thumb:hover { background: #2f4468; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: none;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), filter .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-pri { background: linear-gradient(135deg, var(--pri), var(--pri-soft)); color: #04101f; }
.btn-pri:hover { filter: brightness(1.08); transform: translateY(-2px); color: #04101f; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #241503; }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); color: #241503; }
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); color: var(--txt); }
.btn-ghost:hover { border-color: var(--pri); color: var(--pri-soft); transform: translateY(-2px); }
.btn-line { background: transparent; border: 1px solid var(--line-strong); color: var(--sub); }
.btn-line:hover { color: var(--txt); border-color: var(--pri); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(7, 13, 26, .92), rgba(7, 13, 26, .58));
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.solid { background: rgba(8, 14, 28, .96); border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #08111f;
  background: linear-gradient(135deg, var(--gold), var(--rose) 55%, var(--pri));
  box-shadow: 0 6px 18px rgba(255, 122, 110, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 15.5px; letter-spacing: .6px; }
.brand-text i { font-size: 11.5px; color: var(--sub); font-style: normal; letter-spacing: 2px; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-menu a {
  position: relative;
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--sub);
  font-weight: 500;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 3px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--pri-soft));
  transform: translateX(-50%);
  border-radius: 2px;
  transition: width .26s var(--ease);
}
.nav-menu a:hover { color: var(--txt); background: rgba(255, 255, 255, .04); }
.nav-menu a.on { color: var(--txt); }
.nav-menu a.on::after { width: 22px; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-search input {
  width: 190px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 35, .8);
  color: var(--txt);
  font-size: 13.5px;
  outline: none;
  transition: width .26s var(--ease), border-color .2s;
}
.nav-search input:focus { width: 230px; border-color: var(--pri); }

.user-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: border-color .2s;
}
.user-chip:hover { border-color: var(--pri); }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #1b2a44; }
.user-chip span { font-size: 13.5px; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  min-width: 168px;
  padding: 8px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(12, 20, 38, .98);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .2s var(--ease);
  z-index: 70;
}
.user-chip:hover .user-menu, .user-menu:hover { opacity: 1; visibility: visible; transform: none; }
.user-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--sub); }
.user-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--txt); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--txt); border-radius: 2px; transition: .25s; }
.nav-progress { height: 2px; width: 0; background: linear-gradient(90deg, var(--gold), var(--pri-soft)); transition: width .18s linear; }

/* ---------------- 公告条 ---------------- */
.notice-bar {
  position: relative;
  z-index: 55;
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px;
  font-size: 13.5px;
  background: linear-gradient(90deg, rgba(255, 179, 92, .14), rgba(74, 144, 226, .1) 60%, transparent);
  border-bottom: 1px solid var(--line);
}
.notice-tag {
  padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #2a1a04;
}
.notice-text { color: #d9e4f7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-close { margin-left: auto; background: none; border: none; color: var(--dim); font-size: 20px; cursor: pointer; line-height: 1; }
.notice-close:hover { color: var(--txt); }

/* ---------------- 主体容器 ---------------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.view { flex: 1; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 26px; }
.section { padding: 84px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head .titles { flex: 1; min-width: 240px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; font-weight: 600;
}
.section-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.section-head .desc { color: var(--sub); margin-top: 10px; font-size: 14.5px; max-width: 620px; }
.section-head .more { font-size: 13.5px; color: var(--sub); display: inline-flex; align-items: center; gap: 6px; }
.section-head .more:hover { color: var(--pri-soft); gap: 10px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.muted { color: var(--sub); }
.dim { color: var(--dim); }
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--sub);
}
.empty { padding: 60px 20px; text-align: center; color: var(--dim); }
.empty .big { font-size: 34px; margin-bottom: 10px; opacity: .6; }

/* ---------------- 首屏轮播 ---------------- */
.hero { position: relative; height: calc(100vh - var(--nav-h)); min-height: 560px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 22, .92) 0%, rgba(5, 10, 22, .55) 42%, rgba(5, 10, 22, .18) 70%, rgba(5, 10, 22, .5) 100%),
    linear-gradient(0deg, rgba(7, 13, 26, .96) 2%, transparent 42%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 1360px; margin: 0 auto; padding: 0 26px;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.hero-inner { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--line-strong);
  color: var(--gold-soft);
}
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(78, 201, 165, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(78, 201, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 201, 165, 0); } }
.hero-en { font-size: 13px; letter-spacing: 6px; color: var(--sub); text-transform: uppercase; margin-bottom: 14px; }
.hero-title {
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1.02;
  letter-spacing: 2px;
  background: linear-gradient(120deg, #fff 12%, var(--gold-soft) 46%, var(--pri-soft) 96%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.hero-desc { font-size: 16px; color: #cfdcf1; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-thumbs {
  position: absolute; right: 34px; bottom: 46px; z-index: 5;
  display: flex; align-items: flex-end; gap: 14px;
}
.hero-thumb {
  position: relative;
  width: 116px; height: 66px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 35, .7);
  overflow: hidden;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--sub);
  letter-spacing: 1px;
  transition: .3s var(--ease);
}
.hero-thumb::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--tc, #12305c), var(--ac, #7fd4ff)); opacity: .5; transition: .3s; }
.hero-thumb span { position: relative; z-index: 2; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero-thumb:hover { transform: translateY(-6px); border-color: var(--pri); }
.hero-thumb.on { border-color: var(--gold); transform: translateY(-10px) scale(1.06); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.hero-thumb.on::before { opacity: .95; }
.hero-dots { position: absolute; left: 26px; bottom: 52px; z-index: 5; display: flex; gap: 8px; }
.hero-dots i { width: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .24); cursor: pointer; transition: .3s; }
.hero-dots i.on { background: var(--gold); width: 44px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 5; font-size: 11.5px; letter-spacing: 3px; color: var(--dim);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll span { width: 1px; height: 26px; background: linear-gradient(180deg, var(--gold), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { opacity: 0; transform: scaleY(.3); } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* ---------------- 数据条 ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 30px 22px; background: rgba(11, 20, 38, .82); text-align: center; }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: 1px;
  background: linear-gradient(135deg, var(--gold-soft), var(--pri-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--sub); }

/* ---------------- 产品卡片 ---------------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(12, 21, 40, .76);
  cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.game-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.game-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game-cover canvas, .game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.game-card:hover .game-cover canvas, .game-card:hover .game-cover img { transform: scale(1.06); }
.game-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 16, 32, .95) 4%, transparent 62%); }
.game-status {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(6, 12, 24, .7); backdrop-filter: blur(6px);
}
.game-logo {
  position: absolute; left: 18px; bottom: 14px; z-index: 3;
  font-size: 20px; font-weight: 800; letter-spacing: 1px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, .7);
}
.game-body { padding: 16px 18px 20px; }
.game-en { font-size: 11.5px; letter-spacing: 2px; color: var(--dim); text-transform: uppercase; }
.game-tagline { font-size: 14px; color: #cfdcf1; margin: 8px 0 12px; min-height: 44px; }
.game-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--sub); }
.game-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }

/* ---------------- 资讯 ---------------- */
.news-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; }
.news-feature {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); min-height: 330px; display: flex; align-items: flex-end;
  cursor: pointer; transition: transform .3s var(--ease), border-color .3s;
}
.news-feature:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.news-feature .f-bg { position: absolute; inset: 0; }
.news-feature .f-bg canvas { width: 100%; height: 100%; display: block; }
.news-feature .f-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 12, 24, .96) 6%, rgba(6, 12, 24, .35) 60%, transparent); }
.news-feature .f-body { position: relative; z-index: 2; padding: 26px; }
.news-feature h3 { font-size: clamp(19px, 2.2vw, 26px); margin: 12px 0 10px; }
.news-feature p { color: #c3d1e8; font-size: 14px; max-width: 620px; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: flex; gap: 14px; padding: 16px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(12, 21, 40, .6); cursor: pointer;
  transition: transform .26s var(--ease), border-color .26s, background .26s;
}
.news-item:hover { transform: translateX(6px); border-color: var(--line-strong); background: rgba(18, 30, 54, .78); }
.news-item .n-date { flex-shrink: 0; text-align: center; width: 54px; }
.news-item .n-date b { display: block; font-size: 20px; color: var(--gold-soft); line-height: 1.1; }
.news-item .n-date span { font-size: 11px; color: var(--dim); }
.news-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .n-meta { font-size: 12px; color: var(--dim); display: flex; gap: 12px; align-items: center; }

.news-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background: rgba(12, 21, 40, .66); cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: 0 26px 50px rgba(0, 0, 0, .45); }
.news-card .c-top { position: relative; aspect-ratio: 16 / 9; }
.news-card .c-top canvas { width: 100%; height: 100%; display: block; }
.news-card .c-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card h3 { font-size: 16.5px; margin: 10px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { font-size: 13.5px; color: var(--sub); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .c-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }

.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-tabs button {
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--sub);
  transition: .22s var(--ease);
}
.cat-tabs button:hover { color: var(--txt); border-color: var(--line-strong); }
.cat-tabs button.on { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #241503; border-color: transparent; font-weight: 700; }

/* ---------------- 详情页 ---------------- */
.page-head { padding: calc(var(--nav-h) + 54px) 0 40px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 20% 0%, rgba(74, 144, 226, .2), transparent 65%),
              radial-gradient(600px 320px at 82% 10%, rgba(255, 179, 92, .14), transparent 62%);
  pointer-events: none;
}
.page-head h1 { font-size: clamp(26px, 4vw, 44px); position: relative; }
.page-head .sub { color: var(--sub); margin-top: 14px; max-width: 720px; position: relative; }
.crumb { font-size: 12.5px; color: var(--dim); margin-bottom: 14px; position: relative; display: flex; gap: 8px; }
.crumb a:hover { color: var(--pri-soft); }

.article { max-width: 860px; }
.article-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-head h1 { font-size: clamp(23px, 3.4vw, 34px); line-height: 1.34; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); margin-top: 16px; }
.article-body { font-size: 15.5px; line-height: 2; color: #d3ddf0; }
.article-body p { margin: 0 0 18px; }
.article-body h4 { margin: 30px 0 14px; font-size: 18px; color: #fff; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 12px; margin: 18px 0; }
.article-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; flex-wrap: wrap; }
.article-nav a { max-width: 46%; color: var(--sub); }
.article-nav a:hover { color: var(--pri-soft); }

/* ---------------- 关于我们 ---------------- */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.about-hero .quote { font-size: clamp(19px, 2.4vw, 27px); line-height: 1.7; font-weight: 600; }
.about-hero .quote span { color: var(--gold-soft); }
.about-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; position: relative; }
.about-visual canvas { width: 100%; height: 100%; display: block; }
.about-text { font-size: 15.5px; line-height: 2.1; color: #cdd9ec; }
.about-text p { margin-bottom: 18px; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.value-card { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12, 21, 40, .6); transition: transform .3s var(--ease), border-color .3s; }
.value-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.value-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255, 179, 92, .22), rgba(74, 144, 226, .22)); border: 1px solid var(--line); }
.value-card h4 { font-size: 16px; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--sub); }

.engine-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
  padding: 38px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(20, 40, 78, .7), rgba(58, 34, 12, .45));
}
.engine-box h3 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 14px; }
.engine-box p { color: #cbd7ea; }
.engine-visual { aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.engine-visual canvas { width: 100%; height: 100%; display: block; }

/* ---------------- 发展历程 ---------------- */
.timeline { position: relative; padding: 18px 0 10px; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 40px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 44px; }
.tl-card {
  position: relative; padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(12, 21, 40, .72);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tl-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 22px 46px rgba(0, 0, 0, .42); }
.tl-item::after {
  content: ''; position: absolute; top: 26px; right: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 179, 92, .18), 0 0 18px rgba(255, 179, 92, .6);
}
.tl-item:nth-child(even)::after { right: auto; left: -7px; }
.tl-year { font-size: 22px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--gold-soft), var(--pri-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-date { font-size: 12px; color: var(--dim); letter-spacing: 2px; margin-left: 8px; }
.tl-card h4 { font-size: 16.5px; margin: 10px 0 10px; }
.tl-card p { font-size: 13.5px; color: var(--sub); }

/* ---------------- 招聘 ---------------- */
.job-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.job-filters select, .job-filters input {
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(10, 18, 35, .85); font-size: 13.5px; outline: none; min-width: 130px;
}
.job-filters select:focus, .job-filters input:focus { border-color: var(--pri); }
.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-row {
  display: grid; grid-template-columns: 1.35fr .9fr .8fr auto; gap: 18px; align-items: center;
  padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(12, 21, 40, .64); cursor: pointer;
  transition: transform .26s var(--ease), border-color .26s, background .26s;
}
.job-row:hover { transform: translateX(6px); border-color: var(--line-strong); background: rgba(18, 30, 54, .8); }
.job-row h3 { font-size: 16.5px; }
.job-row .j-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.job-row .j-tags span { font-size: 11.5px; padding: 2px 9px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--sub); }
.job-row .j-salary { color: var(--gold-soft); font-weight: 700; font-size: 15px; }
.job-row .j-loc { font-size: 13px; color: var(--sub); }
.job-row .j-arrow { color: var(--dim); font-size: 18px; transition: transform .26s; }
.job-row:hover .j-arrow { transform: translateX(4px); color: var(--pri-soft); }

.job-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.job-block { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12, 21, 40, .6); }
.job-block h4 { font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.job-block h4::before { content: ''; width: 3px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), var(--pri)); }
.job-block ul { margin: 0; padding-left: 20px; color: #c8d5e9; font-size: 14.5px; }
.job-block li { margin-bottom: 9px; line-height: 1.9; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--sub); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(10, 18, 35, .85);
  font-size: 14px; outline: none; transition: .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(74, 144, 226, .16); }
.field .hint { font-size: 12px; color: var(--dim); margin-top: 6px; }
.field-full { grid-column: 1 / -1; }
.file-drop {
  padding: 20px; border-radius: 12px; text-align: center; cursor: pointer;
  border: 1px dashed var(--line-strong); background: rgba(10, 18, 35, .5);
  font-size: 13.5px; color: var(--sub); transition: .2s;
}
.file-drop:hover { border-color: var(--pri); color: var(--txt); }
.file-drop.has { border-style: solid; border-color: var(--ok); color: var(--ok); }

/* ---------------- 联系我们 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 18px;
  background: linear-gradient(135deg, rgba(255, 179, 92, .18), rgba(74, 144, 226, .18)); border: 1px solid var(--line); }
.contact-item h4 { font-size: 14.5px; margin-bottom: 5px; }
.contact-item p { font-size: 13.5px; color: var(--sub); }
.map-box { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; }
.map-box canvas { width: 100%; height: 100%; display: block; }

/* ---------------- 个人中心 ---------------- */
.uc-layout { display: grid; grid-template-columns: 252px 1fr; gap: 26px; align-items: start; }
.uc-side { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12, 21, 40, .68); position: sticky; top: calc(var(--nav-h) + 22px); }
.uc-user { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.uc-user img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 2px solid var(--line-strong); background: #16233d; }
.uc-user b { display: block; font-size: 16px; }
.uc-user span { font-size: 12.5px; color: var(--dim); }
.uc-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--sub); }
.uc-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--txt); }
.uc-nav a.on { background: linear-gradient(90deg, rgba(255, 179, 92, .16), transparent); color: var(--gold-soft); font-weight: 600; }
.uc-main { display: flex; flex-direction: column; gap: 22px; }
.uc-panel { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12, 21, 40, .64); }
.uc-panel h3 { font-size: 17px; margin-bottom: 20px; }
.uc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 22px; }
.uc-stat { padding: 18px; border-radius: 13px; border: 1px solid var(--line); background: rgba(10, 18, 35, .6); }
.uc-stat b { display: block; font-size: 24px; color: var(--gold-soft); }
.uc-stat span { font-size: 12.5px; color: var(--sub); }
.uc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.uc-table th, .uc-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.uc-table th { color: var(--dim); font-weight: 500; font-size: 12.5px; }
.uc-table tr:last-child td { border-bottom: none; }
.status-pill { padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-pending { background: rgba(255, 179, 92, .16); color: var(--gold-soft); }
.status-review { background: rgba(74, 144, 226, .18); color: var(--pri-soft); }
.status-pass { background: rgba(78, 201, 165, .18); color: var(--ok); }
.status-reject { background: rgba(255, 111, 145, .16); color: var(--rose); }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination button {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--sub);
  cursor: pointer; transition: .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--pri); color: var(--txt); }
.pagination button.on { background: linear-gradient(135deg, var(--pri), var(--pri-soft)); color: #04101f; border-color: transparent; font-weight: 700; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------------- 弹窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-mask { position: absolute; inset: 0; background: rgba(4, 8, 18, .78); backdrop-filter: blur(8px); animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.modal-box {
  position: relative; z-index: 2; width: 100%; max-width: 440px; max-height: 88vh; overflow: auto;
  padding: 32px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 33, 60, .98), rgba(11, 19, 36, .99));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal-wide { max-width: 780px; padding: 34px 36px; }
.modal-close {
  position: absolute; top: 16px; right: 18px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--sub);
  font-size: 19px; line-height: 1; cursor: pointer; transition: .2s;
}
.modal-close:hover { color: var(--txt); border-color: var(--rose); transform: rotate(90deg); }
.auth-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(255, 255, 255, .04); margin-bottom: 18px; }
.auth-tabs button { flex: 1; padding: 10px; border: none; border-radius: 9px; background: none; color: var(--sub); font-size: 14px; font-weight: 600; cursor: pointer; transition: .22s; }
.auth-tabs button.on { background: linear-gradient(135deg, var(--pri), var(--pri-soft)); color: #04101f; }
.auth-welcome { font-size: 13px; color: var(--dim); margin-bottom: 18px; text-align: center; }
.auth-form label { display: block; font-size: 13px; color: var(--sub); margin-bottom: 14px; }
.auth-form input[type=text], .auth-form input[type=password], .auth-form input[type=email] {
  width: 100%; margin-top: 7px; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(9, 16, 30, .9); font-size: 14px; outline: none; transition: .2s;
}
.auth-form input:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(74, 144, 226, .16); }
.auth-check { display: flex !important; align-items: center; gap: 9px; font-size: 12.5px; color: var(--sub); }
.auth-check input { accent-color: var(--gold); width: 15px; height: 15px; }
.auth-msg { font-size: 13px; margin-top: 12px; min-height: 20px; text-align: center; }
.auth-msg.err { color: var(--rose); }
.auth-msg.ok { color: var(--ok); }

/* ---------------- 提示 ---------------- */
.toast-wrap { position: fixed; top: 84px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  min-width: 220px; max-width: 340px; padding: 13px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(14, 23, 42, .97);
  box-shadow: var(--shadow-sm); font-size: 13.5px;
  animation: slideIn .3s var(--ease);
}
.toast.ok { border-color: rgba(78, 201, 165, .5); }
.toast.err { border-color: rgba(255, 111, 145, .5); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
.toast.out { animation: slideOut .3s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------------- 搜索面板 ---------------- */
.search-panel {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 58;
  background: rgba(8, 14, 28, .97); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); max-height: 70vh; overflow: auto;
  animation: fadeIn .2s var(--ease);
}
.search-panel-inner { max-width: 1360px; margin: 0 auto; padding: 26px; }
.search-group { margin-bottom: 22px; }
.search-group h5 { font-size: 12.5px; color: var(--dim); letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; }
.search-hit { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.search-hit:hover { background: rgba(255, 255, 255, .05); }
.search-hit b { font-size: 14px; font-weight: 600; }
.search-hit span { font-size: 12.5px; color: var(--dim); }

/* ---------------- 页脚 ---------------- */
.foot { margin-top: 60px; border-top: 1px solid var(--line); background: rgba(8, 14, 28, .8); }
.foot-inner {
  max-width: 1360px; margin: 0 auto; padding: 52px 26px 34px;
  display: grid; grid-template-columns: 1.15fr 2fr; gap: 40px;
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand b { font-size: 16px; letter-spacing: .6px; }
.foot-brand p { font-size: 12.5px; color: var(--dim); margin-top: 6px; letter-spacing: 1px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 13.5px; margin-bottom: 14px; color: var(--txt); }
.foot-cols a, .foot-static { display: block; font-size: 13px; color: var(--dim); margin-bottom: 9px; }
.foot-cols a:hover { color: var(--pri-soft); }
.foot-bottom {
  max-width: 1360px; margin: 0 auto; padding: 18px 26px 26px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px;
  font-size: 12.5px; color: var(--dim); flex-wrap: wrap;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- 载入与骨架 ---------------- */
.loading { display: flex; align-items: center; justify-content: center; padding: 80px 0; gap: 12px; color: var(--dim); font-size: 14px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .18); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =============================================================
   3D 序章
   ============================================================= */
.intro { position: fixed; inset: 0; z-index: 300; background: #05080f; overflow: hidden; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(4, 7, 14, .55) 100%);
  transition: opacity .8s var(--ease);
}
.intro-ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 38px 34px; }
.intro-brand { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: 3px; color: rgba(255, 255, 255, .82); text-transform: uppercase; }
.intro-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: pulse 2.4s infinite; }
.intro-hint {
  position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px;
  background: rgba(8, 14, 26, .55); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); font-size: 13.5px; color: #e6eefc;
  animation: floatY 3.4s ease-in-out infinite;
}
.intro-hint .hint-icon {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #241503; font-size: 10px; padding-left: 2px;
}
@keyframes floatY { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -9px); } }
.intro-actions { display: flex; gap: 14px; justify-content: flex-end; pointer-events: auto; margin-top: auto; }
.intro-loading {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(230, 238, 252, .8);
  letter-spacing: 1px;
}
.intro-loading span { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--gold); border-radius: 50%; animation: spin .9s linear infinite; }
.intro.gone { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.intro.fade-ui .intro-ui { opacity: 0; transition: opacity .5s var(--ease); }
.intro-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 220px 60px rgba(0, 0, 0, .7); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) {
  .nav-search { display: none; }
  .about-hero, .engine-box, .contact-grid, .job-detail-grid, .news-layout { grid-template-columns: 1fr; }
  .uc-layout { grid-template-columns: 1fr; }
  .uc-side { position: static; }
}
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 18px 22px;
    background: rgba(8, 14, 28, .98); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .26s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a { padding: 13px 14px; font-size: 15px; }
  .nav-toggle { display: flex; }
  .foot-inner { grid-template-columns: 1fr; gap: 26px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 30px 34px; }
  .tl-item::after, .tl-item:nth-child(even)::after { left: 1px; right: auto; }
  .hero-thumbs { display: none; }
  .hero-dots { left: 26px; bottom: 30px; }
  .hero-scroll { display: none; }
  .job-row { grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding: 56px 0; }
  .brand-text i { display: none; }
  .modal { padding: 12px; }
  .modal-box { padding: 24px 20px; }
  .modal-wide { padding: 26px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .intro-ui { padding: 20px; }
  .intro-actions { justify-content: center; }
  .intro-hint { font-size: 12.5px; padding: 9px 15px; bottom: 96px; }
  .hero { min-height: 520px; height: auto; padding: 120px 0 90px; }
  .hero-content { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
