/* =========================================================
 *  星核工作室官网 · 样式
 *  视觉语言：暖纸底 + 墨黑 + 朱砂红，衬线标题 + 等宽标注，
 *  直角细线与印刷硬阴影。主色变量集中在 :root，改一处全局换肤。
 * ========================================================= */

:root {
  --paper: #F2EFE6;        /* 页面底色：暖纸 */
  --paper-2: #FAF8F1;      /* 卡片底色 */
  --paper-dark: #E9E4D6;   /* 交替区块底色 */
  --ink: #1A1814;          /* 墨黑 */
  --ink-soft: #6B6659;     /* 次要文字 */
  --line: rgba(26, 24, 20, 0.18);   /* 细线 */
  --red: #D8432C;          /* 朱砂红（唯一强调色） */
  --coal: #17140F;         /* 页脚/订阅横幅的深墨底 */
  --coal-soft: #A39C8C;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Noto Serif JP", "Yu Mincho", "Noto Serif KR", "Batang", "STZhongsong", "SimSun", serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --header-h: 68px;
  --shadow-hard: 6px 6px 0 var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--paper); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- 按钮：直角、墨线，无渐变无发光 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.15s;
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-line {
  background: transparent;
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-small { padding: 7px 18px; font-size: 12px; }

/* =========================================================
 * 顶部导航：纸底墨线
 * ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--ink), 0 8px 24px rgba(26, 24, 20, 0.08); }
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  border-radius: 2px;
}
.logo-text {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 1.15;
}
.logo-text em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--ink-soft);
}
.nav { display: flex; gap: 26px; }
.nav-link {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); border-bottom-color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 9px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 语言切换 ---------- */
.nav-right { display: flex; align-items: center; gap: 24px; }
.lang-switch { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  display: none;
  z-index: 120;
}
.lang-switch.open .lang-menu { display: block; }
.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.lang-opt:hover { background: var(--paper-dark); color: var(--ink); }
.lang-opt.active { color: var(--ink); }
.lang-code {
  width: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}
.lang-check { margin-left: auto; color: var(--red); opacity: 0; }
.lang-opt.active .lang-check { opacity: 1; }

/* =========================================================
 * 首屏：编辑风大字排版
 * ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 0;
  background: var(--paper);
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--red);
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  margin-bottom: 34px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 2px;
  max-width: 20em;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}
.hero-sub {
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 16px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* 首屏焦点卡片：印刷硬阴影 */
.feature-card {
  margin: 60px 0 76px;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.feature-cover {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--ink);
  min-height: 230px;
}
.feature-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 130px;
  line-height: 1;
}
.feature-code {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.75;
}
.feature-info { padding: 30px 36px; display: flex; flex-direction: column; justify-content: center; }
.feature-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 12px;
}
.feature-info h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
}
.feature-info h3 em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 2px;
  margin-left: 12px;
}
.feature-info p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 12px 0 18px;
  max-width: 560px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-link {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  width: fit-content;
  padding-bottom: 2px;
}

/* 滚动播报条 */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 13px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
 * 数据速览：一行档案
 * ========================================================= */
.stats-band { border-bottom: 1px solid var(--ink); background: var(--paper); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 24px;
}
.stat { padding: 0 34px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.1;
}
.stat-unit { font-size: 16px; font-weight: 600; margin-left: 4px; color: var(--ink-soft); }
.stat p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* =========================================================
 * 通用 Section：编号 + 衬线标题
 * ========================================================= */
.section { padding: 104px 0; }
.section-alt {
  background: var(--paper-dark);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.section-head { margin-bottom: 48px; }
.section-index {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 3px;
}
.section-desc { color: var(--ink-soft); margin-top: 12px; max-width: 560px; }

/* 筛选：细线方标 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 22px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}
.filter-btn:hover { background: rgba(26, 24, 20, 0.08); }
.filter-btn.active { background: var(--ink); color: var(--paper); }

/* =========================================================
 * 游戏卡片
 * ========================================================= */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.game-card {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard);
}
.game-cover {
  position: relative;
  height: 215px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--ink);
}
.game-cover::before {
  /* 内缩细框，印刷封面感 */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid currentColor;
  opacity: 0.28;
  pointer-events: none;
}
.game-cover-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 104px;
  line-height: 1;
}
.game-cover-code {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.75;
}
.game-cover-genre {
  position: absolute;
  bottom: 20px;
  left: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.75;
}
.status-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.status-badge i { width: 8px; height: 8px; border-radius: 50%; }
.status-released i { background: #2E7D4F; }
.status-developing i { background: #C07A18; }
.status-coming i { background: var(--red); }

.game-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.game-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 1px;
}
.game-title em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 2px;
  margin-top: 4px;
}
.game-desc {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 14px 0 18px;
  flex: 1;
}
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.game-tags span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 2px 10px;
  border-radius: 2px;
}
.game-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.game-price { color: var(--red); font-weight: 600; }
.game-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.game-rating { color: var(--red); font-weight: 600; }

/* =========================================================
 * 动态与更新：档案列表
 * ========================================================= */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  border-top: 1px solid var(--ink);
  padding: 28px 10px;
  transition: background 0.2s;
}
.news-item:last-child { border-bottom: 1px solid var(--ink); }
.news-item:hover { background: rgba(26, 24, 20, 0.035); }
.news-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
}
.news-side time { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.news-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 2px 10px;
  border-radius: 2px;
}
.news-type i { width: 8px; height: 8px; border-radius: 50%; }
.news-type-notice i { background: var(--ink); }
.news-type-update i { background: var(--red); }
.news-type-devlog i { background: #C07A18; }
.news-type-event i { background: #2E7D4F; }
.news-type-milestone i { background: #31589E; }
.news-type-recruit i { background: #8A4E9E; }
.news-game { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--ink-soft); }
.news-main h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  transition: color 0.2s;
}
.news-item:hover .news-main h3 { color: var(--red); }
.news-main p { color: var(--ink-soft); font-size: 14px; margin: 8px 0 12px; max-width: 720px; }
.news-more {
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding: 0 0 2px;
}
.news-more:hover { color: var(--red); }
.news-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 48px 0;
  font-family: var(--mono);
  font-size: 14px;
}

/* =========================================================
 * 关于我们
 * ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p { color: var(--ink-soft); margin-top: 18px; }
.about-points { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.about-points li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.about-points span {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-card {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 24px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.about-card-no {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--ink);
  border-radius: 2px;
  margin-bottom: 14px;
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}
.about-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.about-card p { font-size: 13px; color: var(--ink-soft); }

/* =========================================================
 * 招聘：档案行
 * ========================================================= */
.jobs-list { display: flex; flex-direction: column; }
.job-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 24px 10px;
  transition: background 0.2s;
}
.job-row:last-child { border-bottom: 1px solid var(--ink); }
.job-row:hover { background: rgba(26, 24, 20, 0.035); }
.job-no {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
}
.job-info h3 { font-family: var(--serif); font-size: 19px; font-weight: 900; }
.job-info p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.job-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.job-tags span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 3px 12px;
  border-radius: 2px;
}
.jobs-note { margin-top: 28px; color: var(--ink-soft); font-size: 14px; }
.jobs-note a { color: var(--red); border-bottom: 1px solid var(--red); }

/* =========================================================
 * 订阅横幅：深墨底
 * ========================================================= */
.subscribe-band {
  background: var(--coal);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 88px 0;
}
.subscribe-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.subscribe-band .section-title { color: var(--paper); }
.subscribe-band .section-desc { color: var(--coal-soft); }
.subscribe-form { display: flex; gap: 12px; flex-wrap: wrap; }
.subscribe-form input {
  width: 320px;
  max-width: 70vw;
  padding: 13px 20px;
  border-radius: 2px;
  border: 1px solid rgba(242, 239, 230, 0.4);
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe-form input::placeholder { color: var(--coal-soft); }
.subscribe-form input:focus { border-color: var(--paper); }
.subscribe-band .btn-solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.subscribe-band .btn-solid:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--red);
}
.subscribe-msg { width: 100%; color: var(--paper); font-size: 14px; font-family: var(--mono); min-height: 22px; }

/* =========================================================
 * 联系我们
 * ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-block {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 30px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-block:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.contact-block h3 { font-family: var(--serif); font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.contact-block p { color: var(--ink-soft); font-size: 13px; margin-bottom: 12px; }
.contact-block a { font-family: var(--mono); font-size: 14px; color: var(--red); border-bottom: 1px solid var(--red); }

/* =========================================================
 * 页脚：深墨底
 * ========================================================= */
.site-footer {
  background: var(--coal);
  color: var(--paper);
  padding-top: 72px;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 4px;
}
.footer-slogan { color: var(--coal-soft); font-size: 14px; margin: 14px 0 22px; max-width: 300px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border: 1px solid rgba(242, 239, 230, 0.35);
  border-radius: 2px;
  color: var(--coal-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--coal-soft);
  margin-bottom: 8px;
}
.footer-col a { color: var(--coal-soft); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(242, 239, 230, 0.18);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--coal-soft);
  font-family: var(--mono);
  font-size: 12px;
}

/* =========================================================
 * 弹窗：纸面档案
 * ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s, visibility 0.22s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-mask { position: absolute; inset: 0; background: rgba(26, 24, 20, 0.55); }
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: 12px 12px 0 rgba(26, 24, 20, 0.35);
  padding: 38px 42px;
  transform: translateY(14px);
  transition: transform 0.22s;
}
.modal.open .modal-card { transform: translateY(0); }
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
}
.modal-close:hover { background: var(--ink); color: var(--paper); }
#modalContent h2 { font-family: var(--serif); font-size: 26px; font-weight: 900; margin: 14px 0 8px; }
.modal-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--ink-soft); margin-bottom: 16px; }
.modal-summary {
  color: var(--ink-soft);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}
.modal-heading {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--red);
  margin: 26px 0 12px;
}
.modal-list { list-style: none; display: grid; gap: 10px; }
.modal-list li {
  color: var(--ink-soft);
  font-size: 14px;
  display: flex;
  gap: 12px;
}
.modal-list li::before { content: "—"; color: var(--ink); flex-shrink: 0; }

/* =========================================================
 * 回到顶部 / 滚动动画
 * ========================================================= */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s, color 0.2s;
  z-index: 90;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--ink); color: var(--paper); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
 * 响应式
 * ========================================================= */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-top: none;
    border-radius: 0 0 0 2px;
    padding: 10px 26px 18px;
    transform: translateX(110%);
    transition: transform 0.3s;
  }
  .nav.open { transform: none; }
  .nav-link { padding: 10px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-link.active { border-bottom-color: var(--red); }
  .nav-toggle { display: flex; }
  .nav-right { gap: 14px; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-cover { border-right: none; border-bottom: 1px solid var(--ink); min-height: 170px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .news-item { grid-template-columns: 1fr; gap: 14px; }
  .news-side { flex-direction: row; align-items: center; gap: 12px; }
  .job-row { grid-template-columns: 1fr; gap: 12px; }
  .job-no { display: none; }
  .job-tags { justify-content: flex-start; }
  .subscribe-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .about-cards { grid-template-columns: 1fr; }
  .modal-card { padding: 28px 22px; }
  .stat-num { font-size: 36px; }
  .feature-card { margin: 44px 0 56px; }
  .feature-mark { font-size: 96px; }
  .logo-text { font-size: 16px; letter-spacing: 1px; }
  .logo-text em { display: none; }
  .lang-btn { padding: 6px 8px; }
}

@media (max-width: 420px) {
  .logo-text { display: none; }
  .nav-right { gap: 10px; }
}

/* =========================================================
 *  多页面版新增样式
 * ========================================================= */

/* ---------- 内页页头 ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 44px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.breadcrumb span { color: var(--ink); }

/* ---------- 更多链接 ---------- */
.more-row { display: flex; justify-content: flex-end; margin-top: 30px; }
.more-link {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.more-link:hover { color: var(--red); }

/* ---------- 作品详情页 ---------- */
.detail { padding-top: 64px; }
.detail-head {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: start;
}
.detail-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.detail-cover .game-cover-code {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.75;
}
.detail-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 170px;
  line-height: 1;
}
.detail-info { padding-top: 4px; }
.detail-info .status-badge { position: static; margin-bottom: 16px; }
.detail-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 2px;
}
.detail-title em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.detail-genre {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  margin-top: 12px;
}
.detail-desc { color: var(--ink-soft); margin-top: 14px; max-width: 620px; }
.detail-meta {
  margin-top: 22px;
  border-top: 1px solid var(--ink);
}
.detail-meta > div {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-meta dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  flex: 0 0 96px;
  padding-top: 2px;
}
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.detail-tags span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 2px 10px;
  border-radius: 2px;
}
.detail-section { margin-top: 72px; }
.detail-h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.detail-para { color: var(--ink-soft); max-width: 760px; margin-bottom: 14px; }
.feature-list { list-style: none; display: grid; gap: 12px; max-width: 760px; }
.feature-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.feature-list li::before { content: "—"; color: var(--red); font-weight: 600; }
.notfound { text-align: center; padding: 60px 0; }
.notfound h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.notfound p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- 截图画廊 ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.shot-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}
.shot-item:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.shot-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-ph {
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--ink-soft);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  color: var(--ink-soft);
}
.shot-ph-title { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--ink); }
.shot-ph-hint { font-size: 12px; max-width: 260px; line-height: 1.7; }

/* ---------- 视频区 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
}
.video-card {
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper-2);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 0;
}
a.video-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  text-decoration: none;
}
a.video-player:hover { background: var(--red); }
.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--ink);
}
.video-meta h3 { font-family: var(--serif); font-size: 16px; font-weight: 900; }
.video-meta span { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); flex-shrink: 0; }
.video-ph {
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--ink-soft);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  color: var(--ink-soft);
}
.video-ph-play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
}

/* ---------- 图片灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 32px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s, visibility 0.22s;
}
.lightbox.open { visibility: visible; opacity: 1; }
.lb-mask { position: absolute; inset: 0; background: rgba(26, 24, 20, 0.82); }
.lb-body {
  position: relative;
  max-width: min(1020px, 92vw);
  margin: 0;
}
.lb-body img {
  max-width: 100%;
  max-height: 78vh;
  display: block;
  border: 1px solid var(--paper);
  background: var(--ink);
}
.lb-body figcaption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--paper);
  text-align: center;
  padding-top: 12px;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 2px;
  border: 1px solid var(--paper);
  background: rgba(26, 24, 20, 0.6);
  color: var(--paper);
  font-size: 18px;
  transition: background 0.2s, color 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- 多页面版响应式 ---------- */
@media (max-width: 960px) {
  .detail-head { grid-template-columns: 1fr; gap: 30px; }
  .detail-cover { min-height: 260px; }
  .detail-mark { font-size: 130px; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-hero { padding-top: calc(var(--header-h) + 40px); }
  .shot-grid { grid-template-columns: 1fr; }
}
