:root {
  --bg-paper: #f7f4eb;
  --brand-red: #b32a2f;
  --brand-red-light: #d1454a;
  --ink-black: #1f1f1f;
  --gold: #c39a53;
  --gray-light: #e5e1d8;
  --text-main: #333;
  --text-muted: #666;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-paper);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(247, 244, 235, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px; color: var(--ink-black); }
.logo-area img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 20px; font-size: 15px; color: var(--text-muted); }
.nav-links a { min-height: 48px; display: flex; align-items: center; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand-red); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.search-box {
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 6px 16px;
  background: #fff;
  font-size: 14px;
  outline: none;
  width: 160px;
}
.nav-download-btn {
  background: var(--brand-red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: bold;
  transition: background 0.3s;
}
.nav-download-btn:hover { background: var(--brand-red-light); }

/* Common Section Styles */
section { padding: 60px 0; }
.section-title-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.lantern {
  width: 20px;
  height: 28px;
  background: var(--brand-red);
  border-radius: 50% 50% 20% 20%;
  position: relative;
  animation: swing 3s ease-in-out infinite;
  transform-origin: top center;
}
.lantern::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 6px; background: var(--gold);
}
.lantern::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 6px; background: var(--gold);
}
@keyframes swing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
h2 { font-size: 24px; color: var(--ink-black); display: flex; align-items: center; }
h2 span { color: var(--brand-red); font-size: 14px; margin-left: 10px; font-weight: normal; }
h3 { font-size: 16px; color: var(--ink-black); margin-top: 8px; margin-bottom: 4px; }
.persona-quote {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 3px solid var(--brand-red);
  font-style: italic;
}

/* Hero Section */
.hero {
  padding: 40px 0 60px;
  text-align: center;
  position: relative;
}
.hero h1 { font-size: 36px; color: var(--ink-black); margin-bottom: 15px; letter-spacing: 2px; }
.hero .hook { font-size: 18px; color: var(--brand-red); margin-bottom: 20px; }
.hero-stats {
  display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; font-size: 14px; color: var(--text-muted);
}
.hero-stats span b { color: var(--brand-red); font-size: 18px; margin-right: 4px; }
.hero-stage {
  position: relative;
  max-width: 800px;
  margin: 0 auto 30px;
  background: #eddccb;
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.hero-stage::-webkit-scrollbar { display: none; }
.stage-item {
  flex: 0 0 100px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.1);
}
.stage-item img { width: 100%; height: auto; display: block; }
.hero-btns { display: flex; justify-content: center; gap: 15px; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: bold;
  min-width: 140px;
  min-height: 48px;
  transition: transform 0.2s, background 0.3s;
}
.dl-btn.primary { background: var(--brand-red); color: #fff; }
.dl-btn.secondary { background: var(--ink-black); color: #fff; }
.dl-btn:hover { transform: translateY(-2px); }
.dl-btn.primary:hover { background: var(--brand-red-light); }
.dl-btn.secondary:hover { background: #444; }

/* 当红台柱 - 花灯长廊 */
.lantern-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.lantern-card {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 10px;
  width: calc(20% - 15px);
  min-width: 120px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.lantern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(179, 42, 47, 0.2);
  border-color: var(--brand-red);
}
.lantern-card img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 4px; }
.lantern-card .tag {
  display: inline-block;
  background: var(--brand-red-light);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 8px;
}

/* 开锣时刻表 */
.schedule-group { margin-bottom: 30px; }
.schedule-title { font-size: 18px; font-weight: bold; color: var(--ink-black); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.schedule-title .time { font-size: 14px; color: var(--text-muted); font-weight: normal; }
.schedule-title .status { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #eee; color: #999; }
.schedule-title .status.active { background: var(--brand-red); color: #fff; }
.schedule-list { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
.schedule-list::-webkit-scrollbar { height: 4px; }
.schedule-list::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 2px; }
.schedule-item { flex: 0 0 120px; background: #fff; border-radius: 6px; padding: 8px; box-shadow: var(--shadow); }
.schedule-item img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 4px; }

/* 名角金榜 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  gap: 15px;
}
.rank-num { font-size: 20px; font-weight: bold; color: var(--text-muted); width: 30px; text-align: center; }
.rank-item.top1 { border: 2px solid var(--gold); padding: 20px 15px; }
.rank-item.top1 .rank-num { color: var(--brand-red); font-size: 28px; }
.rank-item img { width: 40px; height: 50px; object-fit: cover; border-radius: 4px; }
.rank-info { flex: 1; }
.rank-info .title { font-weight: bold; font-size: 16px; color: var(--ink-black); }
.rank-info .meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.rank-cert { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: var(--bg-paper); color: var(--gold); border: 1px solid var(--gold); }

/* 行当分区 */
.genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.genre-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}
.genre-card:hover { transform: translateY(-3px); }
.genre-card h3 { margin-bottom: 5px; color: var(--brand-red); }
.genre-card p.sub { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
.genre-covers { display: flex; justify-content: center; gap: 10px; }
.genre-covers img { width: 45px; height: 60px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

/* 独播首发 */
.priv-layout { display: flex; gap: 30px; }
.priv-left { flex: 1; background: #fff; padding: 20px; border-radius: 8px; box-shadow: var(--shadow); display: flex; gap: 20px; }
.priv-left img { width: 120px; height: 165px; object-fit: cover; border-radius: 6px; }
.priv-info { flex: 1; }
.priv-info h3 { font-size: 20px; color: var(--brand-red); margin-bottom: 10px; }
.priv-info p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 15px; }
.priv-btn { background: var(--gold); color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-size: 14px; min-height: 48px; }
.priv-right { flex: 1; }
.priv-list { display: flex; flex-direction: column; gap: 10px; }
.priv-item { display: flex; gap: 15px; align-items: center; background: #fff; padding: 10px; border-radius: 8px; box-shadow: var(--shadow); }
.priv-item img { width: 40px; height: 55px; object-fit: cover; border-radius: 4px; }
.priv-item .info h4 { font-size: 15px; color: var(--ink-black); margin-bottom: 4px; }
.priv-item .info span { font-size: 12px; color: var(--text-muted); }

/* 免费专区 */
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.free-card { background: #fff; padding: 10px; border-radius: 8px; box-shadow: var(--shadow); transition: transform 0.3s; }
.free-card:hover { transform: translateY(-3px); }
.free-card img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 4px; }
.free-card .tag { display: inline-block; font-size: 12px; background: #e8f5e9; color: #388e3c; padding: 2px 6px; border-radius: 4px; margin-top: 8px; }
.free-card h3 { font-size: 14px; }

/* 戏迷留言簿 */
.review-stats { display: flex; justify-content: space-around; text-align: center; margin-bottom: 30px; background: #fff; padding: 20px; border-radius: 8px; box-shadow: var(--shadow); }
.review-stats .stat b { display: block; font-size: 24px; color: var(--brand-red); }
.review-stats .stat span { font-size: 13px; color: var(--text-muted); }
.review-list { display: flex; flex-direction: column; gap: 15px; }
.review-card { background: #fff; padding: 15px 20px; border-radius: 8px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-header img { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: #eee; }
.review-header .name { font-weight: bold; font-size: 14px; color: var(--ink-black); }
.review-header .stars { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text-muted); }

/* 常见问题 */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 15px 20px;
  cursor: pointer;
}
.faq-q { font-weight: bold; color: var(--ink-black); display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.faq-a { font-size: 14px; color: var(--text-muted); margin-top: 10px; display: none; }
.faq-item.active .faq-a { display: block; }

/* 下载安装区 */
.download-steps { display: flex; gap: 20px; margin-bottom: 40px; }
.step-card { flex: 1; background: #fff; padding: 20px; border-radius: 8px; box-shadow: var(--shadow); text-align: center; }
.step-card h4 { font-size: 16px; color: var(--brand-red); margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; text-align: left; }
.download-tickets { display: flex; justify-content: center; gap: 30px; }
.ticket-card {
  flex: 1; max-width: 300px; background: var(--bg-paper); border: 2px dashed var(--brand-red);
  border-radius: 8px; padding: 25px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.ticket-card:hover { background: #fff; }
.ticket-card.ios { border-color: var(--gold); background: #fffaf0; }
.ticket-card.ios:hover { background: #fff; }
.ticket-card a { font-size: 18px; font-weight: bold; color: var(--brand-red); min-height: 48px; display: flex; align-items: center; justify-content: center; width: 100%; }
.ticket-card.ios a { color: var(--gold); }
.ticket-card p { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid var(--gray-light);
  padding: 30px 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { min-height: 48px; display: flex; align-items: center; }
.footer-links a:hover { color: var(--brand-red); }
.footer-meta { font-size: 12px; color: #999; line-height: 1.8; }
.footer-meta a { color: #999; }
.footer-meta a:hover { color: var(--brand-red); }

/* Responsive */
@media (max-width: 992px) {
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-layout { flex-direction: column; }
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 15px; }
  .hero-stage { padding: 10px; gap: 10px; }
  .stage-item { flex: 0 0 80px; }
  .lantern-card { width: calc(33.33% - 10px); }
  .faq-grid { grid-template-columns: 1fr; }
  .download-steps { flex-direction: column; }
  .download-tickets { flex-direction: column; align-items: center; }
  .ticket-card { width: 100%; max-width: 100%; }
  .priv-left { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 480px) {
  .lantern-card { width: calc(50% - 10px); }
  .genre-covers img { width: 40px; height: 55px; }
  .hero-btns { flex-direction: column; width: 100%; padding: 0 20px; }
  .dl-btn { width: 100%; }
}