/* ============================================================
   《护城河不是为了防御》书籍网站主样式
   吴哥日出沉浸式设计系统
   ============================================================ */

/* ---- CSS 变量：吴哥日出调色板 ---- */
:root {
  --color-void: #0a0805;
  --color-deep: #1a1208;
  --color-dawn: #2d1f0a;
  --color-ember: #8b4513;
  --color-horizon: #c8701a;
  --color-gold: #d4a017;
  --color-solar: #f0c040;
  --color-light: #fdf0c0;
  --color-stone: #8b7355;
  --color-text: #e8d5b0;
  --color-muted: #9b8b6e;
  --color-border: rgba(212, 160, 23, 0.25);
  --color-border-bright: rgba(212, 160, 23, 0.6);

  --font-heading: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'STHeiti', sans-serif;
  --font-body: 'Songti SC', 'SimSun', 'STSong', 'FangSong', Georgia, serif;
  --font-deco: Georgia, 'Times New Roman', serif;

  --max-width: 860px;
  --section-padding: 6rem 2rem;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-med: 0.4s ease;
}

/* ---- 基础重置 ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  background: var(--color-void);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.9;
  overflow-x: hidden;
}

/* ============================================================
   滚动进度条
   ============================================================ */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-solar));
  z-index: 9999;
  transition: width 0.1s linear;
}

#progress-indicator {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
}

#progress-line {
  width: 2px;
  height: 120px;
  background: rgba(212, 160, 23, 0.15);
  position: relative;
  border-radius: 1px;
}

#progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-solar));
  border-radius: 1px;
  transition: height 0.1s linear;
}

#current-chapter {
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   顶部导航
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10,8,5,0.95) 0%, transparent 100%);
  padding: 1rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  backdrop-filter: blur(4px);
}

#nav.visible {
  transform: translateY(0);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  white-space: nowrap;
  text-decoration: none;
}

.nav-chapters {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--color-muted);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
  transition: color 0.3s, background 0.3s;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
  color: var(--color-gold);
  background: rgba(212, 160, 23, 0.1);
}

/* ============================================================
   英雄封面区
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-void);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 2s ease-out 2.5s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-pretitle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(180deg, var(--color-light) 0%, var(--color-solar) 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-stone);
  letter-spacing: 0.2em;
  margin-bottom: 2.5rem;
}

.hero-author {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-muted);
  letter-spacing: 0.15em;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 4s forwards;
}

.hero-scroll span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* 吴哥塔剪影 */
.angkor-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  z-index: 5;
  pointer-events: none;
}

/* ============================================================
   分隔线
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0;
  opacity: 0.3;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.4));
}

.divider-ornament::after {
  background: linear-gradient(270deg, transparent, rgba(212,160,23,0.4));
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* ============================================================
   引言区
   ============================================================ */
#preface {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-void);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.preface-quote {
  max-width: 600px;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.8;
  color: var(--color-light);
  font-family: var(--font-body);
  position: relative;
}

.preface-quote::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-size: 5rem;
  color: rgba(212, 160, 23, 0.15);
  font-family: var(--font-deco);
  line-height: 1;
}

.preface-char {
  opacity: 0;
  display: inline;
  transition: opacity 0.05s ease;
}

.preface-char.visible {
  opacity: 1;
}

.preface-attribution {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
}

/* ============================================================
   通用章节结构
   ============================================================ */
.chapter-section {
  padding: var(--section-padding);
  max-width: 100%;
  overflow: hidden;
}

.chapter-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 350px;
  overflow: hidden;
  margin-bottom: 0;
}

.chapter-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.8);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.chapter-hero.in-view .chapter-hero-img {
  transform: scale(1);
}

.chapter-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(10,8,5,0.3) 60%,
    var(--color-void) 100%
  );
}

.chapter-hero-text {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
  max-width: 700px;
}

.chapter-number {
  font-family: var(--font-deco);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.chapter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(180deg, var(--color-light) 0%, var(--color-solar) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.chapter-tagline {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-stone);
  font-style: italic;
  letter-spacing: 0.05em;
}

/* 章节正文容器 */
.chapter-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* 小节标题 */
.section-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-gold);
  margin: 3rem 0 1.2rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--color-gold);
  letter-spacing: 0.05em;
}

/* 正文段落 */
.chapter-body p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.95;
  margin-bottom: 1.4rem;
  text-align: justify;
  hyphens: auto;
}

/* 首字下沉（序章） */
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: var(--color-gold);
  margin-right: 0.15em;
  margin-top: 0.1em;
  background: linear-gradient(180deg, var(--color-solar), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 金句高亮块 */
.highlight-quote {
  border-left: 3px solid var(--color-gold);
  background: linear-gradient(135deg, rgba(212,160,23,0.06), rgba(212,160,23,0.02));
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  border-radius: 0 4px 4px 0;
  font-size: 1.05rem;
  color: var(--color-solar);
  font-style: italic;
  line-height: 1.8;
  position: relative;
}

.highlight-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-horizon));
}

/* 章节内照片 */
.chapter-photo {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin: 2.5rem 0;
  position: relative;
}

.chapter-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  filter: brightness(0.85) saturate(0.9);
}

.chapter-photo:hover img {
  transform: scale(1.02);
}

.photo-caption {
  background: rgba(10,8,5,0.85);
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

/* 双图并排 */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 2.5rem 0;
}

.photo-pair .chapter-photo {
  margin: 0;
}

.photo-pair .chapter-photo img {
  height: 240px;
}

/* ============================================================
   淡入动效
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   金句卡片墙
   ============================================================ */
#quotes {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--color-void) 0%, #110d06 100%);
}

.quotes-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-light);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.quotes-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quote-card {
  background: linear-gradient(135deg, #1a1208 0%, #0f0c06 100%);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med);
  cursor: default;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.quote-card:hover {
  border-color: var(--color-border-bright);
  transform: translateY(-3px);
}

.quote-card:hover::before {
  opacity: 1;
}

.quote-card-mark {
  font-family: var(--font-deco);
  font-size: 3rem;
  color: rgba(212, 160, 23, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quote-card-text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--color-text);
  font-style: italic;
}

.quote-card-source {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--color-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}

/* ============================================================
   照片画廊
   ============================================================ */
#gallery {
  padding: 6rem 2rem;
  background: var(--color-void);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2.5rem 0 3rem;
}

.gallery-tab {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-med);
}

.gallery-tab:hover,
.gallery-tab.active {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background: rgba(212,160,23,0.05);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  columns: 3;
  column-gap: 0.8rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.8rem;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-med);
  filter: brightness(0.8) saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10,8,5,0.8));
  padding: 1.5rem 0.8rem 0.6rem;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* 画廊类别过滤 */
.gallery-item.hidden {
  display: none;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,4,3,0.96);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

#lightbox.open {
  display: flex;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 3px;
}

#lightbox-caption {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-med);
}

#lightbox-close:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ============================================================
   时间线
   ============================================================ */
#timeline {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #110d06, var(--color-deep));
  position: relative;
}

.timeline-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline-axis {
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-gold), var(--color-gold), transparent);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-date {
  font-family: var(--font-deco);
  font-size: 0.72rem;
  color: var(--color-gold);
  text-align: right;
  padding-top: 0.25rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.timeline-dot {
  position: absolute;
  left: 77px;
  top: 0.3rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid var(--color-void);
  box-shadow: 0 0 8px var(--color-gold);
}

.timeline-content {
  padding-left: 1.5rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-light);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================================
   关于此书
   ============================================================ */
#about {
  padding: 6rem 2rem;
  background: var(--color-void);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-inner p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 1.4rem;
}

/* ============================================================
   页脚
   ============================================================ */
footer {
  background: var(--color-deep);
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.footer-subtitle {
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.footer-ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.4));
}

.footer-ornament-line:last-child {
  background: linear-gradient(270deg, transparent, rgba(212,160,23,0.4));
}

.footer-ornament-diamond {
  width: 5px;
  height: 5px;
  background: var(--color-gold);
  transform: rotate(45deg);
  opacity: 0.5;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-stone);
  letter-spacing: 0.1em;
}

/* ============================================================
   护城河水纹分隔
   ============================================================ */
.water-divider {
  width: 100%;
  height: 80px;
  position: relative;
  overflow: hidden;
  background: var(--color-void);
}

.water-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0.15;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    columns: 2;
  }
  #progress-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  :root {
    --section-padding: 4rem 1.2rem;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    columns: 2;
  }
  .photo-pair {
    grid-template-columns: 1fr;
  }
  .photo-pair .chapter-photo img {
    height: 220px;
  }
  .timeline-axis {
    left: 60px;
  }
  .timeline-item {
    grid-template-columns: 60px 1fr;
  }
  .timeline-dot {
    left: 57px;
  }
  .nav-chapters {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }
  .chapter-hero {
    height: 45vh;
  }
}

/* ============================================================
   辅助：高亮文字、斜体、加粗
   ============================================================ */
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-muted); }
.text-light { color: var(--color-light); }
.italic { font-style: italic; }
.bold { font-weight: 700; }

/* 大段引文 */
blockquote {
  border-left: 2px solid rgba(212,160,23,0.4);
  padding: 0.8rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* 水平规则 */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.2), transparent);
  margin: 3rem 0;
}

/* will-change 优化 */
.chapter-hero-img,
.gallery-item img,
.quote-card,
.fade-up,
.fade-in,
.slide-left {
  will-change: transform, opacity;
}
