/* ============================================================
   薪火长征路 · 红色精神传承主题官网
   统一设计系统 (Design System)
   配色：中国红 / 军绿 / 复古米黄 / 深灰
   风格：复古国风 + 现代扁平化 · 三端自适应
   ============================================================ */

:root {
  /* 主色板 */
  --c-red:        #b01016;   /* 中国红 */
  --c-red-deep:   #7a0c10;   /* 深红 */
  --c-red-bright: #d62828;   /* 亮红 */
  --c-army:       #4a5d33;   /* 军绿 */
  --c-army-deep:  #33401f;   /* 深军绿 */
  --c-beige:      #f3e9d2;   /* 复古米黄 */
  --c-beige-soft: #faf4e6;   /* 浅米黄 */
  --c-gray:       #2b2b2b;   /* 深灰 */
  --c-gray-soft:  #5a5a5a;
  --c-line:       #e0d4ba;

  /* 字体 */
  --font-title: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-body:  "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;

  /* 阴影与圆角 */
  --shadow: 0 6px 22px rgba(43, 43, 43, .12);
  --shadow-sm: 0 3px 10px rgba(43, 43, 43, .10);
  --radius: 10px;
  --radius-lg: 16px;

  --maxw: 1200px;
}

/* ============ 基础重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-gray);
  background: var(--c-beige-soft);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.3; color: var(--c-gray); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ============ 顶部导航 ============ */
.site-header {
  background-image: linear-gradient(105deg, #b01016 0%, #b01016 42%, #8f0d12 66%, #3d4a2a 100%);
  background-size: 240% 100%;
  background-position: 0% 50%;
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: background-position 1.1s cubic-bezier(.22,.61,.36,1), box-shadow .55s ease;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(243,233,210,.65), transparent);
  opacity: 0; transition: opacity .55s ease; pointer-events: none;
}
.site-header.scrolled {
  background-position: 100% 50%;
  box-shadow: 0 12px 32px rgba(0,0,0,.32);
}
.site-header.scrolled::after { opacity: 1; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .star {
  width: 38px; height: 38px; flex: none;
  background: var(--c-beige); color: var(--c-red);
  display: grid; place-items: center; border-radius: 50%;
  font-size: 20px; box-shadow: inset 0 0 0 2px var(--c-red);
}
.brand .brand-text { line-height: 1.1; }
.brand .brand-text b { font-family: var(--font-title); font-size: 19px; letter-spacing: 1px; }
.brand .brand-text span { font-size: 12px; opacity: .85; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links > li > a {
  color: #fff; padding: 10px 14px; border-radius: 6px;
  font-size: 15px; display: block; transition: background .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active { background: rgba(255,255,255,.16); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.search-box {
  display: flex; align-items: center; background: rgba(255,255,255,.95);
  border-radius: 20px; overflow: hidden;
}
.search-box input {
  border: none; outline: none; padding: 8px 14px; font-size: 14px;
  width: 170px; background: transparent; color: var(--c-gray);
}
.search-box button {
  border: none; background: var(--c-army); color: #fff;
  padding: 8px 14px; cursor: pointer; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.search-box button:hover { background: var(--c-army-deep); }

.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ============ 首屏轮播 ============ */
.hero { position: relative; height: 480px; overflow: hidden; background: var(--c-gray); }
.slides { height: 100%; position: relative; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center; color: #fff;
  background-size: cover; background-position: center;
}
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,43,43,.82), rgba(43,43,43,.35)); }
.slide.active { opacity: 1; }
.slide .slide-inner { position: relative; z-index: 2; width: 100%; }
.slide .tag {
  display: inline-block; background: var(--c-red); color: #fff;
  padding: 6px 16px; border-radius: 20px; font-size: 14px; letter-spacing: 2px; margin-bottom: 18px;
}
.slide h1 { color: #fff; font-size: 46px; letter-spacing: 3px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.slide p { font-size: 18px; margin-top: 14px; max-width: 620px; opacity: .95; }
.slide .btn { margin-top: 26px; }

.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0; opacity: .7;
}
.hero-dots button.active { background: #fff; opacity: 1; }

/* 轮播背景（纯色+纹理替代图片，离线可用） */
.slide-1 { background:
  radial-gradient(circle at 80% 30%, rgba(214,40,40,.55), transparent 40%),
  linear-gradient(135deg, #7a0c10, #2b2b2b); }
.slide-2 { background:
  radial-gradient(circle at 20% 70%, rgba(74,93,51,.6), transparent 45%),
  linear-gradient(135deg, #33401f, #2b2b2b); }
.slide-3 { background:
  radial-gradient(circle at 70% 60%, rgba(243,233,210,.35), transparent 50%),
  linear-gradient(135deg, #b01016, #33401f); }

/* ============ 通用按钮 ============ */
.btn {
  display: inline-block; background: var(--c-red); color: #fff;
  padding: 11px 26px; border-radius: 24px; font-size: 15px; cursor: pointer;
  border: none; transition: transform .15s, background .2s; box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--c-red-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--c-red); }
.btn-army { background: var(--c-army); }
.btn-army:hover { background: var(--c-army-deep); }

/* ============ 区块标题 ============ */
.section { padding: 60px 0; }
.section-alt { background: var(--c-beige); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .kicker { color: var(--c-red); letter-spacing: 4px; font-size: 14px; font-weight: 700; }
.section-head h2 { font-size: 32px; margin: 8px 0 10px; position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; background: var(--c-red);
  margin: 14px auto 0; border-radius: 2px;
}
.section-head p { color: var(--c-gray-soft); max-width: 720px; margin: 0 auto; }

/* ============ 核心速览 ============ */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ov-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); border-top: 5px solid var(--c-red);
  transition: transform .2s;
}
.ov-card:hover { transform: translateY(-6px); }
.ov-card .num { font-family: var(--font-title); font-size: 40px; color: var(--c-red); font-weight: 700; }
.ov-card h3 { font-size: 22px; margin: 6px 0 12px; }
.ov-card p { color: var(--c-gray-soft); font-size: 15px; }

/* ============ 板块入口 ============ */
.boards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.board-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff; box-shadow: var(--shadow);
  transition: transform .2s; cursor: pointer;
}
.board-card:hover { transform: translateY(-6px); }
.board-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78)); }
.board-card .bc-inner { position: relative; z-index: 2; }
.board-card .bc-no { font-family: var(--font-title); font-size: 46px; opacity: .45; line-height: 1; }
.board-card h3 { color: #fff; font-size: 24px; margin: 4px 0 6px; }
.board-card span { font-size: 14px; opacity: .9; }
.board-card.b1 { background: linear-gradient(135deg,#b01016,#7a0c10); }
.board-card.b2 { background: linear-gradient(135deg,#4a5d33,#33401f); }
.board-card.b3 { background: linear-gradient(135deg,#2b2b2b,#4a5d33); }
.board-card.b4 { background: linear-gradient(135deg,#7a0c10,#33401f); }
.board-card.b5 { background: linear-gradient(135deg,#b01016,#4a5d33); }
.board-card.b6 { background: linear-gradient(135deg,#33401f,#2b2b2b); }

/* ============ 新闻动态 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); }
.news-thumb { height: 150px; background: linear-gradient(135deg,var(--c-army),var(--c-red)); position: relative; }
.news-thumb .date {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92);
  color: var(--c-red); padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 700;
}
.news-body { padding: 18px 20px; flex: 1; }
.news-body h4 { font-size: 18px; margin-bottom: 8px; }
.news-body p { color: var(--c-gray-soft); font-size: 14px; }
.news-body .more { color: var(--c-red); font-weight: 700; font-size: 14px; margin-top: 10px; display: inline-block; }

/* ============ 页脚 ============ */
.site-footer { background: var(--c-gray); color: #e8e8e8; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 18px; margin-bottom: 16px; position: relative; padding-left: 12px; }
.footer-grid h4::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--c-red); }
.footer-grid a, .footer-grid p { color: #c9c9c9; font-size: 14px; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-slogan-marquee {
  overflow: hidden; background: var(--c-red-deep); margin-top: 36px; padding: 12px 0;
}
.footer-slogan-marquee .mq-track {
  display: inline-flex; gap: 60px; white-space: nowrap; animation: marquee 22s linear infinite;
  color: #fff; font-family: var(--font-title); letter-spacing: 3px; font-size: 16px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.footer-bottom { text-align: center; padding: 18px 0; color: #9a9a9a; font-size: 13px; border-top: 1px solid #444; }

/* ============ 内页通用 ============ */
.page-hero {
  background: linear-gradient(135deg, var(--c-red), var(--c-red-deep));
  color: #fff; padding: 70px 0 56px; text-align: center;
}
.page-hero .kicker { letter-spacing: 5px; font-size: 14px; opacity: .9; }
.page-hero h1 { color: #fff; font-size: 40px; margin: 10px 0; letter-spacing: 4px; }
.page-hero p { max-width: 760px; margin: 0 auto; opacity: .92; }

.breadcrumb { background: var(--c-beige); font-size: 14px; padding: 12px 0; color: var(--c-gray-soft); }
.breadcrumb a:hover { color: var(--c-red); }

.subnav { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 68px; z-index: 50; }
.subnav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 12px 0; }
.subnav a {
  padding: 8px 18px; border-radius: 20px; font-size: 14px; color: var(--c-gray);
  border: 1px solid transparent; transition: all .2s;
}
.subnav a:hover, .subnav a.active { background: var(--c-red); color: #fff; }

/* 内容卡片 / 文章 */
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card {
  background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--c-army); transition: transform .2s;
}
.article-card:hover { transform: translateY(-4px); }
.article-card.red { border-left-color: var(--c-red); }
.article-card h3 { font-size: 21px; margin-bottom: 10px; }
.article-card .meta { color: var(--c-red); font-size: 13px; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; }
.article-card p { color: var(--c-gray-soft); font-size: 15px; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px;
  background: var(--c-line); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 18px 40px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .dot {
  position: absolute; top: 24px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-red); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--c-red);
}
.tl-item:nth-child(odd) .dot { right: -9px; }
.tl-item:nth-child(even) .dot { left: -9px; }
.tl-card { background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.tl-card .year { color: var(--c-red); font-weight: 700; font-family: var(--font-title); font-size: 18px; }
.tl-card h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-card p { font-size: 14px; color: var(--c-gray-soft); }

/* 数据档案条 */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0; }
.stat { background: var(--c-gray); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; }
.stat .v { font-family: var(--font-title); font-size: 34px; color: var(--c-beige); }
.stat .l { font-size: 14px; opacity: .85; margin-top: 6px; }

/* 人物卡片 */
.person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.person-avatar {
  height: 160px; display: grid; place-items: center; color: #fff; font-size: 60px;
  font-family: var(--font-title);
  background: linear-gradient(135deg, var(--c-army), var(--c-red));
}
.person-card .p-body { padding: 20px; }
.person-card h3 { font-size: 20px; }
.person-card .role { color: var(--c-red); font-size: 13px; font-weight: 700; margin: 4px 0 10px; }
.person-card p { color: var(--c-gray-soft); font-size: 14px; }

/* 题库 / 互动 */
.quiz-box { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.quiz-q { font-family: var(--font-title); font-size: 22px; margin-bottom: 18px; }
.quiz-opt { display: block; padding: 14px 18px; border: 1px solid var(--c-line); border-radius: 8px; margin-bottom: 12px; cursor: pointer; transition: all .2s; }
.quiz-opt:hover { border-color: var(--c-red); background: var(--c-beige-soft); }
.quiz-opt.correct { background: #e7f3e0; border-color: var(--c-army); }
.quiz-opt.wrong { background: #fbe3e3; border-color: var(--c-red); }
.quiz-feedback { margin-top: 14px; font-weight: 700; }
.quiz-next { margin-top: 16px; }

.guestbook { max-width: 820px; margin: 0 auto; }
.guestbook form { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.guestbook input, .guestbook textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; margin-bottom: 14px; outline: none;
}
.guestbook input:focus, .guestbook textarea:focus { border-color: var(--c-red); }
.gb-list .gb-item { background: #fff; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--c-red); }
.gb-item .who { font-weight: 700; color: var(--c-red); }
.gb-item .when { font-size: 12px; color: var(--c-gray-soft); float: right; }
.gb-item p { margin-top: 6px; }

/* 资源下载列表 */
.res-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.res-item { display: flex; align-items: center; gap: 16px; background: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.res-icon { width: 50px; height: 50px; flex: none; border-radius: 10px; background: var(--c-beige); color: var(--c-red); display: grid; place-items: center; font-size: 22px; }
.res-item .r-info b { font-size: 16px; }
.res-item .r-info span { display: block; color: var(--c-gray-soft); font-size: 13px; }
.res-item .btn { margin-left: auto; padding: 8px 18px; font-size: 14px; }

/* 红色游戏入口横幅 */
.game-banner {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center;
  background: linear-gradient(135deg, #7a0c10 0%, #4a1a16 45%, #33401f 100%);
  border-radius: 18px; padding: 34px 36px; color: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.game-banner::before {
  content: "★"; position: absolute; right: 8%; top: -30px; font-size: 200px;
  color: rgba(243,233,210,.06); line-height: 1;
}
.gb-info { position: relative; z-index: 2; }
.gb-tag {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  padding: 4px 12px; border-radius: 20px; font-size: 12px; letter-spacing: 1px; margin-bottom: 12px;
}
.game-banner h3 { color: #fff; font-size: 28px; margin-bottom: 10px; letter-spacing: 1px; }
.game-banner p { color: #f0e2c8; font-size: 15px; margin-bottom: 20px; max-width: 560px; }
.game-banner .btn { background: var(--c-beige); color: var(--c-red-deep); font-weight: 700; }
.game-banner .btn:hover { background: #fff; color: var(--c-red); }
.gb-art { position: relative; z-index: 2; display: grid; place-items: center; }
.gb-art svg { width: 100%; max-width: 240px; height: auto; }

/* ============ 滚动触发动画（可逆 · 克制） ============ */
/* 仅在 JS 就绪后隐藏初始态，避免 JS 失效导致内容不可见 */
.js-reveal .reveal {
  opacity: 0;
  translate: 0 32px;
  transition:
    opacity .85s cubic-bezier(.22,.61,.36,1) var(--d, 0s),
    translate .85s cubic-bezier(.22,.61,.36,1) var(--d, 0s);
}
.js-reveal .reveal.in-view { opacity: 1; translate: 0 0; }

.js-reveal .stagger > * {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .78s cubic-bezier(.22,.61,.36,1) var(--d, 0s),
    translate .78s cubic-bezier(.22,.61,.36,1) var(--d, 0s),
    transform .2s ease 0s; /* 保留卡片 hover 的快速反馈 */
}
.js-reveal .stagger.in-view > * { opacity: 1; translate: 0 0; }

.js-reveal .stagger > *:nth-child(1) { --d: .05s; }
.js-reveal .stagger > *:nth-child(2) { --d: .13s; }
.js-reveal .stagger > *:nth-child(3) { --d: .21s; }
.js-reveal .stagger > *:nth-child(4) { --d: .29s; }
.js-reveal .stagger > *:nth-child(5) { --d: .37s; }
.js-reveal .stagger > *:nth-child(6) { --d: .45s; }
.js-reveal .stagger > *:nth-child(7) { --d: .53s; }
.js-reveal .stagger > *:nth-child(8) { --d: .61s; }

/* 图标轻微缩放 */
.js-reveal .ov-card .num,
.js-reveal .board-card .bc-no {
  scale: .88;
  transition: scale .9s cubic-bezier(.22,.61,.36,1) .22s;
}
.js-reveal .overview-grid.in-view .ov-card .num,
.js-reveal .boards-grid.in-view .board-card .bc-no { scale: 1; }

/* 游戏横幅路线插图轻微放大 */
.js-reveal .gb-art svg {
  scale: .92;
  transition: scale 1s cubic-bezier(.22,.61,.36,1) .18s;
}
.js-reveal .game-banner.in-view .gb-art svg { scale: 1; }

/* 标题下划线轻柔展开 */
.js-reveal .section-head.stagger h2::after {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .8s cubic-bezier(.22,.61,.36,1) .28s;
}
.js-reveal .section-head.stagger.in-view h2::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .js-reveal .reveal,
  .js-reveal .stagger > * { opacity: 1 !important; translate: none !important; transition: none !important; }
  .js-reveal .ov-card .num,
  .js-reveal .board-card .bc-no { scale: 1; transition: none; }
  .js-reveal .section-head.stagger h2::after { transform: none; }
}

/* 黑白悼念模式 */
body.mourning { filter: grayscale(1); }
.mourning-bar { background: var(--c-gray); color: #fff; text-align: center; padding: 6px; font-size: 13px; }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .overview-grid, .boards-grid, .news-grid, .person-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .res-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .slide h1 { font-size: 34px; }
}
@media (max-width: 980px) {
  .game-banner { grid-template-columns: 1fr; padding: 28px; }
  .gb-art { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--c-red-deep); padding: 10px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px; }
  .menu-toggle { display: block; }
  .brand { gap: 8px; }
  .brand .star { width: 32px; height: 32px; font-size: 17px; }
  .brand .brand-text b { font-size: 17px; letter-spacing: 0; white-space: nowrap; }
  .brand .brand-text span { display: none; }
  .search-box input { width: 92px; padding: 7px 10px; font-size: 13px; }
  .search-box button { padding: 7px 10px; font-size: 13px; }
  .hero { height: 360px; }
  .slide h1 { font-size: 26px; }
  .slide p { font-size: 15px; }
  .overview-grid, .boards-grid, .news-grid, .person-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .section-head h2 { font-size: 26px; }
  .timeline::before { left: 18px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 46px; padding-right: 0; }
  .tl-item .dot { left: 10px !important; right: auto !important; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   滚动序章：重走长征路（路线 / 追兵 / 阶段叙事）
   ============================================================ */
#intro {
  position: relative;
  height: 640vh;
  background: #0b0908;
}
.intro-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  color: #f3e9d2;
  background:
    radial-gradient(ellipse at 74% 78%, rgba(150,35,24,.22), transparent 55%),
    radial-gradient(ellipse at 18% 8%, rgba(74,93,51,.16), transparent 50%),
    #0b0908;
}
.intro-map {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
}
.intro-map svg { display: block; width: 100%; height: 100%; }

/* 纸纹：64px 暖色纸屑噪点平铺（不用混合模式与 SVG 滤镜，零额外开销） */
.intro-map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAASDUlEQVR42nWbV3LkVpqFsYIE0iO9I5lMR++LpsgiiyWqbKtUUmvUM9GKie6OftDzrHCW0SvoRQwu4zuMMzdSDwggE8A1vzm/RfI/v72f/Ptf/7tZnLeKc6c48uJYFL+T4lwvjtviulacPxbHqDi6PPd9cTSKe33Oq+IcjkQHYwyKc6k47xdHmXfDvWkYi3k3iiPl/5+K85+Lc5W1hLnHYU3FscWYiZ7nHMYqFfeG3A/zHRdHm6Nl65px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sj3zXU/svzjrTddY1r/EnuCfQtkPppJ2zAXdNNqfB1Tiw0nkJWwz+Gi1KOtxEfEzaXn+Jl3YMTsmvXZMskR95tWj4x7jYUj76yneaZu8dREZ9eaHLcthaXPYZqRKzpiwoWltzy/MCCHMGVzfZB5aB3cLTNtr9HpLQOvcpRlakSt8IM1HWDaS88+3vC2vjv/ctSLjCULFk5Qh3YUmjatL0j5gJ59nuKucmIfX6oAMlzTxJxE3mWZb5OWkXqcknLvWNr8HYw4NICcWuCVc+1fmSrzveWLaJgV0Hc2JXoEy6ZX50jIV1MHpbSulWIL+oWu6vPYktlhJT7U/zu1+L1u6faa5RHHFiN0ePcGoues1bEgsYZrSWbf4o6XT2dFlQsmUTn8nGSHZ1NH/vGD23MaE+tgh0zTVwOeO3S4YVJxaZ/ClP+g68OPW9JoJTZXi2x92z7muEAFj1n3nn1jmGEpynEb/AIRU6/AbvQhkszHeZSvT+wT+I6lt9RouYp0sGx+/dxiEKXXSxHit6Jmi+eynX0W5xi2b+03TrjpGuKW/w+X7MTBApEhtgAAAABJRU5ErkJggg==");
  background-size: 64px 64px; background-repeat: repeat;
  opacity: .34;
}

.intro-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 74% 62% at 0% 100%, rgba(11,9,8,.92) 0%, rgba(11,9,8,.58) 38%, rgba(11,9,8,0) 74%),
    radial-gradient(ellipse at 52% 48%, transparent 40%, rgba(0,0,0,.66) 100%);
  box-shadow: inset 0 0 150px rgba(0,0,0,.85);
}

.intro-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 30px;
}
.intro-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-title); font-size: 17px; letter-spacing: 2px;
}
.intro-brand span { color: #d62828; font-size: 18px; }
.intro-top-right { display: flex; align-items: center; gap: 16px; }
.intro-year { font-family: var(--font-title); font-size: 12px; letter-spacing: 2px; color: rgba(243,233,210,.55); }
.intro-skip {
  background: transparent; border: 1px solid rgba(243,233,210,.32);
  color: #f3e9d2; border-radius: 20px; padding: 7px 16px;
  font-size: 13px; cursor: pointer; letter-spacing: 1px;
  transition: background .25s, border-color .25s;
}
.intro-skip:hover { background: rgba(243,233,210,.12); border-color: rgba(243,233,210,.65); }
.intro-top.dim .intro-skip { opacity: 0; pointer-events: none; transition: opacity .35s ease; }

.intro-note {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  z-index: 6; font-size: 11px; letter-spacing: 2px;
  color: rgba(243,233,210,.35); white-space: nowrap;
}

/* 阶段文字 */
.intro-caps {
  position: absolute; left: 6vw; bottom: 9vh; z-index: 6;
  width: min(440px, 78vw); height: 216px;
  pointer-events: none;
  transition: opacity .45s ease;
}
.intro-cap {
  position: absolute; left: 0; bottom: 0; opacity: 0;
  transition: opacity .28s ease; pointer-events: none;
}
.intro-cap.on { opacity: 1; }

.cap-year {
  font-family: var(--font-title); font-size: 15px; letter-spacing: 4px; color: #e8b45a;
  margin-bottom: 12px; opacity: 0; translate: 0 8px;
  transition: opacity .45s ease, translate .45s ease;
}
.intro-cap.on .cap-year { opacity: 1; translate: 0 0; transition-delay: .06s; }

.cap-rule {
  width: 46px; height: 2px; background: #d62828; margin-bottom: 14px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.intro-cap.on .cap-rule { transform: scaleX(1); transition-delay: .14s; }

.cap-title {
  font-family: var(--font-title); letter-spacing: 2px; line-height: 1.2;
  font-size: clamp(26px, 3.3vw, 40px); color: #fdf6e6; margin-bottom: 10px;
}
.cap-title span {
  display: inline-block; opacity: 0; translate: 0 14px;
  transition: opacity .5s ease, translate .5s cubic-bezier(.22,.61,.36,1);
}
.intro-cap.on .cap-title span { opacity: 1; translate: 0 0; }
.intro-cap.on .cap-title span:nth-child(1) { transition-delay: .20s; }
.intro-cap.on .cap-title span:nth-child(2) { transition-delay: .24s; }
.intro-cap.on .cap-title span:nth-child(3) { transition-delay: .28s; }
.intro-cap.on .cap-title span:nth-child(4) { transition-delay: .32s; }
.intro-cap.on .cap-title span:nth-child(5) { transition-delay: .36s; }
.intro-cap.on .cap-title span:nth-child(6) { transition-delay: .40s; }
.intro-cap.on .cap-title span:nth-child(7) { transition-delay: .44s; }
.intro-cap.on .cap-title span:nth-child(8) { transition-delay: .48s; }
.intro-cap.on .cap-title span:nth-child(n+9) { transition-delay: .52s; }

.cap-text {
  font-size: 14.5px; line-height: 1.85; color: rgba(243,233,210,.72); max-width: 420px;
  opacity: 0; translate: 0 10px;
  transition: opacity .5s ease, translate .5s cubic-bezier(.22,.61,.36,1);
}
.intro-cap.on .cap-text { opacity: 1; translate: 0 0; transition-delay: .5s; }

/* 右侧进度 */
.intro-rail {
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.rail-dots { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.rail-dots i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(243,233,210,.2); transition: all .35s ease;
}
.rail-dots i.done { background: #a32a22; }
.rail-dots i.on { width: 11px; height: 11px; background: #e23b2e; box-shadow: 0 0 12px rgba(226,59,46,.85); }
.rail-count { font-family: var(--font-title); font-size: 12px; letter-spacing: 2px; color: rgba(243,233,210,.45); }
.rail-count b { color: #f3e9d2; font-size: 15px; }

/* 终章 */
.intro-finale {
  position: absolute; inset: 0; z-index: 7;
  display: grid; place-content: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at center, rgba(11,9,8,.95), rgba(11,9,8,.72) 62%, rgba(11,9,8,.2));
  opacity: 0; pointer-events: none; transition: opacity .6s ease;
}
.intro-finale.on { opacity: 1; pointer-events: auto; }
.fin-star { font-size: 36px; color: #e23b2e; text-shadow: 0 0 30px rgba(226,59,46,.65); line-height: 1; }
.fin-year { font-family: var(--font-title); font-size: 15px; letter-spacing: 6px; color: #e8b45a; margin-top: 12px; }
.intro-finale h2 {
  font-family: var(--font-title); letter-spacing: 4px; color: #fdf6e6;
  font-size: clamp(30px, 4.4vw, 52px); margin: 10px 0 14px;
}
.intro-finale p { font-size: 15px; line-height: 1.9; color: rgba(243,233,210,.74); margin-bottom: 26px; }
.fin-btn {
  background: #b01016; color: #fff; border: none; border-radius: 26px;
  padding: 13px 34px; font-size: 15px; letter-spacing: 2px; cursor: pointer;
  box-shadow: 0 12px 34px rgba(176,16,22,.42);
  transition: transform .2s, background .2s;
}
.fin-btn:hover { background: #d62828; transform: translateY(-2px); }

/* 滚动提示 */
.intro-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 2px; color: rgba(243,233,210,.5);
  transition: opacity .5s ease;
}
.intro-hint.hide { opacity: 0; }
.mouse { width: 20px; height: 32px; border: 1.5px solid rgba(243,233,210,.42); border-radius: 11px; position: relative; }
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px;
  margin-left: -1.5px; border-radius: 2px; background: rgba(243,233,210,.8);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50% { transform: translateY(8px); opacity: .15; }
}

/* 序章 SVG —— 暗夜底上的纸本地图质感 */
#introMap .terrain path { fill: none; stroke: #3a2f26; stroke-width: 1.2; opacity: .5; }
#introMap .terrain .faint { opacity: .3; }
#introMap .region path {
  fill: none; stroke: rgba(196, 158, 112, .06); stroke-width: 1;
  stroke-linecap: round;
}
#introMap .rivers path {
  fill: none; stroke: rgba(150, 156, 138, .11); stroke-width: 1.6;
  stroke-linecap: round;
}
#introMap .mtn path {
  fill: url(#reliefGrad); opacity: .46;
}
#introMap .grid line { stroke: #2a2119; stroke-width: 1; opacity: .28; }
#introMap .paper-wash { pointer-events: none; }

/* 站点小红旗 */
.node .flag {
  opacity: 0; transform: scale(.15);
  transform-box: fill-box; transform-origin: 0 100%;
  transition: opacity .4s ease, transform .55s cubic-bezier(.18,.9,.32,1.2);
}
.node.on .flag, .node.done .flag { opacity: 1; transform: scale(1); }
.node.on .flag { transition-delay: .18s; }

/* 行军方向箭头 */
.seg-arrow { opacity: 0; transition: opacity .45s ease; }
.seg-arrow.on { opacity: .55; }
.route-base { fill: none; stroke: #4a3b2a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; }
.route-seg { fill: none; stroke: #e23b2e; stroke-width: 5.5; stroke-linecap: round; filter: url(#routeGlow); }
.node-dot { fill: #0b0908; stroke: #6b5a45; stroke-width: 3; transition: fill .3s, stroke .3s; }
.node-dot.done { fill: #c03227; stroke: #f3e9d2; }
.node-dot.on { fill: #ffd98a; stroke: #e23b2e; stroke-width: 4; }
.node-label {
  font-family: var(--font-title); font-size: 20px; fill: #b9a88e;
  letter-spacing: 1px; transition: fill .3s;
}
.node-label.on { fill: #ffd98a; }
.enemy-path {
  fill: none; stroke: #6b8ea6; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 12 10; opacity: 0;
  marker-end: url(#enemyArrow);
  transition: opacity .7s ease;
}
.enemy-group.show .enemy-path {
  opacity: .7;
  animation: march 1.9s linear infinite, enemyPulse 3.2s ease-in-out infinite;
}
@keyframes march { to { stroke-dashoffset: -44; } }
@keyframes enemyPulse { 0%, 100% { opacity: .55; } 50% { opacity: .85; } }
.enemy-label {
  font-family: var(--font-body); font-size: 13px; fill: #8fb0c4;
  letter-spacing: 1px; opacity: 0; transition: opacity .7s ease;
  paint-order: stroke; stroke: #0b0908; stroke-width: 3.5px; stroke-linejoin: round;
}
.enemy-group.show .enemy-label { opacity: .78; animation: labelPulse 4.2s ease-in-out infinite; }
.enemy-chief {
  font-family: var(--font-title); font-size: 17px; fill: #e8b45a; letter-spacing: 2px;
  paint-order: stroke; stroke: #0b0908; stroke-width: 4.5px; stroke-linejoin: round;
  opacity: 0; transition: opacity .7s ease;
}
.enemy-group.show .enemy-chief { opacity: 1; }
.enemy-fig { opacity: 0; transition: opacity .8s ease .12s; }
.enemy-group.show .enemy-fig { opacity: .95; }

/* 红军行军部队：主官姓名 + 职务 */
.unit-name {
  font-family: var(--font-title); font-size: 23px; fill: #ffe9c0; letter-spacing: 2px;
  paint-order: stroke; stroke: #0b0908; stroke-width: 5.5px; stroke-linejoin: round;
}
.unit-role {
  font-family: var(--font-body); font-size: 15px; fill: rgba(243, 233, 210, .78);
  letter-spacing: 1px;
  paint-order: stroke; stroke: #0b0908; stroke-width: 4px; stroke-linejoin: round;
}
@keyframes labelPulse { 0%, 100% { opacity: .6; } 50% { opacity: .92; } }

/* ---------- 氛围：雾、余烬、光点拖尾、涟漪、星芒 ---------- */
.intro-fog {
  position: absolute; inset: -15%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 32% 42%, rgba(120,55,36,.14), transparent 55%),
    radial-gradient(ellipse at 70% 62%, rgba(74,93,51,.12), transparent 55%),
    radial-gradient(ellipse at 50% 18%, rgba(150,35,24,.08), transparent 50%);
  animation: fogDrift 34s ease-in-out infinite alternate;
}
@keyframes fogDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}

.intro-embers { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.intro-embers i {
  position: absolute; bottom: -12px; border-radius: 50%; opacity: 0;
  box-shadow: 0 0 6px currentColor;
  animation-name: emberRise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes emberRise {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.6); }
  12%  { opacity: .5; }
  55%  { opacity: .28; }
  100% { opacity: 0; transform: translate3d(var(--dx, 0), -78vh, 0) scale(1.15); }
}

#introMarker .m-glow { animation: markerGlow 2.4s ease-in-out infinite; }
@keyframes markerGlow {
  0%, 100% { r: 20; opacity: .16; }
  50%      { r: 27; opacity: .07; }
}

.node-ring { fill: none; stroke: #ffd98a; stroke-width: 2; opacity: 0; }
.node.on .node-ring { animation: nodeRipple 1.5s ease-out; }
@keyframes nodeRipple {
  0%   { r: 9;  opacity: .85; }
  100% { r: 38; opacity: 0; }
}

.route-base { animation: routeDrift 16s linear infinite; }
@keyframes routeDrift { to { stroke-dashoffset: -64; } }
.route-sample { fill: none; stroke: none; }

.fin-rays {
  position: absolute; left: 50%; top: 50%;
  width: 620px; height: 620px; margin: -310px 0 0 -310px;
  border-radius: 50%; pointer-events: none; opacity: .55; z-index: 0;
  background: repeating-conic-gradient(from 0deg, rgba(226,59,46,.14) 0deg 2deg, transparent 2deg 16deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.65) 35%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.65) 35%, transparent 68%);
  animation: raysSpin 46s linear infinite;
}
/* 星芒始终位于文字之下 */
.intro-finale > *:not(.fin-rays) { position: relative; z-index: 1; }
@keyframes raysSpin { to { transform: rotate(360deg); } }
.fin-star { animation: starPulse 3.4s ease-in-out infinite; }
@keyframes starPulse {
  0%, 100% { transform: scale(1); text-shadow: 0 0 22px rgba(226,59,46,.5); }
  50%      { transform: scale(1.07); text-shadow: 0 0 40px rgba(226,59,46,.85); }
}

@media (max-width: 900px) {
  .intro-note { display: none; }
  .intro-rail { right: 14px; }
  .intro-caps { left: 5vw; bottom: 8vh; height: 200px; }
  .intro-top { padding: 16px 18px; }
  .intro-year { display: none; }
}
.intro-mobile-title { display: none; }

@media (max-width: 700px) {
  #intro { height: 560vh; }
  .intro-map svg { width: 150%; height: 150%; transform: translateX(-6px); }
  .intro-mobile-title {
    display: block; position: absolute; top: 9vh; left: 0; right: 0;
    z-index: 5; text-align: center; pointer-events: none;
    font-family: var(--font-title); font-size: 28px; letter-spacing: 7px;
    color: rgba(243,233,210,.9);
  }
  .intro-mobile-title span {
    display: block; margin-top: 9px; font-family: var(--font-body);
    font-size: 10.5px; letter-spacing: 3px; color: rgba(243,233,210,.38);
  }
  .node-label { font-size: 34px; }
  .unit-name { font-size: 42px; letter-spacing: 0; }
  .unit-role { display: none; }
  .enemy-label, .enemy-chief, .enemy-fig { display: none; }
  .intro-caps { width: 82vw; bottom: 7vh; height: 190px; }
  .cap-text { font-size: 13.5px; }
  .intro-rail { display: none; }
  .intro-hint { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-hint .mouse::after,
  .enemy-group.show .enemy-path,
  .enemy-group.show .enemy-label,
  .intro-fog,
  .intro-embers i,
  .route-base,
  .fin-rays,
  .fin-star,
  #introMarker .m-glow { animation: none !important; }
  .intro-fog { opacity: .45; }
  .fin-rays { opacity: .3; }
  .cap-title span, .cap-year, .cap-text, .cap-rule { transition: none !important; }
  .node.on .node-ring { animation: none !important; }
}
