﻿/* ========================================
   越剧经典剧目专题样式表
   越剧《五女拜寿》
   ======================================== */

/* ===== CSS变量定义 ===== */
:root {
  /* 主色调（越剧紫色） */
  --primary: #6B4C9A;
  --primary-light: #8B6BB8;
  --primary-dark: #4A3570;
  
  /* 粉色装饰 */
  --gold: #E8B4B8;
  --gold-light: #F5C8CC;
  --gold-dark: #C48A8E;
  
  /* 纸张色调 */
  --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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}
.nav-links {
  display: flex; gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}
.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 {
  color: var(--gold);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 5px;
}
.nav-toggle span {
  width: 25px; height: 2px;
  background: var(--paper-white);
  transition: all 0.3s ease;
}
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.nav-overlay.show { display: block; }

/* ===== 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.5) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.8) 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;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 72px; font-weight: 900;
  color: var(--paper-white); letter-spacing: 20px;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.2;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-meta {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 40px; flex-wrap: wrap;
}
.hero-meta-item {
  text-align: center;
  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);
}
.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;
}
.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); }
}

/* ===== 区块通用样式 ===== */
.section {
  padding: 80px 0;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  font-size: 14px;
  color: var(--primary-light);
  letter-spacing: 6px;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}
.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-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}
.section-light {
  background: var(--paper-white);
}
.section-dark {
  background: linear-gradient(135deg, #251F35 0%, #352D48 50%, #251F35 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(107,76,154,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,180,184,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.section-dark .section-title {
  color: var(--gold-light);
}
.section-dark .section-eyebrow {
  color: var(--gold);
}
.section-dark .section-desc {
  color: rgba(255,255,255,0.75);
}

/* ===== 剧目概览 ===== */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.overview-content h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 4px;
  position: relative;
  padding-bottom: 16px;
}
.overview-content h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
}
.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(107,76,154,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  border: 1px solid rgba(107,76,154,0.2);
  transition: all 0.3s ease;
}
.overview-tag:hover {
  background: var(--primary);
  color: var(--paper-white);
  transform: translateY(-2px);
}
.overview-visual {
  width: 100%; height: 400px;
  background: url('images/overview-illustration.jpg') center/cover no-repeat;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}
.overview-visual:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* ===== 剧情详解 ===== */
.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: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(232,180,184,0.2);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  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(232,180,184,0.3);
  flex-shrink: 0;
}
.plot-content h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold-light);
  margin-bottom: 12px;
  letter-spacing: 3px;
}
.plot-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
}

/* ===== 经典唱段 ===== */
.arias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.aria-card {
  padding: 32px;
  background: linear-gradient(135deg, #FDFBF5 0%, #F9F4E8 100%);
  border: 1px solid rgba(107,76,154,0.15);
  border-radius: 16px;
  transition: all 0.4s ease;
  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: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-dark);
  margin-bottom: 8px;
  letter-spacing: 2px;
  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;
}
.aria-card-type {
  font-size: 13px;
  color: var(--primary);
  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: 40px 32px;
  background: linear-gradient(135deg, rgba(107,76,154,0.1) 0%, rgba(232,180,184,0.05) 100%);
  border: 1px solid rgba(232,180,184,0.2);
  border-radius: 16px;
  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 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-dark);
  margin-bottom: 20px;
  letter-spacing: 4px;
  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 {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.9;
}

/* ===== 艺术特色 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.feature-card {
  padding: 32px;
  background: linear-gradient(135deg, #FDFBF5 0%, #F9F4E8 100%);
  border: 1px solid rgba(107,76,154,0.15);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  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%);
}
.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-dark);
  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: 40px 32px;
  background: linear-gradient(135deg, rgba(107,76,154,0.1) 0%, rgba(232,180,184,0.05) 100%);
  border: 1px solid rgba(232,180,184,0.2);
  border-radius: 16px;
  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 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 4px;
}
.master-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}

/* ===== 文化影响 ===== */
.influence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.influence-card {
  padding: 32px;
  background: linear-gradient(135deg, #FDFBF5 0%, #F9F4E8 100%);
  border: 1px solid rgba(107,76,154,0.15);
  border-radius: 16px;
  transition: all 0.4s ease;
  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%);
}
.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-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.influence-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 资源下载 ===== */
.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(107,76,154,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(107,76,154,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 {
  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);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--ink-black);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.8);
  border-top: 3px solid var(--gold);
}
.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);
  transition: width 0.3s ease;
}
.footer-section h4:hover::after {
  width: 60px;
}
.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);
}

/* ===== 滚动条样式 ===== */
::-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);
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px; right: -100%;
    width: 280px; height: calc(100vh - 70px);
    background: var(--ink-black);
    flex-direction: column;
    padding: 32px;
    transition: right 0.3s ease;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 48px;
    letter-spacing: 12px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-meta {
    gap: 16px;
  }
  .hero-meta-item {
    padding: 12px 16px;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 28px;
    letter-spacing: 3px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .overview-visual {
    height: 300px;
  }
  .plot-item {
    flex-direction: column;
    gap: 16px;
  }
  .arias-grid, .features-grid, .masters-grid, .influence-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .download-card.featured {
    transform: none;
  }
  .download-card.featured:hover {
    transform: translateY(-8px);
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
