﻿/* ========================================
   豫剧经典剧目专题统一样式表
   所有豫剧剧目页面、名家页面共用此样式文件
   ======================================== */



/* ===== CSS变量定义 ===== */
:root {
  /* 主色调（豫剧金黄色） */
  --primary: #B8860B;
  --primary-light: #DAA520;
  --primary-dark: #8B6914;
  
  /* 红色装饰 */
  --gold: #CD5C5C;
  --gold-light: #E87A7A;
  --gold-dark: #A04040;
  
  /* 纸张色调 */
  --paper: #F5F1E8;
  --paper-white: #FFFFFF;
  --paper-cream: #EDE6D6;
  --paper-dark: #2A2A2A;
  
  /* 墨色 */
  --ink-black: #1A1A1A;
  --ink-gray: #3A3A3A;
  
  /* 文字颜色 */
  --text-primary: #2C2C2C;
  --text-secondary: #6B6B6B;
  --text-muted: #9A9A9A;
  
  /* 字体 */
  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  
  /* 尺寸 */
  --max-width: 1200px;
  --section-padding: 80px 0;
  
  /* 阴影 */
  --shadow-soft: 0 4px 20px rgba(26,26,26,0.08);
  --shadow-card: 0 6px 24px rgba(26,26,26,0.12);
  --shadow-hover: 0 8px 32px rgba(26,26,26,0.16);
}
/* ===== 全局重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,26,0.97);
  border-bottom: 1px solid rgba(212,175,55,0.3);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(26,26,26,0.98);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.navbar-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-serif); font-size: 18px; font-weight: 700;
  color: var(--gold-light); letter-spacing: 3px;
  display: flex; align-items: center; gap: 10px;
}
.brand-seal {
  width: 32px; height: 32px; background: var(--primary-light);
  color: var(--paper); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-links {
  display: flex; gap: 4px; list-style: none;
}
.nav-links a {
  font-size: 13px; color: rgba(255,255,255,0.85);
  padding: 8px 14px; border-radius: 4px;
  transition: all 0.25s ease; letter-spacing: 1px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light); background: rgba(196,30,58,0.2);
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--gold-light); transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 999;
  opacity: 0; transition: opacity 0.3s ease;
}
.nav-overlay.show { display: block; opacity: 1; }


/* ===== 剧目页面Hero区域 ===== */
.play-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 24px 80px; max-width: 900px;
}
.hero-eyebrow {
  font-size: 14px; color: var(--gold);
  letter-spacing: 4px; margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  color: var(--paper-white); font-size: 14px;
  letter-spacing: 2px; opacity: 0.8;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== 剧目概览插图 ===== */
.overview-visual {
  width: 100%; height: 400px;
  background: url('images/overview-illustration.jpg') center/cover no-repeat;
  border-radius: 12px; box-shadow: var(--shadow-card);
}

/* ===== Hero区域 ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.8) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 24px 80px; max-width: 900px;
}
.hero-subtitle {
  font-family: var(--font-serif); font-size: 16px;
  color: var(--gold); letter-spacing: 8px;
  margin-bottom: 20px; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif); font-size: 72px; font-weight: 900;
  color: var(--paper-white); letter-spacing: 16px;
  margin-bottom: 24px; text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  line-height: 1.2;
}
.hero-title .accent {
  color: var(--gold-light);
}
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,0.95);
  line-height: 2; max-width: 680px; margin: 0 auto 40px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 40px;
}
.hero-tag {
  padding: 8px 20px; border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold-light); font-size: 13px; letter-spacing: 2px;
  border-radius: 4px; background: rgba(26,26,26,0.4);
  transition: all 0.25s ease;
}
.hero-tag:hover {
  background: rgba(212,175,55,0.15);
  border-color: var(--gold);
}
.hero-cta {
  display: inline-block; padding: 14px 40px;
  background: var(--primary-light); color: var(--paper-white);
  font-size: 15px; letter-spacing: 4px; border-radius: 4px;
  transition: all 0.3s ease; font-family: var(--font-serif);
  font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.hero-cta:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); color: rgba(255,255,255,0.6);
  font-size: 12px; letter-spacing: 3px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 区块通用样式 ===== */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.section-header {
  text-align: center; margin-bottom: 56px;
  display: flex; flex-direction: column; align-items: center;
}
.section-eyebrow {
  font-size: 12px; color: var(--primary-light);
  letter-spacing: 6px; margin-bottom: 12px;
  text-transform: uppercase; font-weight: 500;
  display: block; text-align: center;
}
.section-title {
  font-family: var(--font-serif); font-size: 34px; font-weight: 700;
  color: var(--ink-black); letter-spacing: 6px;
  margin-bottom: 16px; position: relative;
  display: block; text-align: center; padding-bottom: 16px;
  width: fit-content; margin-left: auto; margin-right: auto;
}
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 48px; height: 3px;
  background: var(--primary-light); border-radius: 2px;
}
.section-desc {
  font-size: 15px; color: var(--text-secondary);
  max-width: 700px; margin: 0 auto; line-height: 1.9;
}

/* 深浅交替背景 */
.section-light { background: var(--paper-white); }
.section-dark { background: var(--paper-dark); }

/* ===== 剧目概览 ===== */
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.overview-text h3 {
  font-family: var(--font-serif); font-size: 24px;
  color: var(--ink-black); margin-bottom: 20px; letter-spacing: 2px;
}
.overview-text p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 16px;
}
.overview-image {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.img-frame {
  position: absolute; inset: 10px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px; z-index: 1; pointer-events: none;
}
.overview-image img {
  width: 100%; height: auto;
  transition: transform 0.5s ease;
}
.overview-image:hover img { transform: scale(1.03); }
.overview-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.stat-card {
  background: var(--paper-white); padding: 24px;
  border-radius: 12px; text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.stat-num {
  font-family: var(--font-serif); font-size: 28px;
  font-weight: 900; color: var(--primary); margin-bottom: 8px;
}
.stat-label {
  font-size: 13px; color: var(--text-muted); letter-spacing: 1px;
}

/* ===== 经典剧目精选 ===== */
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 24px; border: 1px solid var(--border-light);
  background: var(--paper-white); color: var(--text-secondary);
  font-size: 14px; border-radius: 30px; cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  border-color: var(--primary); color: var(--primary);
}
.filter-btn.active {
  background: var(--primary); color: var(--paper-white);
  border-color: var(--primary);
}
.repertoire-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.play-card {
  background: var(--paper-white); padding: 28px;
  border-radius: 12px; box-shadow: var(--shadow-soft);
  transition: all 0.3s ease; border-top: 4px solid var(--primary);
}
.play-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.play-card-category {
  font-size: 12px; color: var(--gold-dark);
  margin-bottom: 12px; letter-spacing: 1px;
}
.play-card-title {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--ink-black); margin-bottom: 12px;
}
.play-card-meta {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px; line-height: 1.6;
}
.play-card-summary {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 剧目详解 ===== */
.play-detail-item {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 40px; margin-bottom: 48px;
  background: var(--paper-white); padding: 32px;
  border-radius: 12px; box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.play-detail-item:hover {
  box-shadow: var(--shadow-card);
}
.play-detail-visual {
  position: relative; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px; text-align: center;
}
.play-char {
  font-family: var(--font-serif); font-size: 72px;
  font-weight: 900; color: rgba(255,255,255,0.9);
  margin-bottom: 16px; line-height: 1;
}
.play-title-big {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--gold-light); letter-spacing: 4px;
  margin-bottom: 12px;
}
.play-decoration {
  font-size: 12px; color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
}
.play-detail-content h3 {
  font-family: var(--font-serif); font-size: 22px;
  color: var(--ink-black); margin-bottom: 12px;
}
.play-detail-link {
  color: var(--primary); transition: color 0.2s ease;
}
.play-detail-link:hover { color: var(--primary-light); }
.play-origin {
  font-size: 13px; color: var(--gold-dark);
  margin-bottom: 16px;
}
.play-detail-content p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 16px;
}
.play-highlight {
  margin-top: 20px; padding: 16px 20px;
  background: var(--paper-dark); border-left: 3px solid var(--gold);
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.8; border-radius: 0 8px 8px 0;
}
.play-highlight strong {
  color: var(--primary);
}

/* ===== 行当体系 ===== */
.hangdang-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hangdang-card {
  background: var(--paper-white); padding: 32px 24px;
  border-radius: 12px; text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.hangdang-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.hangdang-symbol {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: var(--primary); color: white;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 36px;
  font-weight: 900; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hangdang-name {
  font-family: var(--font-serif); font-size: 24px;
  color: var(--ink-black); margin-bottom: 4px;
}
.hangdang-pinyin {
  font-size: 12px; color: var(--gold-dark);
  letter-spacing: 2px; margin-bottom: 16px;
}
.hangdang-desc {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 16px;
}
.hangdang-types {
  font-size: 12px; color: var(--primary);
  padding-top: 16px; border-top: 1px solid var(--border-light);
}

/* ===== 流派艺术 ===== */
.liupai-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 32px;
}
.liupai-tab {
  padding: 10px 24px; border: none;
  background: var(--paper-dark); color: var(--text-secondary);
  font-size: 14px; border-radius: 30px; cursor: pointer;
  transition: all 0.3s ease;
}
.liupai-tab:hover {
  background: var(--border-light);
}
.liupai-tab.active {
  background: var(--primary); color: var(--paper-white);
}
.liupai-panel {
  display: none; background: var(--paper-white);
  padding: 40px; border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.liupai-panel.active {
  display: block; animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.liupai-panel-header {
  display: flex; align-items: center;
  gap: 24px; margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border-light);
}
.liupai-founder {
  width: 64px; height: 64px; background: var(--primary);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 24px;
  font-weight: 900; flex-shrink: 0;
}
.liupai-info h4 {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--ink-black); margin-bottom: 4px;
}
.liupai-info p {
  font-size: 14px; color: var(--text-muted);
}
.liupai-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-bottom: 32px;
}
.liupai-feature h5 {
  font-family: var(--font-serif); font-size: 16px;
  color: var(--primary); margin-bottom: 8px;
}
.liupai-feature p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.8;
}
.liupai-works {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; border-top: 1px solid var(--border-light);
}
.liupai-work-tag {
  padding: 6px 16px; background: var(--paper-dark);
  color: var(--primary); font-size: 13px;
  border-radius: 20px; transition: all 0.2s ease;
}
.liupai-work-tag:hover {
  background: var(--primary); color: var(--paper-white);
}

/* ===== 艺术特色 ===== */
.art-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.art-card {
  background: var(--paper-white); padding: 32px;
  border-radius: 12px; box-shadow: var(--shadow-soft);
  display: flex; gap: 24px; align-items: flex-start;
  transition: all 0.3s ease;
}
.art-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.art-icon {
  width: 64px; height: 64px; background: var(--primary);
  color: white; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-family: var(--font-serif);
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.art-text h4 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--ink-black); margin-bottom: 12px;
}
.art-text p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 脸谱艺术 ===== */
.lianpu-showcase {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 48px; align-items: center;
}
.lianpu-image {
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.lianpu-image img { width: 100%; height: auto; }
.lianpu-content h3 {
  font-family: var(--font-serif); font-size: 22px;
  color: var(--ink-black); margin-bottom: 16px;
}
.lianpu-content p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 16px;
}
.color-legend {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 24px;
}
.color-item {
  display: flex; align-items: center;
  gap: 10px; font-size: 13px; color: var(--text-secondary);
}
.color-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

/* ===== 名家名段 ===== */
.mingjia-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mingjia-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--paper-white); padding: 24px;
  border-radius: 12px; box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.mingjia-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.mingjia-avatar {
  width: 64px; height: 64px; background: var(--primary);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-family: var(--font-serif);
  font-weight: 900; flex-shrink: 0;
}
.mingjia-info h5 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--ink-black); margin-bottom: 4px;
}
.mingjia-role {
  font-size: 13px; color: var(--gold-dark);
  margin-bottom: 8px;
}
.mingjia-works {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 观演指南 ===== */
.guide-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.guide-step {
  background: var(--paper-white); padding: 32px 24px;
  border-radius: 12px; text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.guide-step:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.guide-step-num {
  width: 48px; height: 48px; background: var(--primary);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-family: var(--font-serif);
  font-weight: 700; margin: 0 auto 20px;
}
.guide-step h5 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--ink-black); margin-bottom: 12px;
}
.guide-step p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
}


/* ===== 页脚 ===== */
.footer {
  background: var(--ink-black); color: rgba(255,255,255,0.8);
  padding: 60px 24px 24px; margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand h4 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--gold-light); margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-col h5 {
  font-size: 14px; color: var(--gold);
  margin-bottom: 16px; letter-spacing: 2px;
}
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px; transition: all 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold-light); padding-left: 4px;
}
.footer-seo-keywords {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-seo-keywords a {
  color: rgba(255,255,255,0.5); transition: color 0.2s ease;
}
.footer-seo-keywords a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}
.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ===== 回到顶部 ===== */
.back-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--primary); color: white;
  border: none; border-radius: 50%;
  cursor: pointer; font-size: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease; z-index: 999;
}
.back-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}
.back-top.show {
  opacity: 1; visibility: visible;
}


/* ===== 资源下载 ===== */
.download-section {
  background: var(--paper-dark);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.download-card {
  background: var(--paper-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.download-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}
.download-card.featured {
  background: var(--paper-white);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(212,175,55,0.2);
}
.download-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-light);
  color: var(--paper-white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.download-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.download-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink-black);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.download-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.download-price {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--primary-light);
  font-weight: 900;
  margin-bottom: 20px;
}
.download-btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--primary-light);
  color: var(--paper-white);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
.download-btn:hover {
  background: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.download-note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
}

/* ===== 移动端适配 ===== */
@media (max-width: 1024px) {
  .repertoire-grid { grid-template-columns: repeat(2, 1fr); }
  .hangdang-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--ink-black);
    flex-direction: column; padding-top: 80px;
    transition: right 0.3s ease; z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 42px; letter-spacing: 8px; }
  .hero-subtitle { font-size: 14px; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 26px; letter-spacing: 4px; }
  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .overview-stats { grid-template-columns: repeat(2, 1fr); }
  .repertoire-grid { grid-template-columns: 1fr; }
  .play-detail-item { grid-template-columns: 1fr; gap: 24px; }
  .hangdang-grid { grid-template-columns: repeat(2, 1fr); }
  .liupai-features { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .lianpu-showcase { grid-template-columns: 1fr; }
  .mingjia-list { grid-template-columns: 1fr; }
  .guide-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; letter-spacing: 6px; }
  .section-title { font-size: 22px; letter-spacing: 3px; }
  .overview-stats { grid-template-columns: 1fr; }
  .hangdang-grid { grid-template-columns: 1fr; }
  .color-legend { grid-template-columns: 1fr; }
}


/* ===== 剧情详解 ===== */
.plot-list {
  display: grid; gap: 32px; max-width: 900px; margin: 0 auto;
}
.plot-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px; background: rgba(255,255,255,0.05);
  border-radius: 12px; border-left: 3px solid var(--gold);
  transition: all 0.3s ease;
}
.plot-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(8px);
}
.plot-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--ink-black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  flex-shrink: 0;
}
.plot-content h4 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
  color: var(--gold-light); margin-bottom: 12px; letter-spacing: 2px;
}
.plot-content p {
  font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.8;
}

/* ===== 经典唱段 ===== */
.arias-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.aria-card {
  padding: 32px; background: var(--paper-white);
  border-radius: 12px; box-shadow: var(--shadow-soft);
  transition: all 0.3s ease; border-top: 3px solid var(--gold);
}
.aria-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.aria-card-title {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--primary); margin-bottom: 8px; letter-spacing: 2px;
}
.aria-card-type {
  font-size: 13px; color: var(--gold); margin-bottom: 16px;
  letter-spacing: 1px;
}
.aria-card-text {
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
}

/* ===== 角色行当 ===== */
.roles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  max-width: 900px; margin: 0 auto;
}
.role-card {
  padding: 32px; background: rgba(255,255,255,0.05);
  border-radius: 12px; text-align: center;
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.3s ease;
}
.role-card:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.role-card h3 {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: var(--gold-dark); margin-bottom: 16px; letter-spacing: 4px;
}
.role-card p {
  font-size: 14px; color: var(--text-primary); line-height: 1.8;
}

/* ===== 艺术特色 ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1000px; margin: 0 auto;
}
.feature-card {
  padding: 32px; background: var(--paper-white);
  border-radius: 12px; box-shadow: var(--shadow-soft);
  text-align: center; transition: all 0.3s ease;
  border-top: 3px solid var(--primary);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.feature-card h3 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--primary); margin-bottom: 16px; letter-spacing: 2px;
}
.feature-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
}

/* ===== 名家演绎 ===== */
.masters-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1000px; margin: 0 auto;
}
.master-card {
  padding: 32px; background: rgba(255,255,255,0.05);
  border-radius: 12px; border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.3s ease;
}
.master-card:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
}
.master-card h3 {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: var(--gold-light); margin-bottom: 16px; letter-spacing: 4px;
  text-align: center;
}
.master-card p {
  font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8;
}

/* ===== 文化影响 ===== */
.influence-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1000px; margin: 0 auto;
}
.influence-card {
  padding: 32px; background: var(--paper-white);
  border-radius: 12px; box-shadow: var(--shadow-soft);
  transition: all 0.3s ease; border-top: 3px solid var(--primary);
}
.influence-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.influence-card h3 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--primary); margin-bottom: 16px; letter-spacing: 2px;
}
.influence-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
}



/* ===== Hero元信息 ===== */
.hero-meta {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 40px; flex-wrap: wrap;
}
.hero-meta-item {
  text-align: center;
}
.hero-meta-label {
  font-size: 12px; color: var(--gold);
  letter-spacing: 2px; margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-meta-value {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--paper-white); font-weight: 600;
  letter-spacing: 2px;
}

/* ===== 剧目概览内容 ===== */
.overview-content h3 {
  font-family: var(--font-serif); font-size: 32px;
  color: var(--primary); margin-bottom: 20px;
  letter-spacing: 4px;
}
.overview-content p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 16px;
}
.overview-tags {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}
.overview-tag {
  padding: 8px 20px; background: rgba(184,134,11,0.1);
  color: var(--primary); border-radius: 20px;
  font-size: 14px; letter-spacing: 1px;
  border: 1px solid rgba(184,134,11,0.2);
}

/* ===== 页脚 ===== */
.footer-content {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; max-width: 1000px; margin: 0 auto 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-section h4 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--paper-white); margin-bottom: 16px;
  letter-spacing: 2px;
}
.footer-section p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.8; margin-bottom: 8px;
}
.footer-section a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.6); line-height: 2;
  transition: all 0.3s ease;
}
.footer-section a:hover {
  color: var(--gold);
}



/* ===== 深色区块文字颜色 ===== */
.section-dark .section-title {
  color: var(--paper-white);
}
.section-dark .section-eyebrow {
  color: var(--gold);
}
.section-dark .section-desc {
  color: rgba(255,255,255,0.7);
}


/* ===== 深色区块重新设计 ===== */

/* 深色区块背景 */
.section-dark {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 50%, #1A1A1A 100%);
  position: relative;
}

/* 深色区块装饰纹理 */
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(184,134,11,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* 深色区块标题样式 */
.section-dark .section-title {
  color: var(--paper-white);
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-dark .section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.section-dark .section-eyebrow {
  color: var(--gold);
  letter-spacing: 6px;
  font-weight: 600;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* 剧情详解卡片重新设计 */
.plot-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.plot-item:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border-left-color: var(--gold-light);
  transform: translateX(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.plot-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--ink-black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

.plot-content h4 {
  color: var(--gold-light);
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.plot-content p {
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
}

/* 角色行当卡片重新设计 */
.role-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.role-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.role-card h3 {
  color: var(--gold-dark);
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 16px;
}

.role-card h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--gold);
}

.role-card p {
  color: var(--text-primary);
  line-height: 1.9;
}

/* 名家演绎卡片重新设计 */
.master-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.master-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.master-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.master-card h3 {
  color: var(--gold-light);
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-align: center;
}

.master-card p {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}


/* ===== 深色区块背景色优化 ===== */
.section-dark {
  background: linear-gradient(135deg, #3A3A3A 0%, #4A4A4A 50%, #3A3A3A 100%) !important;
  position: relative;
}

/* 深色区块装饰纹理优化 */
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(184,134,11,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,0.08) 0%, transparent 50%);
  pointer-events: none;
}


/* ===== 全站统一页脚样式 ===== */
.footer {
  background: var(--ink-black);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.8);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--paper-white);
  margin-bottom: 16px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}

.footer-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-section a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  margin: 0 12px;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* 移动端页脚样式 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ===== 全站统一资源下载区块样式 ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-card {
  background: var(--paper-white);
  border: 1px solid rgba(184,134,11,0.2);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-color: var(--gold);
}

.download-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--gold);
  transform: scale(1.05);
}

.download-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 16px 48px rgba(184,134,11,0.3);
}

.download-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.download-card.featured h3 {
  color: var(--paper-white);
}

.price, .download-price {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}

.download-card.featured .price {
  color: var(--paper-white);
}

.download-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.download-card.featured .download-desc {
  color: rgba(255,255,255,0.9);
}

.download-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: var(--paper-white);
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.download-card.featured .download-btn {
  background: var(--paper-white);
  color: var(--primary);
}

.download-card.featured .download-btn:hover {
  background: rgba(255,255,255,0.9);
}

/* 移动端资源下载区块样式 */
@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .download-card.featured {
    transform: none;
  }
  
  .download-card.featured:hover {
    transform: translateY(-8px);
  }
}


/* ===== 页面细节优化 ===== */

/* 全局细节优化 */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 导航栏细节优化 */
.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links a {
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero区域细节优化 */
.hero-title {
  text-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: 20px;
}

.hero-subtitle {
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-meta-item {
  padding: 16px 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

/* 区块标题细节优化 */
.section-title {
  font-weight: 700;
  letter-spacing: 4px;
}

.section-eyebrow {
  font-weight: 600;
  text-transform: uppercase;
}

/* 剧目概览细节优化 */
.overview-content h3 {
  position: relative;
  padding-bottom: 16px;
}

.overview-content h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
}

.overview-tag {
  transition: all 0.3s ease;
}

.overview-tag:hover {
  background: var(--primary);
  color: var(--paper-white);
  transform: translateY(-2px);
}

.overview-visual {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
}

.overview-visual:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* 经典唱段细节优化 */
.aria-card {
  position: relative;
  overflow: hidden;
}

.aria-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.aria-card-title {
  position: relative;
  padding-left: 16px;
}

.aria-card-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  background: var(--gold);
  border-radius: 2px;
}

/* 艺术特色细节优化 */
.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}

/* 文化影响细节优化 */
.influence-card {
  position: relative;
  overflow: hidden;
}

.influence-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}

/* 页脚细节优化 */
.footer {
  border-top: 3px solid var(--gold);
}

.footer-section h4::after {
  transition: width 0.3s ease;
}

.footer-section h4:hover::after {
  width: 60px;
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* 选中文本样式优化 */
::selection {
  background: var(--gold);
  color: var(--paper-white);
}


/* ===== 配色优化 ===== */

/* 深色区块背景优化（与主色调协调） */
.section-dark {
  background: linear-gradient(135deg, #2D2518 0%, #3D3325 50%, #2D2518 100%) !important;
  position: relative;
}

/* 深色区块装饰纹理优化 */
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(184,134,11,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(218,165,32,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* 浅色区块背景优化 */
.section-light {
  background: var(--paper-white) !important;
}

/* 卡片背景优化（与主色调协调） */
.feature-card, .aria-card, .influence-card {
  background: linear-gradient(135deg, #FDFBF5 0%, #F9F4E8 100%);
  border: 1px solid rgba(184,134,11,0.15);
}

.role-card, .master-card, .plot-item {
  background: linear-gradient(135deg, rgba(184,134,11,0.1) 0%, rgba(218,165,32,0.05) 100%);
  border: 1px solid rgba(212,175,55,0.2);
}

/* 标题颜色优化（与主色调协调） */
.section-light .section-title {
  color: var(--primary);
}

.section-dark .section-title {
  color: var(--gold-light);
}

.section-light .section-eyebrow {
  color: var(--primary-light);
}

.section-dark .section-eyebrow {
  color: var(--gold);
}

/* 文字颜色优化 */
.section-light .section-desc {
  color: var(--text-secondary);
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.75);
}

/* 卡片标题颜色优化 */
.feature-card h3, .aria-card-title, .influence-card h3 {
  color: var(--primary-dark);
}

.role-card h3, .master-card h3, .plot-content h4 {
  color: var(--gold-light);
}

/* 卡片文字颜色优化 */
.feature-card p, .aria-card-text, .influence-card p {
  color: var(--text-secondary);
}

.role-card p, .master-card p, .plot-content p {
  color: rgba(255,255,255,0.85);
}

