/* ============================================================
   方块工坊 · 官网样式
   Minecraft 像素方块主题 · 深色系
   ============================================================ */
:root {
  --bg: #0a0d10;
  --bg2: #0e1318;
  --panel: #131a20;
  --panel2: #182129;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .15);
  --grn: #6bd33b;
  --grn2: #9ce36a;
  --grn-dark: #3e8f24;
  --grn-deep: #28610f;
  --gold: #ffc857;
  --blue: #5bb8ff;
  --orange: #ffab5c;
  --purple: #c79bff;
  --text: #e9eef2;
  --muted: #9aa7ad;
  --muted2: #6d7a80;
  --radius: 12px;
  --header-h: 68px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-thumb { background: #26303a; border-radius: 5px; }
body::-webkit-scrollbar-track { background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
code { font-family: var(--mono); background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; font-size: .85em; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--grn); color: #071307; }
:focus-visible { outline: 2px dashed var(--grn); outline-offset: 3px; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- 基础按钮（MC 质感 3D） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; letter-spacing: .05em; text-align: center; white-space: nowrap;
  padding: .82rem 1.7rem; border-radius: 9px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s, color .2s, border-color .2s, filter .2s;
  will-change: transform;
}
.btn-sm  { padding: .48rem 1.1rem; font-size: .86rem; }
.btn-lg  { padding: 1rem 2.2rem; font-size: 1.05rem; }

.btn-green {
  background: linear-gradient(180deg, #85dd4e 0%, #4eae27 100%);
  color: #071607; border-color: var(--grn-deep);
  box-shadow: inset 0 -3px 0 rgba(10, 40, 5, .35), 0 10px 22px -10px rgba(107, 211, 59, .55);
}
.btn-green:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: inset 0 -3px 0 rgba(10,40,5,.3), 0 16px 26px -12px rgba(107,211,59,.65); }
.btn-green:active { transform: translateY(0); box-shadow: inset 0 3px 0 rgba(10,40,5,.3); }

.btn-outline {
  border: 2px solid rgba(233, 238, 242, .35); color: var(--text); background: transparent;
}
.btn-outline:hover { border-color: var(--grn); color: var(--grn2); transform: translateY(-2px); background: rgba(107,211,59,.07); }
.btn-outline:active { transform: none; }

.btn-ghost { border: 2px solid rgba(233, 238, 242, .5); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--grn2); color: var(--grn2); background: rgba(107,211,59,.1); transform: translateY(-2px); }
.btn-ghost:active { transform: none; }

.btn-dark { background: #0b120e; color: #d8ffbd; border-color: #050a06; box-shadow: inset 0 -3px 0 rgba(0,0,0,.5); }
.btn-dark:hover { transform: translateY(-2px); filter: brightness(1.15); }

.btn-ghost-lg { border: 2px solid rgba(10, 40, 10, .45); color: #12300b; background: rgba(255,255,255,.25); }
.btn-ghost-lg:hover { background: #ffffff; transform: translateY(-2px); }

/* ---------- 通用区块 ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.sec-head.left { margin: 0 0 30px; text-align: left; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.35; font-weight: 800; letter-spacing: .01em; margin-bottom: 16px; }
.sec-head p:not(.eyebrow) { color: var(--muted); }
.sec-head.left p:not(.eyebrow) { margin-top: 6px; }

.eyebrow {
  font-family: var(--mono); color: var(--grn); letter-spacing: .22em;
  font-size: .8rem; text-transform: uppercase; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 9px;
}
.sq { width: 9px; height: 9px; background: var(--grn); display: inline-block; box-shadow: inset -2px -2px 0 rgba(0,0,0,.3); flex: none; }

.center { text-align: center; margin-top: 44px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 60;
  background: linear-gradient(180deg, rgba(8,12,15,.92), rgba(8,12,15,.72));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(8, 12, 15, .96); box-shadow: 0 8px 24px rgba(0,0,0,.35); border-bottom-color: rgba(107,211,59,.25); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-cube { filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text em { font-style: normal; font-weight: 800; font-size: 1.12rem; letter-spacing: .06em; }
.brand-text small { font-family: var(--mono); font-size: .58rem; letter-spacing: .42em; color: var(--grn); margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; display: block; padding: .55rem .95rem; font-weight: 600; color: #cdd7dc; font-size: .96rem; transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: 6px; height: 2px;
  background: var(--grn); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav li.active > a { color: var(--grn2); }
.main-nav li.active > a::after { transform: scaleX(1); }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta a::after { display: none; }
.nav-cta .btn { padding: .55rem 1.3rem; font-size: .88rem; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .25s, opacity .25s; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; background:
    radial-gradient(1200px 600px at 75% -10%, rgba(107,211,59,.10), transparent 60%),
    linear-gradient(180deg, #0a160e 0%, #0c1a10 45%, #091008 100%);
  overflow: hidden;
}
.hero-inner { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero-content { position: relative; z-index: 3; padding: 130px 0 190px; }
.hero-eyebrow { font-family: var(--mono); color: var(--grn2); font-size: .86rem; letter-spacing: .2em; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.hero-title { font-size: clamp(2.5rem, 6.5vw, 4.6rem); line-height: 1.15; font-weight: 900; letter-spacing: .01em; margin-bottom: 22px; }
.hero-title .accent {
  background: linear-gradient(100deg, var(--grn2) 10%, var(--grn) 60%, #cdf58f);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 0 40px rgba(107,211,59,.25);
}
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* 漂浮方块 */
.px { position: absolute; z-index: 2; border-radius: 4px;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.22), inset -3px -3px 0 rgba(0,0,0,.28);
  animation: bob 7s ease-in-out infinite; opacity: .85; }
.px1 { width: 30px; height: 30px; left: 8%;  top: 22%; background: #6bd33b; animation-delay: 0s; }
.px2 { width: 18px; height: 18px; left: 16%; top: 58%; background: #c9a06b; animation-delay: 1.2s; }
.px3 { width: 22px; height: 22px; left: 55%; top: 18%; background: #8f7a5a; animation-delay: 2.1s; }
.px4 { width: 14px; height: 14px; left: 68%; top: 55%; background: #57b8e8; animation-delay: 3s; }
.px5 { width: 26px; height: 26px; left: 88%; top: 28%; background: #5a9e35; animation-delay: 1.7s; }
.px6 { width: 12px; height: 12px; right: 6%; bottom: 34%; background: #d7b476; animation-delay: .6s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

/* 方块地形 */
.hero-terrain { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 27vh; z-index: 1; pointer-events: none; }

/* ---------- 数据条 ---------- */
.stats-band { border-top: 1px solid rgba(107,211,59,.2); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0b130d, var(--bg2)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; color: var(--grn2); line-height: 1.2;
  text-shadow: 0 0 26px rgba(107,211,59,.35); }
.stat i { font-style: normal; color: var(--muted); font-size: .92rem; letter-spacing: .06em; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- 左右分栏 ---------- */
.split { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; width: 100%;
  border: 1px solid var(--line2); box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }
.split-media img + .media-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(8,12,14,.85); border: 1px solid var(--line2);
  padding: 6px 14px; border-radius: 8px; font-size: .84rem; display: inline-flex; align-items: center; gap: 8px; color: #dbe6ea; }
.split-media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(107,211,59,.35); border-radius: var(--radius); z-index: -1; }
.split-body > p { color: var(--muted); margin-bottom: 14px; }
.about-band, .news-sec, .contact-sec { background: var(--bg2); }

.feature-list li { display: flex; gap: 12px; margin: 12px 0; color: #c8d3d8; }
.tic { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 6px; background: rgba(107,211,59,.14);
  border: 1px solid rgba(107,211,59,.4); color: var(--grn2); font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; }
.split-body .btn { margin-top: 20px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(107,211,59,.45); box-shadow: 0 22px 44px -18px rgba(0,0,0,.6), 0 0 0 1px rgba(107,211,59,.12); }

/* 作品卡 */
.card-game { display: flex; flex-direction: column; }
.card-cover { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-game:hover .card-cover img { transform: scale(1.07); }
.badge {
  position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; background: rgba(10, 16, 20, .82);
  border: 1px solid var(--line2); color: #eaf0f3; backdrop-filter: blur(4px);
}
.badge-sv { color: #d9ffbe; border-color: rgba(107,211,59,.6); }
.badge-map { color: #d3ecff; border-color: rgba(91,184,255,.6); }
.badge-pack { color: #ecdfff; border-color: rgba(199,155,255,.6); }
.badge-gad { color: #ffe7d1; border-color: rgba(255,171,92,.6); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.16rem; font-weight: 800; letter-spacing: .01em; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.more { font-size: .9rem; color: var(--grn2); font-weight: 700; }
.card-game:hover .more { letter-spacing: .03em; }
.card-lg { flex-direction: row; }
.card-lg .card-cover { flex: 0 0 42%; aspect-ratio: auto; min-height: 100%; }
.card-lg .card-body { padding: 30px; }

/* 状态点 */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.status i { width: 9px; height: 9px; border-radius: 3px; background: var(--muted2); box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.status-published i { background: var(--grn); box-shadow: 0 0 8px rgba(107,211,59,.8); }
.status-maintaining i { background: var(--blue); box-shadow: 0 0 8px rgba(91,184,255,.8); }
.status-dev i { background: var(--gold); box-shadow: 0 0 8px rgba(255,200,87,.8); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.meta-line { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; color: #b9c6cc; font-size: .92rem; }
.dot-on { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--grn); box-shadow: 0 0 8px var(--grn); margin-right: 6px; }
.footnote { text-align: center; color: var(--muted2); font-size: .84rem; margin-top: 46px; line-height: 2; }

/* 业务能力卡 */
.services-sec { background: var(--bg2); border-block: 1px solid var(--line); }
.svc { text-align: center; padding: 34px 22px; }
.svc-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-weight: 800; font-size: 1.08rem; letter-spacing: .05em; color: var(--grn2);
  background: linear-gradient(180deg, rgba(107,211,59,.24), rgba(107,211,59,.08));
  border: 1px solid rgba(107,211,59,.45);
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.28), 0 10px 20px -10px rgba(107,211,59,.35);
}
.svc h3, .svc h4 { font-size: 1.08rem; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .93rem; }
.svc:hover { transform: translateY(-5px) rotate(-.3deg); }
.svc.mini { padding: 24px 18px; }

/* ---------- 最新动态 ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item { padding: 24px 26px; border-left: 3px solid var(--line); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
.news-item + .news-item { margin-top: 16px; }
.news-item:hover { border-left-color: var(--grn); background: var(--panel2); }
.news-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.news-date { font-family: var(--mono); color: var(--muted2); font-size: .82rem; letter-spacing: .04em; }
.news-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.news-item p { color: var(--muted); font-size: .92rem; }

/* 标签 */
.tag { display: inline-block; padding: 2px 10px; border-radius: 5px; font-size: .76rem; font-weight: 600;
  background: rgba(107,211,59,.12); border: 1px solid rgba(107,211,59,.35); color: var(--grn2); }
.news-meta .tag { padding: 1px 9px; }

/* ---------- CTA 横幅 ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, #6fce3e, #4eae27 60%, #3a8f1d);
  padding: 84px 0; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; width: 200px; height: 200px; border: 10px solid rgba(255,255,255,.12); }
.cta-band::before { left: -70px; bottom: -70px; border-radius: 12px; }
.cta-band::after { right: -70px; top: -70px; border-radius: 12px; }
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { color: #0a1f07; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; margin-bottom: 12px; }
.cta-inner p { color: rgba(10, 31, 7, .82); font-size: 1.06rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 内页 Hero ---------- */
.page-hero { position: relative; background:
    radial-gradient(900px 420px at 80% -20%, rgba(107,211,59,.12), transparent 60%),
    linear-gradient(180deg, #0d1910 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line); padding: 90px 0 76px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: .02em; margin-bottom: 16px; }
.page-hero p:not(.eyebrow) { color: var(--muted); max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.filter-btn {
  padding: .55rem 1.5rem; border-radius: 8px; font-size: .94rem; font-weight: 700; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line2); transition: all .2s; letter-spacing: .04em;
}
.filter-btn:hover { color: var(--text); border-color: rgba(107,211,59,.5); transform: translateY(-2px); }
.filter-btn.is-active { background: linear-gradient(180deg, #85dd4e, #4eae27); color: #071607; border-color: var(--grn-deep);
  box-shadow: inset 0 -3px 0 rgba(10,40,5,.3); }
.card.is-hide { display: none; }
.game-grid { row-gap: 34px; }

/* ---------- 关于页 ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.story-text p { color: #bfc9ce; margin-bottom: 16px; }
.quote { border-left: 3px solid var(--grn); background: var(--panel); padding: 20px 26px; margin-top: 24px;
  border-radius: 0 var(--radius) var(--radius) 0; color: #e6edf0; font-size: 1.06rem; }
.quote span { display: block; margin-top: 10px; color: var(--grn2); font-size: .88rem; }

.honors { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 14px; }
.honors h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(107,211,59,.25); }
.timeline li { position: relative; padding: 0 0 24px 34px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 4px;
  background: linear-gradient(135deg, var(--grn2), var(--grn)); box-shadow: inset -3px -3px 0 rgba(0,0,0,.25); }
.timeline b { display: block; font-family: var(--mono); color: var(--grn2); font-size: .92rem; letter-spacing: .08em; }
.timeline p { color: var(--muted); font-size: .93rem; }

.team-sec { background: var(--bg2); border-block: 1px solid var(--line); }
.team { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.team-head { display: flex; gap: 16px; align-items: center; }
.avatar { flex: none; width: 58px; height: 58px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; color: rgba(0,0,0,.75); box-shadow: inset -4px -4px 0 rgba(0,0,0,.22), 0 10px 18px -8px rgba(0,0,0,.5); }
.avatar-c1 { background: #8fd65c; } .avatar-c2 { background: #7cc6ff; } .avatar-c3 { background: #ffd07a; }
.avatar-c4 { background: #ff9d76; } .avatar-c5 { background: #d9a6ff; } .avatar-c6 { background: #7fe0d6; }
.team-head h3 { font-size: 1.14rem; }
.team-head p { color: var(--muted); font-size: .9rem; }
.team-bio { color: #b9c6cc; font-size: .94rem; flex: 1; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.contact-rows { display: flex; flex-direction: column; }
.c-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 15px 0;
  border-bottom: 1px dashed var(--line2); color: #c6d2d7; }
.c-row b { color: var(--muted); font-weight: 600; font-size: .9rem; }
.c-row a:hover { color: var(--grn2); }

/* ---------- 加入页 ---------- */
.job-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 70px; }
.job { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.job:hover { border-color: rgba(107,211,59,.45); transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(0,0,0,.6); }
.job-head { display: flex; gap: 16px; align-items: center; }
.job-icon { flex: none; width: 46px; height: 46px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(107,211,59,.12); border: 1px solid rgba(107,211,59,.4); color: var(--grn2); font-weight: 800; font-size: .9rem; }
.job-title .dept { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--grn); text-transform: uppercase; }
.job-title h3 { font-size: 1.08rem; }
.job-need { color: var(--muted); font-size: .93rem; flex: 1; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.apply-btn { align-self: flex-start; margin-top: 4px; }
.job:hover .apply-btn { border-color: var(--grn); color: var(--grn2); }

.welfare { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.welfare h3 { margin-bottom: 22px; font-size: 1.3rem; }

.apply-sec { background: var(--bg2); border-top: 1px solid var(--line); }
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-ok, .form-err { padding: 18px 22px; border-radius: 10px; font-weight: 600; margin-bottom: 26px; }
.form-ok { background: rgba(107,211,59,.12); border: 1px solid rgba(107,211,59,.5); color: var(--grn2); }
.form-err { background: rgba(255,120,100,.1); border: 1px solid rgba(255,120,100,.5); color: #ffb3a4; }

.apply-form { display: flex; flex-direction: column; gap: 20px; }
.f-row { display: grid; gap: 20px; }
.f-row.f2 { grid-template-columns: 1fr 1fr; }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field label { font-size: .92rem; color: #cdd8dd; font-weight: 600; }
.f-field label em { color: var(--orange); font-style: normal; }
.f-field input, .f-field select, .f-field textarea {
  font-family: inherit; font-size: .96rem; color: var(--text);
  background: var(--panel); border: 1px solid var(--line2); border-radius: 9px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.f-field textarea { resize: vertical; min-height: 120px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none; border-color: var(--grn); box-shadow: 0 0 0 3px rgba(107,211,59,.18);
}
.f-field select { appearance: auto; }
.f-field input::placeholder, .f-field textarea::placeholder { color: var(--muted2); }
.apply-form .btn { align-self: flex-start; margin-top: 4px; }
.form-note { color: var(--muted2); font-size: .83rem; margin-top: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07090c; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 44px; }
.f-col h4 { font-size: .98rem; margin-bottom: 20px; letter-spacing: .05em; position: relative; padding-left: 14px; }
.f-col h4::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--grn); border-radius: 2px; }
.f-brand p { color: var(--muted); font-size: .9rem; margin: 18px 0 20px; max-width: 330px; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 4px 12px; font-size: .8rem; color: #b9c6cc; background: rgba(255,255,255,.04);
  border: 1px dashed var(--line2); border-radius: 6px; }
.f-links li { margin-bottom: 10px; }
.f-links a, .f-links li { color: var(--muted); font-size: .9rem; transition: color .2s; }
.f-links a:hover { color: var(--grn2); padding-left: 4px; }
.f-links code { background: rgba(255,255,255,.05); }
.f-contact .btn { margin-top: 14px; }

.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--muted2); font-size: .84rem; }
.icp a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted2); transition: color .2s; }
.icp a:hover { color: var(--grn2); }

/* ---------- 滚动显现（无 JS 时始终可见） ---------- */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-lg { flex-direction: column; }
  .card-lg .card-cover { flex: none; aspect-ratio: 16/9; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 59;
    background: rgba(8, 12, 15, .98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s, visibility .3s;
  }
  .site-header.open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 6% 20px; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: .9rem .4rem; font-size: 1rem; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin: 14px 0 0; }
  .main-nav .nav-cta .btn { width: 100%; padding: .9rem; }
}

@media (max-width: 900px) {
  .split, .story { grid-template-columns: 1fr; }
  .split-rev .split-body { order: 0; }
  .split-media::after { display: none; }
  .sec { padding: 70px 0; }
  .page-hero { padding: 64px 0 56px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .job-list { grid-template-columns: 1fr; }
  .f-row.f2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .px1, .px5 { display: none; }
  .hero-content { padding: 100px 0 160px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .job { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .px, .card, .btn, .news-item, .filter-btn { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
