/* ============================================================
   从哲学中走来 —— 马克思主义哲学的思想之旅
   赤红纪念展馆风 · 金 × 赤红 · 内置动画影像
   ============================================================ */

:root {
  --bg: #6d0e15;
  --bg-deep: #57080e;
  --bg-bright: #7c1017;
  --panel: rgba(0, 0, 0, 0.16);
  --panel-strong: rgba(0, 0, 0, 0.24);
  --line: rgba(255, 225, 170, 0.34);
  --line-soft: rgba(255, 233, 200, 0.14);
  --gold: #f2c76a;
  --gold-light: #ffe9b0;
  --gold-deep: #d4a13c;
  --cream: #fdf3dc;
  --ink-dark: #4a060b;
  --muted: rgba(253, 240, 220, 0.66);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 120% 60% at 50% -8%, rgba(255, 190, 110, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-bright), var(--bg) 40%, var(--bg-deep));
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.9;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

/* 胶片颗粒 */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

::selection { background: rgba(255, 225, 170, 0.4); color: #4a060b; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--gold-deep)); border-radius: 6px; }

/* ---------- 阅读进度条 ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold-light), #fff3d0);
  z-index: 10000;
  box-shadow: 0 0 14px rgba(255, 225, 170, 0.8);
  transition: width 0.1s linear;
}

/* ---------- 光标光晕 ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(255, 220, 150, 0.10) 0%, transparent 60%);
  transition: opacity 0.4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- 导航 ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s, padding 0.4s;
  border-bottom: 1px solid transparent; padding: 14px 0;
}
.topnav.scrolled {
  background: rgba(70, 6, 12, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft); padding: 8px 0;
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal {
  width: 40px; height: 40px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900; font-size: 22px; color: #5f0810;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(255, 220, 150, 0.5);
  animation: sealPulse 4s ease-in-out infinite;
}
@keyframes sealPulse {
  0%,100% { box-shadow: 0 0 14px rgba(255, 220, 150, 0.4); }
  50% { box-shadow: 0 0 28px rgba(255, 220, 150, 0.75); }
}
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--cream); letter-spacing: 0.14em; }
.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a {
  position: relative; display: block; padding: 8px 12px;
  color: rgba(253, 240, 220, 0.7); text-decoration: none; font-size: 14px; letter-spacing: 0.08em;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold-light), #fff);
  transform: scaleX(0); transform-origin: center; transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media > * { position: absolute; inset: 0; }
.hero-rays {
  background: repeating-conic-gradient(from 0deg at 50% 46%,
    rgba(255, 214, 140, 0.09) 0deg 4deg, transparent 4deg 15deg);
  animation: raysSpin 80s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, #000 26%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, #000 26%, transparent 70%);
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
#heroCanvas { inset: 0; }
.hero-vignette {
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, transparent 34%, rgba(70, 6, 12, 0.66) 100%),
    linear-gradient(180deg, rgba(70, 6, 12, 0.6) 0%, transparent 30%, transparent 62%, var(--bg) 100%);
}

/* 英雄马克思浮雕像 */
.hero-marx {
  position: absolute; right: 5%; top: 50%; z-index: 1;
  width: clamp(210px, 23vw, 330px); aspect-ratio: 1;
  transform: translateY(-50%);
  animation: marxFloat 6.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(30, 0, 3, 0.6));
}
@keyframes marxFloat { 0%,100% { transform: translateY(-52%); } 50% { transform: translateY(-47%); } }
.hero-marx-svg { width: 100%; height: 100%; }
.hero-marx-svg .bust { fill: #46121b; }
.hero-marx-svg .spin-slow { transform-box: fill-box; transform-origin: center; animation: spinCW 26s linear infinite; }
@keyframes spinCW { to { transform: rotate(360deg); } }
.hero-marx-glow {
  position: absolute; inset: -12%;
  background: radial-gradient(circle, rgba(255, 214, 140, 0.22), transparent 62%);
  z-index: -1; animation: glowPulse 4.5s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: 0.65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 1100px) { .hero-marx { display: none; } }

.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 24px 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: 0.5em; text-indent: 0.5em; color: var(--gold-light);
  border: 1px solid var(--line); padding: 8px 22px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff3d0; box-shadow: 0 0 10px #fff3d0; animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero-title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(52px, 10vw, 128px);
  line-height: 1.18; letter-spacing: 0.08em; margin: 34px 0 10px;
}
.hero-title .line { display: block; text-shadow: 0 6px 40px rgba(60, 0, 5, 0.7); }
.hero-title .accent {
  background: linear-gradient(115deg, #fff6dd 8%, var(--gold) 38%, #fff8e6 52%, var(--gold) 68%, #e0aa45 92%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5.5s linear infinite;
  filter: drop-shadow(0 6px 30px rgba(255, 210, 130, 0.45));
}
@keyframes shimmer { to { background-position: -250% 0; } }

.hero-sub { font-family: var(--serif); font-size: clamp(16px, 2.4vw, 23px); color: rgba(253, 240, 220, 0.85); letter-spacing: 0.3em; text-indent: 0.3em; }

.hero-stats { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); margin-top: 58px; flex-wrap: wrap; }
.stat { text-align: center; min-width: 110px; }
.stat b {
  display: block; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 900; color: var(--gold-light);
  text-shadow: 0 0 26px rgba(255, 214, 140, 0.65);
}
.stat i { font-style: normal; font-size: 12.5px; color: var(--muted); letter-spacing: 0.12em; line-height: 1.7; display: block; margin-top: 4px; }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: 12px; letter-spacing: 0.4em; text-indent: 0.4em;
  text-decoration: none; animation: hintFloat 3s ease-in-out infinite;
}
@keyframes hintFloat { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.mouse { width: 22px; height: 34px; border: 1.5px solid var(--muted); border-radius: 12px; position: relative; }
.wheel { position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; background: var(--gold-light); border-radius: 3px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 16px; } 100% { opacity: 0; } }

/* ---------- 跑马灯 ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(0,0,0,0.28), rgba(255, 200, 120, 0.07), rgba(0,0,0,0.28));
  padding: 14px 0; position: relative; z-index: 2;
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.22em;
  color: rgba(253, 240, 220, 0.6); white-space: nowrap;
}
.marquee-track i { color: var(--gold-light); font-style: normal; font-size: 10px; opacity: 0.8; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 通用 SECTION ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section:nth-of-type(even) { background: rgba(0, 0, 0, 0.1); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

.ambient { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.orb-1::before, .orb-2::before, .orb-3::before, .orb-4::before, .orb-5::before, .orb-6::before, .orb-7::before, .orb-8::before {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: orbDrift 16s ease-in-out infinite alternate;
}
.orb-1::before { width: 560px; height: 560px; left: -180px; top: -120px; background: radial-gradient(circle, rgba(255, 210, 130, 0.18), transparent 70%); }
.orb-2::before { width: 520px; height: 520px; right: -160px; top: 10%; background: radial-gradient(circle, rgba(120, 8, 16, 0.5), transparent 70%); animation-delay: -4s; }
.orb-3::before { width: 640px; height: 640px; left: -200px; top: 30%; background: radial-gradient(circle, rgba(255, 210, 130, 0.14), transparent 70%); animation-delay: -8s; }
.orb-4::before { width: 560px; height: 560px; right: -180px; top: 45%; background: radial-gradient(circle, rgba(130, 10, 20, 0.5), transparent 70%); animation-delay: -2s; }
.orb-5::before { width: 600px; height: 600px; left: 30%; top: -160px; background: radial-gradient(circle, rgba(255, 210, 130, 0.16), transparent 70%); animation-delay: -6s; }
.orb-6::before { width: 560px; height: 560px; right: -140px; top: 25%; background: radial-gradient(circle, rgba(140, 12, 22, 0.45), transparent 70%); animation-delay: -10s; }
.orb-7::before { width: 700px; height: 700px; left: 50%; top: 30%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 210, 130, 0.2), transparent 70%); }
.orb-8::before { width: 620px; height: 620px; right: -160px; top: 5%; background: radial-gradient(circle, rgba(255, 210, 130, 0.15), transparent 70%); animation-delay: -5s; }
@keyframes orbDrift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, -40px) scale(1.15); } }

.sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-kicker { display: inline-block; font-size: 12px; letter-spacing: 0.55em; text-indent: 0.55em; color: var(--gold-light); margin-bottom: 14px; font-weight: 500; }
.sec-title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.3; letter-spacing: 0.06em;
  position: relative; display: inline-block;
  text-shadow: 0 4px 30px rgba(50, 0, 4, 0.6);
}
.sec-title::after {
  content: ""; display: block; width: 84px; height: 3px; margin-top: 18px;
  background: linear-gradient(90deg, var(--gold-light), #fff);
  border-radius: 3px; transform-origin: left;
  animation: lineGrow 1.2s var(--ease) both; animation-play-state: paused;
}
.sec-head.in-view .sec-title::after { animation-play-state: running; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sec-desc { color: var(--muted); max-width: 860px; margin-top: 22px; font-size: 16px; }
.sec-desc .footnote { display: block; margin-top: 10px; font-size: 13px; color: rgba(253, 240, 220, 0.5); }

mark.gold { background: transparent; color: var(--gold-light); font-weight: 500; text-shadow: 0 0 18px rgba(255, 214, 140, 0.6); }
mark.white { background: transparent; color: #fff8ea; font-weight: 600; text-shadow: 0 0 20px rgba(255, 244, 214, 0.8); }

/* ---------- 核心判断 ---------- */
.verdict-card {
  position: relative; max-width: 920px;
  background: linear-gradient(160deg, rgba(255, 220, 150, 0.12), rgba(0, 0, 0, 0.22) 60%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 60px);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(30, 0, 4, 0.4);
}
.verdict-card p { font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); line-height: 2.2; }
.verdict-card strong { color: #fff8ea; font-weight: 700; }
.bigquote {
  position: absolute; top: -34px; left: 26px;
  font-family: var(--serif); font-size: 130px; line-height: 1;
  color: rgba(255, 225, 170, 0.4); user-select: none;
  animation: quoteFloat 5s ease-in-out infinite;
}
@keyframes quoteFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.verdict-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; max-width: 920px; }
.note-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 24px 22px; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.note-card:hover { border-color: var(--line); box-shadow: 0 18px 44px rgba(20, 0, 3, 0.5); transform: translateY(-6px); }
.note-card h4 { font-family: var(--serif); color: var(--gold-light); font-size: 16px; margin-bottom: 8px; letter-spacing: 0.1em; }
.note-card p { font-size: 14px; color: var(--muted); line-height: 1.9; }

.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- 序章 ---------- */
.prologue-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.prologue-text p { margin-bottom: 20px; color: rgba(253, 240, 220, 0.88); font-size: 16.5px; }
.prologue-text strong { color: var(--gold-light); font-weight: 600; }

.fact-chip {
  display: flex; gap: 18px; align-items: center;
  border: 1px dashed var(--line); border-radius: 14px; padding: 18px 22px;
  background: rgba(0, 0, 0, 0.18); margin-top: 8px;
}
.fact-year { font-family: var(--serif); font-size: 40px; font-weight: 900; color: var(--gold-light); text-shadow: 0 0 22px rgba(255, 214, 140, 0.6); flex-shrink: 0; }
.fact-desc { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

.three-sources { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(24px, 3vw, 36px); }
.sources-title { font-family: var(--serif); font-size: 19px; margin-bottom: 22px; letter-spacing: 0.08em; }
.sources-title small { color: var(--muted); font-size: 13px; font-weight: 400; }
.source-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 14px; border-radius: 12px; border: 1px solid transparent;
  transition: all 0.4s var(--ease); cursor: default;
}
.source-item:hover { border-color: var(--line); background: rgba(255, 220, 150, 0.07); transform: translateX(6px); }
.src-no { font-family: var(--serif); font-size: 26px; font-weight: 900; color: rgba(255, 225, 170, 0.5); width: 44px; flex-shrink: 0; }
.source-item div { flex: 1; }
.source-item b { display: block; font-size: 15.5px; letter-spacing: 0.06em; }
.source-item em { font-style: normal; font-size: 13px; color: var(--muted); }
.src-tag { font-size: 11.5px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--muted); flex-shrink: 0; }
.src-tag.on { border-color: rgba(255, 240, 200, 0.6); color: #fff8ea; background: rgba(255, 200, 120, 0.16); animation: tagGlow 3s ease-in-out infinite; }
@keyframes tagGlow { 0%,100% { box-shadow: 0 0 0 rgba(255, 220, 150, 0); } 50% { box-shadow: 0 0 18px rgba(255, 220, 150, 0.55); } }

/* ---------- 人物画廊 ---------- */
.figures-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.figure-card {
  position: relative; text-align: center;
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.22), rgba(255, 200, 120, 0.05));
  border: 1px solid var(--line-soft); border-radius: 22px;
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 30px);
  transition: border-color 0.4s, box-shadow 0.5s, transform 0.5s var(--ease);
  overflow: hidden;
}
.figure-card:hover { border-color: var(--line); box-shadow: 0 26px 60px rgba(25, 0, 4, 0.55); transform: translateY(-8px); }
.figure-card.large { grid-column: 1 / -1; display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; text-align: left; }
.figure-card.large .fig-head { grid-column: 1 / -1; }

.medallion { position: relative; width: min(200px, 58vw); margin: 0 auto 20px; aspect-ratio: 1; }
.figure-card.large .medallion { width: min(300px, 70vw); margin: 0; }
.medallion svg { width: 100%; height: 100%; overflow: visible; }
.med-ring { fill: none; stroke: rgba(255, 233, 176, 0.5); stroke-width: 1.4; stroke-dasharray: 5 9; transform-box: fill-box; transform-origin: center; animation: spinCW 26s linear infinite; }
.med-ring2 { fill: none; stroke: rgba(255, 233, 176, 0.28); stroke-width: 1; stroke-dasharray: 1 6; transform-box: fill-box; transform-origin: center; animation: spinCCW 38s linear infinite; }
@keyframes spinCCW { to { transform: rotate(-360deg); } }
.med-rays { stroke: rgba(255, 233, 176, 0.55); stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: raysPulse 3.2s ease-in-out infinite; }
@keyframes raysPulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }
.med-bg { filter: drop-shadow(0 0 18px rgba(255, 200, 120, 0.4)); }
.med-bg.cool { fill: url(#medGold); filter: drop-shadow(0 0 14px rgba(255, 190, 110, 0.3)); }
.med-bg.warm { fill: url(#medGold); filter: drop-shadow(0 0 14px rgba(255, 170, 90, 0.35)); }
.med-photo {
  filter: sepia(0.32) saturate(1.08) contrast(1.02) brightness(0.97);
  transition: transform 0.7s var(--ease);
  transform-box: fill-box; transform-origin: center;
}
.figure-card:hover .med-photo { transform: scale(1.07); }
.med-tint { fill: url(#photoTint); pointer-events: none; }
.med-inner-ring { fill: none; stroke: rgba(255, 233, 176, 0.45); stroke-width: 1.5; }
.med-orbit-g { transform-box: fill-box; transform-origin: center; animation: spinCW 12s linear infinite; }
.med-orbit-g .orbit-dot { fill: #fff3d0; filter: drop-shadow(0 0 5px #ffe9b0); }
.sun-rise { transform-box: fill-box; transform-origin: center; animation: sunUp 6.5s ease-in-out infinite alternate; }
.sun-rise circle { fill: rgba(255, 170, 80, 0.4); filter: blur(2px); }
@keyframes sunUp { from { transform: translateY(16px); opacity: 0.55; } to { transform: translateY(-10px); opacity: 1; } }
.gear { stroke: rgba(255, 233, 176, 0.6); fill: none; transform-box: fill-box; transform-origin: center; }
.gear.spin-rev { animation: spinCCW 16s linear infinite; }

.orbit {
  position: absolute; font-size: 18px; color: var(--gold-light);
  text-shadow: 0 0 12px rgba(255, 214, 140, 0.8);
  animation: orbitFloat 4.6s ease-in-out infinite; pointer-events: none;
}
.orbit-1 { top: 4%; right: 8%; }
.orbit-2 { bottom: 10%; right: 2%; animation-delay: -1.5s; font-size: 14px; }
.orbit-3 { bottom: 2%; left: 6%; animation-delay: -3s; font-size: 15px; }
@keyframes orbitFloat { 0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.75; } 50% { transform: translateY(-12px) rotate(14deg); opacity: 1; } }

.fig-name { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 26px); font-weight: 900; letter-spacing: 0.14em; }
.fig-dates { display: block; font-size: 13px; color: var(--muted); letter-spacing: 0.16em; margin-top: 4px; }
.fig-role {
  display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: 0.22em; text-indent: 0.22em;
  color: #fff8ea; border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px;
  background: rgba(255, 200, 120, 0.1);
}
.fig-desc { font-size: 14px; color: rgba(253, 240, 220, 0.82); margin-top: 16px; text-align: inherit; }
.figure-card .fig-desc { text-align: center; }
.figure-card.large .fig-desc { text-align: left; }
.fig-quote {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.22); border: 1px dashed var(--line);
  font-family: var(--serif); font-size: 14.5px; color: var(--gold-light); line-height: 2;
  min-height: 76px; display: flex; align-items: center; gap: 2px;
}
.figure-card.large .fig-quote { max-width: 620px; }
.tw-small { flex: 1; }

/* ---------- 内置动画影像（cinematic scenes） ---------- */
.cine-scene {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #4d0d14, #701019 48%, #470a10);
  box-shadow: inset 0 0 80px rgba(20, 0, 3, 0.55), 0 24px 60px rgba(25, 0, 4, 0.45);
  aspect-ratio: 16 / 7.6;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.cine-scene.tall { aspect-ratio: 16 / 8.6; }
.cine-badge {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  font-size: 11.5px; letter-spacing: 0.2em; color: #fff8ea;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
  background: rgba(40, 2, 6, 0.6); backdrop-filter: blur(6px);
}
.cine-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ffd98a; margin-right: 8px; animation: blink 1.6s ease-in-out infinite; }
.cine-title {
  position: absolute; bottom: 14px; right: 18px; z-index: 5;
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.24em; color: rgba(255, 233, 176, 0.85);
}
.cine-label { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; max-width: 180px; }
.cine-label.left { left: 4%; text-align: left; }
.cine-label.right { right: 4%; text-align: right; }
.cine-label b { display: block; font-family: var(--serif); font-size: 16px; color: var(--gold-light); letter-spacing: 0.1em; }
.cine-label span { font-size: 12px; color: var(--muted); }
.cine-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; color: #fff8ea;
  background: radial-gradient(circle, rgba(255, 210, 130, 0.9), rgba(212, 120, 40, 0.5) 70%);
  box-shadow: 0 0 34px rgba(255, 200, 120, 0.75);
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes corePulse { 0%,100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 24px rgba(255, 200, 120, 0.6); } 50% { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 46px rgba(255, 210, 130, 0.95); } }
.cine-core::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(255, 225, 170, 0.5);
  animation: coreRing 3s ease-out infinite;
}
@keyframes coreRing { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
#originsCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 场景2：手稿与光轨 */
.journey-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ink-lines line { stroke: rgba(255, 233, 176, 0.1); stroke-width: 1.5; stroke-dasharray: 7 9; animation: inkDrift 14s linear infinite; }
@keyframes inkDrift { to { stroke-dashoffset: -320; } }
.route { fill: none; stroke: rgba(255, 233, 176, 0.85); stroke-width: 2.4; stroke-dasharray: 900; animation: routeDraw 10s var(--ease) infinite; }
.route-glow { fill: none; stroke: rgba(255, 200, 120, 0.35); stroke-width: 9; stroke-dasharray: 900; filter: blur(4px); animation: routeDraw 10s var(--ease) infinite; }
@keyframes routeDraw {
  0% { stroke-dashoffset: 900; opacity: 1; }
  80% { stroke-dashoffset: 0; opacity: 1; }
  90% { stroke-dashoffset: 0; opacity: 0.9; }
  100% { stroke-dashoffset: -60; opacity: 0; }
}
.cities .city circle { fill: #ffe9b0; stroke: rgba(90, 10, 16, 0.9); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: cityPulse 10s infinite; animation-delay: calc(var(--i) * 1.95s); }
.cities .city circle.end { animation-delay: calc(var(--i) * 1.95s); }
@keyframes cityPulse {
  0%, 6%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 220, 150, 0)); }
  3% { transform: scale(1.9); filter: drop-shadow(0 0 14px rgba(255, 220, 150, 1)); }
}
.cities .city text { fill: var(--cream); font-family: var(--serif); font-size: 15px; text-anchor: middle; letter-spacing: 0.06em; }
.cities .city text.sub { font-size: 12.5px; fill: var(--gold-light); }
.quill { fill: #fff8ea; filter: drop-shadow(0 0 8px rgba(255, 230, 170, 0.9)); offset-path: path("M120,300 C220,260 260,220 350,230 C440,240 470,290 560,270 C650,250 660,180 750,160 C840,140 860,110 900,96"); animation: quillMove 10s var(--ease) infinite; }
@keyframes quillMove {
  0% { offset-distance: 0%; opacity: 1; }
  80% { offset-distance: 100%; opacity: 1; }
  90% { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 0%; opacity: 0; }
}
.journey-years { position: absolute; left: 0; right: 0; bottom: 46px; display: flex; justify-content: center; gap: clamp(18px, 5vw, 70px); z-index: 4; }
.journey-years span {
  font-family: var(--serif); font-size: clamp(17px, 2.4vw, 26px); font-weight: 900; color: var(--gold-light);
  text-shadow: 0 0 18px rgba(255, 214, 140, 0.7);
  animation: yearGlow 10s infinite; animation-delay: calc(var(--i) * 1.95s); opacity: 0.28;
}
@keyframes yearGlow {
  0%, 100% { opacity: 0.28; transform: translateY(0); }
  8% { opacity: 1; transform: translateY(-6px); text-shadow: 0 0 30px rgba(255, 220, 150, 1); }
  30% { opacity: 0.6; }
}

/* 场景3：颠倒乾坤 */
.flip-stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1300px; }
.flip3d { position: relative; width: min(560px, 74%); aspect-ratio: 16 / 8.4; transform-style: preserve-3d; animation: flipLoop 7s ease-in-out infinite; }
@keyframes flipLoop {
  0%, 30% { transform: rotateY(0deg); }
  42%, 72% { transform: rotateY(180deg); }
  84%, 100% { transform: rotateY(360deg); }
}
.face {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.face.front { background: radial-gradient(ellipse 120% 100% at 50% 0%, #1c1030, #0d0a1e 70%); }
.face.back { transform: rotateY(180deg); background: linear-gradient(180deg, #ffb25e 0%, #e8743c 34%, #7c1a12 78%, #4d0d12 100%); }
.face-tag { position: absolute; top: 12px; left: 14px; font-size: 11.5px; letter-spacing: 0.24em; color: rgba(255, 244, 214, 0.9); border: 1px solid rgba(255, 233, 176, 0.4); border-radius: 999px; padding: 3px 12px; background: rgba(0, 0, 0, 0.25); }
.face-line { font-family: var(--serif); font-weight: 900; font-size: clamp(20px, 3vw, 30px); letter-spacing: 0.12em; text-align: center; color: #fff8ea; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); z-index: 2; }
.face-line small { display: block; font-size: 13px; font-weight: 400; color: rgba(255, 244, 214, 0.8); margin-top: 6px; letter-spacing: 0.3em; }
.stars { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #ffe9b0; top: 18%; left: 20%;
  box-shadow: 40px 20px 0 #ffe9b0, 90px 60px 0 #f7d9a0, 150px 30px 0 #ffe9b0, 220px 80px 0 #f7d9a0, 300px 40px 0 #ffe9b0,
    360px 90px 0 #f7d9a0, 60px 130px 0 #ffe9b0, 180px 140px 0 #f7d9a0, 260px 150px 0 #ffe9b0, 340px 160px 0 #f7d9a0,
    20px 180px 0 #f7d9a0, 400px 130px 0 #ffe9b0, 120px 12px 0 #f7d9a0, 320px 15px 0 #ffe9b0;
  animation: twinkle 3.4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.4; } to { opacity: 1; } }
.eye {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: #ffe9b0;
  border: 1.5px solid rgba(255, 233, 176, 0.6);
  animation: eyePulse 3s ease-in-out infinite;
}
@keyframes eyePulse { 0%,100% { box-shadow: 0 0 8px rgba(255, 220, 150, 0.3); } 50% { box-shadow: 0 0 26px rgba(255, 220, 150, 0.9); } }
.hills-b { position: absolute; inset: auto 0 0 0; height: 46%; }
.hills-b svg { width: 100%; height: 100%; }
.sun-b {
  position: absolute; left: 50%; top: 20%; width: 74px; height: 74px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fff3cf, #ffcb72 60%, rgba(255, 180, 90, 0.1) 72%);
  box-shadow: 0 0 60px rgba(255, 210, 130, 0.95);
  animation: sunBreathe 3.4s ease-in-out infinite alternate;
}
@keyframes sunBreathe { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.09); } }
.shock {
  position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 -65px;
  border-radius: 50%; border: 2px solid rgba(255, 233, 176, 0.85); pointer-events: none;
  animation: shockWave 7s ease-out infinite;
}
@keyframes shockWave {
  0%, 34% { transform: scale(0.25); opacity: 0; }
  37% { transform: scale(0.3); opacity: 1; }
  52% { transform: scale(2.6); opacity: 0; }
  78% { transform: scale(0.3); opacity: 1; }
  93%, 100% { transform: scale(2.8); opacity: 0; }
}
.flip-caption {
  position: absolute; bottom: 46px; left: 0; right: 0; text-align: center; z-index: 5;
  font-size: 13px; color: var(--muted); letter-spacing: 0.12em;
}
.flip-caption b { color: var(--gold-light); font-weight: 600; }

/* 场景4：旭日东升 */
#sceneEchoes { background: linear-gradient(180deg, #8a2a1b 0%, #a53a1c 30%, #7c1418 62%, #4d0c10 100%); }
.echo-sun { position: absolute; inset: 0; }
.echo-rays {
  position: absolute; left: 50%; top: 62%; width: 560px; height: 560px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 160, 0.16) 0deg 6deg, transparent 6deg 18deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 66%);
  mask-image: radial-gradient(circle, #000 12%, transparent 66%);
  animation: raysSpin 46s linear infinite;
}
.echo-sunball {
  position: absolute; left: 50%; top: 58%; width: 96px; height: 96px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff6d8, #ffcf7a 62%, rgba(255, 190, 100, 0.25) 74%);
  box-shadow: 0 0 90px rgba(255, 214, 140, 1);
  animation: sunRise 9s ease-in-out infinite alternate;
}
@keyframes sunRise { from { top: 66%; } to { top: 46%; } }
.silk { position: absolute; inset: auto 0 0; height: 62%; width: 100%; }
.silk-p { fill: none; stroke-linecap: round; }
.silk-p.p1 { stroke: rgba(255, 120, 110, 0.5); stroke-width: 30; animation: silkFlow 9s ease-in-out infinite alternate; }
.silk-p.p2 { stroke: rgba(255, 170, 120, 0.38); stroke-width: 18; animation: silkFlow 12s ease-in-out infinite alternate-reverse; }
.silk-p.p3 { stroke: rgba(255, 226, 170, 0.42); stroke-width: 8; animation: silkFlow 7s ease-in-out infinite alternate; }
@keyframes silkFlow { from { transform: translateX(-26px); } to { transform: translateX(26px); } }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; display: flex; align-items: flex-end; gap: 6px; padding: 0 4%; opacity: 0.85; }
.skyline i { flex: 1; background: linear-gradient(180deg, #3c060b, #2a0307); border-radius: 3px 3px 0 0; }
.skyline i:nth-child(1) { height: 34%; } .skyline i:nth-child(2) { height: 58%; } .skyline i:nth-child(3) { height: 42%; }
.skyline i:nth-child(4) { height: 74%; } .skyline i:nth-child(5) { height: 50%; } .skyline i:nth-child(6) { height: 88%; }
.skyline i:nth-child(7) { height: 62%; } .skyline i:nth-child(8) { height: 46%; } .skyline i:nth-child(9) { height: 70%; }
.skyline i:nth-child(10) { height: 38%; } .skyline i:nth-child(11) { height: 56%; } .skyline i:nth-child(12) { height: 30%; }
.gold-dust { position: absolute; inset: 0; pointer-events: none; }
.gold-dust b {
  position: absolute; bottom: -12px; width: 4px; height: 4px; border-radius: 50%;
  background: #ffe9b0; box-shadow: 0 0 10px rgba(255, 220, 150, 0.9);
  animation: dustRise linear infinite;
}
.gold-dust b:nth-child(1) { left: 6%; animation-duration: 9s; }
.gold-dust b:nth-child(2) { left: 16%; animation-duration: 12s; animation-delay: -3s; width: 3px; height: 3px; }
.gold-dust b:nth-child(3) { left: 26%; animation-duration: 10s; animation-delay: -6s; }
.gold-dust b:nth-child(4) { left: 36%; animation-duration: 13s; animation-delay: -1s; width: 5px; height: 5px; }
.gold-dust b:nth-child(5) { left: 46%; animation-duration: 9.5s; animation-delay: -4s; }
.gold-dust b:nth-child(6) { left: 55%; animation-duration: 11s; animation-delay: -7s; width: 3px; height: 3px; }
.gold-dust b:nth-child(7) { left: 64%; animation-duration: 12.5s; animation-delay: -2s; }
.gold-dust b:nth-child(8) { left: 74%; animation-duration: 10.5s; animation-delay: -5s; width: 5px; height: 5px; }
.gold-dust b:nth-child(9) { left: 84%; animation-duration: 9s; animation-delay: -8s; }
.gold-dust b:nth-child(10) { left: 92%; animation-duration: 13.5s; animation-delay: -3.5s; width: 3px; height: 3px; }
.gold-dust b:nth-child(11) { left: 11%; animation-duration: 11.5s; animation-delay: -9s; }
.gold-dust b:nth-child(12) { left: 69%; animation-duration: 10s; animation-delay: -6.5s; width: 5px; height: 5px; }
@keyframes dustRise {
  from { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.95; }
  85% { opacity: 0.8; }
  to { transform: translateY(-420px); opacity: 0; }
}
.echo-stamp {
  position: absolute; left: 50%; top: 30%; transform: translateX(-50%); z-index: 5;
  font-family: var(--serif); font-weight: 900; font-size: clamp(22px, 3.6vw, 38px);
  letter-spacing: 0.4em; text-indent: 0.4em; color: #fff8ea; white-space: nowrap;
  text-shadow: 0 0 34px rgba(255, 214, 140, 0.9), 0 6px 24px rgba(60, 0, 5, 0.6);
  animation: stampIn 8s ease-in-out infinite;
}
@keyframes stampIn {
  0% { opacity: 0; transform: translateX(-50%) scale(1.35); }
  14% { opacity: 1; transform: translateX(-50%) scale(1); }
  78% { opacity: 1; }
  92%, 100% { opacity: 0; transform: translateX(-50%) scale(1); }
}

/* ---------- 第一章 双重遗产 ---------- */
.legacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); margin-bottom: clamp(44px, 6vw, 72px); }
.legacy-card {
  position: relative; border-radius: 20px; padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid var(--line-soft); overflow: hidden;
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.26), rgba(255, 200, 120, 0.045));
  transition: border-color 0.4s, box-shadow 0.5s;
}
.legacy-card:hover { box-shadow: 0 26px 60px rgba(20, 0, 3, 0.55); }
.legacy-card.hegel { background: linear-gradient(165deg, rgba(255, 214, 140, 0.12), rgba(0, 0, 0, 0.2) 55%); }
.legacy-card.hegel:hover { border-color: var(--line); }
.legacy-card.feuerbach { background: linear-gradient(165deg, rgba(255, 170, 110, 0.1), rgba(0, 0, 0, 0.2) 55%); }
.legacy-card.feuerbach:hover { border-color: rgba(255, 200, 140, 0.5); }
.legacy-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.legacy-badge {
  font-size: 11.5px; letter-spacing: 0.3em; text-indent: 0.3em; color: #5f0810;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  padding: 5px 14px; border-radius: 999px; font-weight: 700; margin-top: 6px; white-space: nowrap;
}
.feuerbach .legacy-badge { background: linear-gradient(135deg, #ffd9b8, #ff9d6e); color: #6b1208; }
.legacy-head h3 { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; font-weight: 700; }
.legacy-life { font-family: var(--serif); color: var(--muted); font-size: 14px; white-space: nowrap; margin-top: 8px; }
.legacy-list { list-style: none; display: grid; gap: 14px; }
.legacy-list li { font-size: 14.5px; color: rgba(253, 240, 220, 0.85); padding-left: 18px; position: relative; }
.legacy-list li::before { content: "◆"; position: absolute; left: 0; top: 2px; font-size: 9px; color: var(--gold-light); }
.feuerbach .legacy-list li::before { color: #ffb98a; }
.legacy-list b { color: #fff8ea; font-weight: 600; margin-right: 6px; }
.legacy-list em { font-style: normal; color: #ffd0a0; }
.legacy-quote {
  margin-top: 24px; padding: 16px 18px; border-left: 2px solid var(--gold-light);
  background: rgba(0, 0, 0, 0.22); border-radius: 0 12px 12px 0;
  font-family: var(--serif); font-size: 13.5px; color: rgba(253, 240, 220, 0.8); line-height: 2;
}
.feuerbach .legacy-quote { border-left-color: #ffb98a; }

/* 扬弃融合 SVG */
.fusion { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.fusion-title { font-family: var(--serif); font-size: 22px; letter-spacing: 0.2em; margin-bottom: 26px; color: var(--gold-light); }
.fusion-svg { width: 100%; max-width: 900px; height: auto; }
.fz-node { fill: rgba(255, 233, 176, 0.08); stroke: rgba(255, 233, 176, 0.7); stroke-width: 1.4; stroke-dasharray: 540; stroke-dashoffset: 540; }
.fz-node.warm { stroke: rgba(255, 200, 150, 0.75); fill: rgba(255, 190, 120, 0.08); stroke-dasharray: 420; stroke-dashoffset: 420; }
.fusion.in-view .fz-node { animation: drawStroke 2s var(--ease) forwards; }
.fusion.in-view .fz-node.warm { animation: drawStroke 2s var(--ease) 0.3s forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
.fz-label { fill: var(--cream); font-family: var(--serif); font-size: 19px; font-weight: 700; text-anchor: middle; opacity: 0; }
.fz-sub { fill: var(--muted); font-size: 12.5px; text-anchor: middle; opacity: 0; }
.fusion.in-view .fz-label, .fusion.in-view .fz-sub { animation: fadeUp2 0.9s ease 1.2s forwards; }
@keyframes fadeUp2 { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fz-flow { fill: none; stroke: rgba(255, 233, 176, 0.75); stroke-width: 1.6; stroke-dasharray: 6 7; opacity: 0; }
.fz-flow.warm { stroke: rgba(255, 190, 130, 0.75); }
.fusion.in-view .fz-flow { animation: flowIn 0.8s ease 1.6s forwards; }
@keyframes flowIn { to { opacity: 1; } }
.fz-dot { fill: var(--gold-light); opacity: 0; filter: drop-shadow(0 0 5px #ffe9b0); }
.fz-dot.warm { fill: #ffc890; }
.fusion.in-view .fz-dot { opacity: 1; }
#dotA { offset-path: path("M258,100 C420,70 520,112 612,148"); animation: dotRun 3s linear infinite; }
#dotB { offset-path: path("M236,248 C420,242 520,196 610,172"); animation: dotRun 3s linear infinite; animation-delay: -1.5s; }
@keyframes dotRun { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.fz-core { fill: rgba(255, 226, 170, 0.14); stroke: var(--gold-light); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.fusion.in-view .fz-core { animation: corePop 1.1s var(--ease) 2s both; }
@keyframes corePop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.fz-core-label { fill: #fff8ea; font-family: var(--serif); font-size: 24px; font-weight: 900; text-anchor: middle; opacity: 0; }
.fz-core-sub { fill: var(--gold-light); font-size: 13px; text-anchor: middle; opacity: 0; }
.fusion.in-view .fz-core-label { animation: fadeUp2 0.8s ease 2.5s forwards; }
.fusion.in-view .fz-core-sub { animation: fadeUp2 0.8s ease 2.7s forwards; }
.fz-note { fill: var(--muted); font-size: 13.5px; text-anchor: middle; letter-spacing: 0.1em; opacity: 0; }
.fusion.in-view .fz-note { animation: fadeUp2 1s ease 3s forwards; }

/* 对比表 */
.table-wrap { border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; background: var(--panel); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp-table caption {
  caption-side: top; text-align: left; padding: 20px 24px 6px;
  font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-light);
}
.cmp-table th, .cmp-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.cmp-table thead th {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em; color: #fff8ea;
  background: rgba(255, 220, 150, 0.06); border-bottom: 1px solid var(--line);
}
.cmp-table tbody tr { transition: background 0.3s; }
.cmp-table tbody tr:hover { background: rgba(255, 220, 150, 0.07); }
.cmp-table td:first-child { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.cmp-table td { color: rgba(253, 240, 220, 0.85); }
.cmp-table .hl { color: #fff8ea; background: rgba(255, 220, 150, 0.09); font-weight: 500; }
.table-src { padding: 16px 24px 20px; font-size: 12px; color: rgba(253, 240, 220, 0.5); }
.almanac-table td { font-size: 13.5px; }

/* ---------- 第二章 时间轴 ---------- */
.timeline { position: relative; padding: 20px 0 10px; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: rgba(255, 233, 176, 0.16); border-radius: 2px; overflow: hidden; }
.tl-line-fill { display: block; width: 100%; height: 0%; background: linear-gradient(180deg, var(--gold-light), #fff); box-shadow: 0 0 14px rgba(255, 225, 170, 0.8); }
.tl-item { position: relative; width: 50%; padding: 0 clamp(30px, 4.5vw, 60px) clamp(40px, 5vw, 64px); }
.tl-item[data-side="left"] { left: 0; text-align: right; }
.tl-item[data-side="right"] { left: 50%; }
.tl-node {
  position: absolute; top: 6px; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
  background: var(--bg-deep); border: 1.5px solid var(--line);
  font-family: var(--serif); font-weight: 700; font-size: 14.5px; color: var(--muted);
  transition: all 0.6s var(--ease);
}
.tl-item[data-side="left"] .tl-node { right: -38px; }
.tl-item[data-side="right"] .tl-node { left: -38px; }
.tl-item.lit .tl-node {
  color: #5f0810; border-color: #fff3d0;
  background: linear-gradient(135deg, #fff3d0, var(--gold-deep));
  box-shadow: 0 0 0 6px rgba(255, 220, 150, 0.22), 0 0 34px rgba(255, 214, 140, 0.75);
}
.tl-card {
  display: inline-block; text-align: left; width: 100%;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
  position: relative; backdrop-filter: blur(4px);
}
.tl-item[data-side="left"] .tl-card { border-right: 2px solid rgba(255, 233, 176, 0.55); }
.tl-item[data-side="right"] .tl-card { border-left: 2px solid rgba(255, 190, 130, 0.6); }
.tl-card:hover { box-shadow: 0 24px 56px rgba(20, 0, 3, 0.55); }
.tl-card.milestone { background: linear-gradient(150deg, rgba(255, 200, 120, 0.16), rgba(0, 0, 0, 0.24) 70%); border-color: var(--line); }
.tl-tag {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.28em; text-indent: 0.28em;
  color: var(--gold-light); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 14px;
}
.tl-card h3 { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.04em; }
.tl-card p { font-size: 14.5px; color: rgba(253, 240, 220, 0.85); }
.tl-card blockquote {
  margin-top: 16px; padding: 12px 16px; font-family: var(--serif); font-size: 13.5px;
  color: var(--gold-light); background: rgba(0, 0, 0, 0.22);
  border-left: 2px solid var(--gold-light); border-radius: 0 10px 10px 0; line-height: 2;
}
.tl-item[data-side="left"] blockquote { border-left: none; border-right: 2px solid var(--gold-light); border-radius: 10px 0 0 10px; padding: 12px 16px; }

.alien-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.alien {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(0, 0, 0, 0.24); border: 1px solid rgba(255, 200, 140, 0.28);
  border-radius: 12px; padding: 12px 14px;
  transition: all 0.35s var(--ease);
}
.alien:hover { transform: translateY(-4px); border-color: var(--line); background: rgba(255, 200, 120, 0.1); }
.alien b { font-family: var(--serif); color: var(--gold-light); font-size: 17px; }
.alien span { font-size: 12.5px; line-height: 1.75; color: rgba(253, 240, 220, 0.88); }
.alien small { color: var(--muted); font-size: 11.5px; }

/* 年表折叠 */
.almanac { margin-top: clamp(40px, 5vw, 64px); }
.almanac-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  color: var(--gold-light); font-family: var(--serif); font-size: 17px; letter-spacing: 0.14em;
  padding: 18px 26px; cursor: pointer; transition: all 0.35s;
}
.almanac-toggle:hover { background: rgba(255, 220, 150, 0.09); }
.almanac-toggle .chev { transition: transform 0.4s var(--ease); font-style: normal; }
.almanac-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.almanac-body { max-height: 0; overflow: hidden; transition: max-height 0.9s var(--ease); }
.almanac-body.open { max-height: 2600px; }
.almanac-body .table-wrap { margin-top: 16px; }

/* ---------- 第三章 哲学革命 ---------- */
.typewriter-block {
  position: relative; text-align: center; max-width: 880px; margin: 0 auto clamp(48px, 6vw, 80px);
  padding: clamp(36px, 5vw, 60px) 30px;
  background: linear-gradient(160deg, rgba(255, 220, 150, 0.12), rgba(0, 0, 0, 0.22));
  border: 1px solid var(--line); border-radius: 22px; min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tw-mark { font-family: var(--serif); font-size: 64px; color: rgba(255, 225, 170, 0.45); line-height: 0.6; align-self: flex-start; }
.tw-mark.end { align-self: flex-end; }
.tw-text { font-family: var(--serif); font-size: clamp(19px, 2.8vw, 28px); font-weight: 700; line-height: 2; letter-spacing: 0.06em; margin: 14px 0 8px; min-height: 2em; }
.tw-caret { display: inline-block; width: 2.5px; height: 1.2em; background: var(--gold-light); vertical-align: -0.2em; animation: caret 0.9s steps(1) infinite; margin-top: 8px; }
.tw-caret.small { height: 1em; width: 2px; }
@keyframes caret { 50% { opacity: 0; } }
.tw-src { font-size: 13.5px; color: var(--muted); letter-spacing: 0.18em; }

.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); margin-bottom: clamp(44px, 6vw, 72px); }
.rev-card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: clamp(26px, 3.2vw, 38px);
  transition: border-color 0.4s, box-shadow 0.5s;
}
.rev-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 220, 150, 0.14), transparent 55%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.rev-card:hover::before { opacity: 1; }
.rev-card:hover { border-color: var(--line); box-shadow: 0 24px 56px rgba(20, 0, 3, 0.55); }
.rev-icon {
  width: 58px; height: 58px; display: grid; place-items: center; font-size: 26px;
  color: #fff8ea; border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 20px; background: rgba(255, 220, 150, 0.1);
  animation: iconFloat 4.5s ease-in-out infinite;
}
.rev-card:nth-child(2) .rev-icon { animation-delay: -1.5s; }
.rev-card:nth-child(3) .rev-icon { animation-delay: -3s; }
@keyframes iconFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.rev-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; letter-spacing: 0.06em; }
.rev-card p { font-size: 14.5px; color: rgba(253, 240, 220, 0.85); }

.history-flip {
  background: linear-gradient(160deg, rgba(255, 214, 140, 0.1), rgba(0, 0, 0, 0.2) 65%);
  border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(28px, 4vw, 48px);
}
.flip-title { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 24px); margin-bottom: 28px; letter-spacing: 0.1em; text-align: center; }
.flip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flip-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(0, 0, 0, 0.2); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 20px 22px; transition: all 0.4s var(--ease); cursor: default;
}
.flip-item:hover { transform: translateY(-6px) scale(1.015); border-color: var(--line); background: rgba(255, 220, 150, 0.08); box-shadow: 0 16px 40px rgba(20, 0, 3, 0.5); }
.flip-no {
  font-family: var(--serif); font-size: 30px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff6dd, #ffb98a);
  -webkit-background-clip: text; background-clip: text; color: transparent; flex-shrink: 0;
}
.flip-item p { font-size: 14.5px; color: rgba(253, 240, 220, 0.88); }

/* ---------- 第四章 当代回响 ---------- */
.echo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-bottom: clamp(44px, 6vw, 72px); }
.echo-left h3, .echo-right h3 { font-family: var(--serif); font-size: clamp(19px, 2.3vw, 24px); margin-bottom: 16px; letter-spacing: 0.08em; }
.echo-left p { font-size: 15.5px; color: rgba(253, 240, 220, 0.85); margin-bottom: 22px; }
.lead-quote {
  font-family: var(--serif); font-size: clamp(16px, 2vw, 19px); line-height: 2.2;
  color: var(--gold-light); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px; background: rgba(0, 0, 0, 0.22); position: relative;
}
.lead-quote::before { content: "❝"; position: absolute; top: -14px; left: 20px; background: var(--bg-bright); padding: 0 10px; color: var(--gold-light); font-size: 22px; }
.combine-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-left: 3px solid var(--gold-light);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 16px;
  transition: all 0.4s var(--ease);
}
.combine-card:hover { transform: translateX(8px); border-color: var(--line); background: rgba(255, 220, 150, 0.08); }
.combine-card b { display: block; font-family: var(--serif); font-size: 16.5px; margin-bottom: 6px; letter-spacing: 0.06em; }
.combine-card span { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

.six-persist h3 { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 23px); text-align: center; margin-bottom: 30px; letter-spacing: 0.12em; }
.six-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.six-item {
  position: relative; overflow: hidden; text-align: center;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 28px 10px 22px; cursor: default;
  transition: all 0.45s var(--ease);
}
.six-item i { display: block; font-style: normal; font-family: var(--serif); font-size: 13px; color: rgba(255, 225, 170, 0.6); margin-bottom: 10px; letter-spacing: 0.2em; }
.six-item b { font-family: var(--serif); font-size: clamp(15px, 1.7vw, 19px); letter-spacing: 0.14em; }
.six-item::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--gold-light), #fff);
  transform: translateX(-50%); transition: width 0.5s var(--ease);
}
.six-item:hover { transform: translateY(-8px); border-color: var(--line); background: rgba(255, 220, 150, 0.1); box-shadow: 0 18px 40px rgba(20, 0, 3, 0.5); }
.six-item:hover::after { width: 70%; }

/* ---------- 结语 ---------- */
.epilogue { overflow: hidden; }
#epilogueCanvas { position: absolute; inset: 0; z-index: 0; opacity: 0.85; }
.epi-flow { display: flex; align-items: stretch; justify-content: center; gap: clamp(10px, 2vw, 26px); margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.epi-step {
  flex: 1; min-width: 200px; max-width: 300px; text-align: center;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 26px 20px; transition: all 0.45s var(--ease);
}
.epi-step:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 20px 46px rgba(20, 0, 3, 0.5); }
.epi-year { display: block; font-family: var(--serif); font-size: 34px; font-weight: 900; color: var(--gold-light); text-shadow: 0 0 20px rgba(255, 214, 140, 0.7); margin-bottom: 8px; }
.epi-step p { font-size: 13.5px; color: rgba(253, 240, 220, 0.85); line-height: 1.9; }
.epi-arrow { align-self: center; font-size: 26px; color: rgba(255, 225, 170, 0.6); }
.epi-text { max-width: 860px; margin: 0 auto; }
.epi-text p { font-family: var(--serif); font-size: clamp(16px, 2vw, 19.5px); line-height: 2.3; margin-bottom: 22px; color: rgba(253, 240, 220, 0.92); }
.epi-text strong { color: #fff8ea; font-weight: 700; }

/* ---------- 附录 ---------- */
.acc-list { display: grid; gap: 14px; max-width: 940px; }
.acc { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.acc[open] { border-color: var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 20px 26px;
  font-family: var(--serif); font-size: 16.5px; letter-spacing: 0.1em; color: var(--gold-light);
  position: relative; user-select: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); transition: transform 0.3s; }
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-body { padding: 4px 26px 24px; font-size: 14px; color: rgba(253, 240, 220, 0.82); }
.verify-list { padding-left: 22px; display: grid; gap: 14px; }
.verify-list b { color: var(--gold-light); font-weight: 600; }
.ref-list { padding-left: 22px; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 54px 28px 66px; text-align: center; position: relative; z-index: 2; }
.footer-line { font-family: var(--serif); font-size: 21px; letter-spacing: 0.5em; text-indent: 0.5em; color: var(--gold-light); margin-bottom: 14px; }
.footer-sub { font-size: 12.5px; color: rgba(253, 240, 220, 0.5); max-width: 760px; margin: 0 auto; line-height: 2; }

/* ---------- 回到顶部 ---------- */
.backtop {
  position: fixed; right: 26px; bottom: 26px; z-index: 9500;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(70, 6, 12, 0.8); color: var(--gold-light);
  font-size: 18px; cursor: pointer; backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: all 0.4s var(--ease);
}
.backtop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.backtop:hover { background: var(--gold-light); color: #5f0810; box-shadow: 0 0 24px rgba(255, 225, 170, 0.7); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: translateY(0); }
[data-delay="80"] { --d: 80ms; }
[data-delay="100"] { --d: 100ms; }
[data-delay="120"] { --d: 120ms; }
[data-delay="150"] { --d: 150ms; }
[data-delay="200"] { --d: 200ms; }
[data-delay="240"] { --d: 240ms; }
[data-delay="250"] { --d: 250ms; }
[data-delay="300"] { --d: 300ms; }
[data-delay="350"] { --d: 350ms; }
[data-delay="360"] { --d: 360ms; }
[data-delay="400"] { --d: 400ms; }
[data-delay="550"] { --d: 550ms; }
[data-delay="750"] { --d: 750ms; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .prologue-grid, .legacy-grid, .echo-grid { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .six-grid { grid-template-columns: repeat(3, 1fr); }
  .verdict-notes { grid-template-columns: 1fr; }
  .figures-grid { grid-template-columns: 1fr 1fr; }
  .figure-card.large { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .figure-card.large { grid-template-columns: 1fr; text-align: center; }
  .figure-card.large .fig-desc, .figure-card.large .fig-quote { text-align: center; margin-left: auto; margin-right: auto; }
  .figure-card.large .medallion { margin: 0 auto 22px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 90px 30px 34px;
    background: rgba(70, 6, 12, 0.97); backdrop-filter: blur(18px);
    flex-direction: column; gap: 4px;
    transform: translateY(-105%); transition: transform 0.5s var(--ease);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 17px; padding: 12px 6px; }
  .timeline .tl-line { left: 37px; }
  .tl-item, .tl-item[data-side="right"] { width: 100%; left: 0; text-align: left; padding: 0 0 44px 84px; }
  .tl-item[data-side="left"] .tl-node, .tl-item[data-side="right"] .tl-node { left: 0; right: auto; width: 74px; height: 74px; }
  .tl-item[data-side="left"] .tl-card { border-right: 1px solid var(--line-soft); border-left: 2px solid rgba(255, 233, 176, 0.55); }
  .tl-item[data-side="left"] blockquote { border-right: none; border-left: 2px solid var(--gold-light); border-radius: 0 10px 10px 0; }
  .flip-grid { grid-template-columns: 1fr; }
  .epi-arrow { display: none; }
  .cmp-table thead { display: none; }
  .cmp-table tr { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
  .cmp-table td { display: block; padding: 3px 0; border: none; }
  .cmp-table td:first-child { margin-top: 6px; }
  .cine-scene { aspect-ratio: 16 / 11; }
  .cine-scene.tall { aspect-ratio: 16 / 12; }
  .cine-label { display: none; }
  .cine-core { width: 58px; height: 58px; font-size: 14px; }
  .flip3d { width: 86%; }
  .echo-stamp { letter-spacing: 0.2em; }
  .journey-years { bottom: 20px; }
}
@media (max-width: 560px) {
  .figures-grid { grid-template-columns: 1fr; }
  .six-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 20px; }
  .stat { min-width: 40%; }
  .alien-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}

/* 尊重减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
