/* ==========================================================
   京剧下载专题页样式表
   中国戏曲网 www.china140.com/jingju-download/
   京剧主色 #8B0000 · 深浅交替区块 · 移动端自适应
   ========================================================== */

:root {
  /* 京剧主色调（深红） */
  --primary: #8B0000;
  --primary-light: #B01E1E;
  --primary-dark: #6E0000;
  --primary-deep: #450000;

  /* 金色装饰 */
  --gold: #C9A24B;
  --gold-light: #E3C27A;
  --gold-dark: #A07E2E;

  /* 区块底色 */
  --paper-light: #FBF5F1;
  --paper-white: #FFFFFF;
  --paper-cream: #F6E9E2;
  --dark-tint: #4A0D0D;
  --dark-solid: #2B0808;

  /* 文字 */
  --ink-black: #2E201E;
  --ink-gray: #4F3D3A;
  --ink-muted: #7E6B68;
  --text-on-dark: #FBF0EC;
  --text-on-dark-sub: #D8BFB8;

  /* 字体 */
  --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: 72px 0;
  --radius: 10px;

  /* 阴影 */
  --shadow-soft: 0 4px 18px rgba(69, 0, 0, 0.08);
  --shadow-card: 0 6px 24px rgba(69, 0, 0, 0.14);
  --shadow-hover: 0 10px 30px rgba(69, 0, 0, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink-black);
  background: var(--paper-white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ============ 导航栏 ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(43, 8, 8, 0.96);
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
  transition: background 0.3s ease;
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 2px;
}
.nav-brand .brand-accent { color: var(--gold-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-on-dark-sub);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-cta {
  padding: 7px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--dark-solid); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
}

/* ============ Hero 首屏 ============ */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark-solid);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 8, 8, 0.55) 0%, rgba(43, 8, 8, 0.35) 45%, rgba(69, 0, 0, 0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 24px;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 999px;
  padding: 6px 20px;
  margin-bottom: 26px;
  background: rgba(43, 8, 8, 0.4);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 62px;
  font-weight: 900;
  color: var(--text-on-dark);
  letter-spacing: 6px;
  line-height: 1.25;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.hero-title em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 17px;
  color: var(--text-on-dark-sub);
  line-height: 1.9;
}
.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-badge {
  font-size: 13px;
  color: var(--text-on-dark);
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(139, 0, 0, 0.55);
  border: 1px solid rgba(227, 194, 122, 0.35);
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.45);
}
.btn-primary:hover { background: var(--primary-light); box-shadow: 0 12px 30px rgba(139, 0, 0, 0.55); }
.btn-ghost {
  border: 1px solid rgba(251, 240, 236, 0.6);
  color: var(--text-on-dark);
  background: rgba(43, 8, 8, 0.35);
}
.btn-ghost:hover { background: rgba(251, 240, 236, 0.12); }
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-on-dark-sub);
  font-size: 12px;
  letter-spacing: 2px;
  background: none;
  border: none;
  cursor: pointer;
}
.hero-scroll .scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
}

/* ============ 通用区块 ============ */
.section { padding: var(--section-padding); }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-light { background: var(--paper-light); }
.section-white { background: var(--paper-white); }
.section-dark {
  background: linear-gradient(135deg, var(--dark-solid) 0%, var(--dark-tint) 55%, var(--primary-deep) 100%);
}

/* 区块标题（统一居中对齐） */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .sec-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-dark .section-head .sec-kicker { color: var(--gold-light); }
.section-head .sec-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1.3;
}
.section-dark .section-head .sec-title { color: var(--text-on-dark); }
.section-head .sec-desc {
  margin: 14px auto 0;
  max-width: 680px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.85;
}
.section-dark .section-head .sec-desc { color: var(--text-on-dark-sub); }

/* ============ 概览 ============ */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.overview-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}
.overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 14px;
  pointer-events: none;
}
.overview-copy { align-self: center; }
.overview-copy h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--ink-black);
  margin-bottom: 18px;
  line-height: 1.45;
}
.overview-copy h3 span { color: var(--primary); }
.overview-copy p {
  font-size: 15px;
  color: var(--ink-gray);
  line-height: 1.95;
  margin-bottom: 16px;
}
.overview-points {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.overview-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-gray);
}
.overview-points .pt-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

/* ============ 剧目下载卡片 ============ */
.play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.play-card {
  display: block;
  background: var(--paper-white);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid rgba(69, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.play-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(139, 0, 0, 0.4);
}
.play-card .pc-rank {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 900;
  color: rgba(139, 0, 0, 0.14);
}
.play-card .pc-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.play-card .pc-type {
  display: inline-block;
  font-size: 11px;
  color: var(--primary);
  border: 1px solid rgba(139, 0, 0, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.play-card .pc-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.play-card .pc-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.play-card .pc-more .arrow { transition: transform 0.25s ease; display: inline-block; }
.play-card:hover .pc-more .arrow { transform: translateX(4px); }
.play-more {
  margin-top: 34px;
  text-align: center;
}
.play-more a {
  display: inline-block;
  font-size: 14px;
  color: var(--primary);
  border-bottom: 1px dashed rgba(139, 0, 0, 0.5);
  padding-bottom: 3px;
  transition: color 0.25s ease;
}
.play-more a:hover { color: var(--primary-dark); }

/* ============ 名家名段（深色区块） ============ */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.artist-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}
.artist-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(201, 162, 75, 0.55);
  transform: translateY(-3px);
}
.artist-card .ac-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.artist-card .ac-role {
  font-size: 12px;
  color: var(--text-on-dark-sub);
  margin-bottom: 12px;
}
.artist-card .ac-arias {
  font-size: 13px;
  color: var(--text-on-dark);
  line-height: 1.8;
  text-align: left;
}
.artist-card .ac-arias li {
  list-style: none;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(201, 162, 75, 0.15);
}
.artist-card .ac-arias li:last-child { border-bottom: none; }
.artist-card .ac-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  transition: background 0.25s ease;
}
.artist-card .ac-link:hover { background: rgba(201, 162, 75, 0.15); }

/* ============ 资源类型 ============ */
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.format-card {
  background: var(--paper-white);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.format-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.format-card .fc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(139, 0, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}
.format-card .fc-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 8px;
}
.format-card .fc-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.8;
}
.format-card .fc-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--gold-dark);
  background: rgba(201, 162, 75, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ============ 套餐下载 ============ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pkg-card {
  background: var(--paper-white);
  border-radius: 14px;
  padding: 34px 28px;
  position: relative;
  border: 1px solid rgba(69, 0, 0, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pkg-card.pkg-hot {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 34px rgba(139, 0, 0, 0.22);
}
.pkg-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFF;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.pkg-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-black);
  text-align: center;
  margin-bottom: 6px;
}
.pkg-en {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink-muted);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pkg-price {
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}
.pkg-price .num {
  font-size: 46px;
  font-weight: 900;
  color: var(--primary);
}
.pkg-price .unit {
  font-size: 14px;
  color: var(--ink-gray);
  margin-left: 2px;
}
.pkg-price .note {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.pkg-list {
  list-style: none;
  flex: 1;
  margin-bottom: 22px;
}
.pkg-list li {
  font-size: 13px;
  color: var(--ink-gray);
  padding: 7px 0 7px 22px;
  position: relative;
  line-height: 1.7;
}
.pkg-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pkg-btn {
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.pkg-btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}
.pkg-btn-outline:hover { background: var(--primary); color: #FFF; }
.pkg-btn-solid {
  background: var(--primary);
  color: #FFF;
}
.pkg-btn-solid:hover { background: var(--primary-light); }
.pkg-tip {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}
.pkg-tip .wechat-id {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--paper-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}
.faq-item .fq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 8px;
}
.faq-item .fq-q .q-mark { color: var(--primary); margin-right: 8px; }
.faq-item .fq-a {
  font-size: 14px;
  color: var(--ink-gray);
  line-height: 1.9;
}
.faq-item .fq-a .wx { color: var(--primary); font-weight: 700; }

/* ============ 页脚 ============ */
.footer {
  background: var(--dark-solid);
  color: var(--text-on-dark-sub);
  padding: 56px 0 30px;
  font-size: 13px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
}
.footer-brand { padding-right: 20px; }
.footer-brand .fb-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.footer-brand .fb-name span { color: var(--gold-light); }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-on-dark-sub);
}
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-on-dark-sub);
  padding: 5px 0;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-on-dark-sub);
  font-size: 12px;
}
.footer-bottom .friendly-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-bottom .friendly-links a { color: var(--text-on-dark-sub); }
.footer-bottom .friendly-links a:hover { color: var(--gold-light); }
.footer-bottom .beian { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============ 移动端适配 ============ */
@media (max-width: 992px) {
  .overview-grid { grid-template-columns: 1fr; gap: 28px; }
  .play-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 768px) {
  .navbar-inner { padding: 12px 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--dark-solid);
    padding: 18px 24px;
    gap: 14px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(201, 162, 75, 0.2);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { min-height: 78vh; }
  .hero-title { font-size: 38px; letter-spacing: 3px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 52px 0; }
  .section-head .sec-title { font-size: 27px; }
  .section-head .sec-desc { font-size: 14px; }
  .play-grid { grid-template-columns: 1fr; }
  .artist-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .overview-media img { min-height: 240px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .pkg-price .num { font-size: 38px; }
}
