:root {
    --bg-color: #fdfaf4;
    --primary-red: #c93738;
    --dark-red: #a12223;
    --text-dark: #2b2520;
    --text-muted: #6e655c;
    --gold: #d4af37;
    --gold-light: #f7e8ba;
    --border-color: #e6dbc8;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --radius: 8px;
    --font-serif: "Songti SC", "SimSun", serif;
    --font-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
  }

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

  body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    background-image: radial-gradient(#e6dbc8 1px, transparent 1px);
    background-size: 20px 20px;
    overflow-x: hidden;
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; object-fit: cover; }

  /* 灯笼装饰 */
  .lantern-deco {
    display: inline-block;
    width: 16px;
    height: 24px;
    background: var(--primary-red);
    border-radius: 50% / 30%;
    position: relative;
    margin-right: 10px;
    vertical-align: middle;
    animation: sway 3s ease-in-out infinite;
  }
  .lantern-deco::before {
    content: ''; position: absolute; top: -4px; left: 6px; width: 4px; height: 6px; background: var(--gold); border-radius: 2px;
  }
  .lantern-deco::after {
    content: ''; position: absolute; bottom: -6px; left: 7px; width: 2px; height: 6px; background: var(--gold);
  }
  @keyframes sway {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(6deg); }
  }

  /* 导航栏 */
  .header-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(253, 250, 244, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--border-color);
    padding: 0 5%;
  }
  .nav-container {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; height: 64px;
  }
  .logo-area { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: bold; color: var(--text-dark); }
  .logo-area img { height: 32px; width: auto; border-radius: 4px; }
  .nav-links { display: flex; gap: 20px; font-size: 14px; color: var(--text-muted); }
  .nav-links a:hover { color: var(--primary-red); }
  .nav-search { display: flex; align-items: center; gap: 10px; }
  .nav-search input {
    border: 1px solid var(--border-color); border-radius: 20px; padding: 6px 14px; outline: none; background: #fff; font-size: 13px; width: 140px;
  }
  .nav-btn {
    background: var(--primary-red); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold;
  }
  .nav-btn:hover { background: var(--dark-red); }

  /* 首屏：鸣锣开园 */
  .hero {
    padding: 60px 5% 40px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--bg-color) 100%);
  }
  .hero h1 { font-family: var(--font-serif); font-size: 38px; font-weight: 900; margin-bottom: 16px; letter-spacing: 2px; }
  .hero p.subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; }
  .hero-stats { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; font-size: 14px; color: var(--primary-red); font-weight: bold; }
  
  .stage-area {
    max-width: 800px; margin: 0 auto; position: relative; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;
  }
  .stage-cover {
    width: 110px; height: 160px; border-radius: 6px; border: 3px solid #fff; box-shadow: 0 8px 16px rgba(0,0,0,0.1); transition: transform 0.3s ease; cursor: pointer;
  }
  .stage-cover:hover { transform: translateY(-10px) scale(1.05); border-color: var(--primary-red); }
  .btn-drum {
    margin-top: 30px; background: var(--primary-red); color: #fff; font-size: 20px; font-weight: bold; padding: 16px 40px; border-radius: 30px; border: none; cursor: pointer; box-shadow: 0 6px 0 var(--dark-red); transition: transform 0.1s, box-shadow 0.1s; letter-spacing: 4px;
  }
  .btn-drum:active { transform: translateY(6px); box-shadow: 0 0 0 var(--dark-red); }
  
  .download-btns { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
  .btn-download {
    display: inline-flex; align-items: center; justify-content: center; padding: 14px 36px; border-radius: 25px; font-size: 16px; font-weight: bold; gap: 8px;
  }
  .btn-android { background: var(--primary-red); color: #fff; }
  .btn-ios { background: var(--gold); color: var(--text-dark); }
  .btn-download:hover { filter: brightness(1.05); }

  /* 通用区块 */
  .section-wrap { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
  .section-title { font-family: var(--font-serif); font-size: 26px; font-weight: bold; margin-bottom: 10px; display: flex; align-items: center; }
  .section-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; font-style: italic; }
  
  /* 满堂彩 */
  .lantern-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; }
  .lantern-item {
    background: #fff; border-radius: 6px; box-shadow: var(--shadow); position: relative; transition: transform 0.2s; cursor: pointer; border: 1px solid var(--border-color); padding: 6px;
  }
  .lantern-item:hover { transform: translateY(-5px); border-color: var(--primary-red); box-shadow: 0 8px 20px rgba(201, 55, 56, 0.15); }
  .lantern-item img { width: 100%; height: auto; border-radius: 4px; }
  .lantern-item h3 { font-size: 13px; margin-top: 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: normal;}
  .lantern-item .tag { position: absolute; top: 4px; right: 4px; background: var(--primary-red); color: #fff; font-size: 10px; padding: 2px 4px; border-radius: 2px; }

  /* 开锣时刻表 */
  .schedule-list { display: flex; flex-direction: column; gap: 20px; }
  .schedule-batch { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
  .batch-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px dashed var(--border-color); padding-bottom: 10px; }
  .batch-title { font-size: 18px; font-weight: bold; display: flex; align-items: center; gap: 10px; }
  .batch-status { font-size: 12px; color: var(--text-muted); }
  .batch-status.active { color: var(--primary-red); font-weight: bold; border: 1px solid var(--primary-red); padding: 2px 6px; border-radius: 4px; }
  .batch-covers { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
  .batch-covers img { width: 80px; height: 120px; border-radius: 4px; flex-shrink: 0; }

  /* 名角金榜 */
  .rank-list { display: flex; flex-direction: column; gap: 12px; }
  .rank-item { display: flex; align-items: center; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
  .rank-num { width: 30px; font-size: 20px; font-weight: bold; color: var(--text-muted); text-align: center; font-family: var(--font-serif); }
  .rank-item:nth-child(1) .rank-num { color: var(--primary-red); font-size: 26px; }
  .rank-num.top3 { color: var(--primary-red); }
  .rank-cover { width: 50px; height: 70px; border-radius: 4px; margin: 0 15px; }
  .rank-info { flex: 1; }
  .rank-info h3 { font-size: 16px; margin-bottom: 4px; }
  .rank-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; }
  .rank-tag { font-size: 12px; background: var(--gold-light); color: #8a6d1c; padding: 2px 8px; border-radius: 10px; border: 1px solid var(--gold); }

  /* 行当分区 */
  .genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .genre-box { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
  .genre-box h3 { font-size: 18px; margin-bottom: 10px; color: var(--dark-red); font-family: var(--font-serif); }
  .genre-covers { display: flex; gap: 10px; }
  .genre-covers img { width: 60px; height: 85px; border-radius: 4px; }

  /* 独播首发 */
  .exclusive-layout { display: flex; gap: 40px; align-items: stretch; }
  .exclusive-main { flex: 1; background: #fff; border: 2px solid var(--gold); border-radius: var(--radius); padding: 25px; display: flex; gap: 20px; position: relative; }
  .exclusive-main img { width: 140px; height: 200px; border-radius: 6px; }
  .exclusive-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .exclusive-info h3 { font-size: 22px; margin-bottom: 10px; font-family: var(--font-serif); }
  .exclusive-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
  .exclusive-btn { align-self: flex-start; background: var(--primary-red); color: #fff; padding: 10px 24px; border-radius: 20px; font-size: 14px; font-weight: bold; }
  .exclusive-side { flex: 1; display: flex; flex-direction: column; gap: 10px; }
  .side-item { display: flex; align-items: center; background: #fff; padding: 10px; border-radius: 6px; gap: 15px; border: 1px solid var(--border-color); }
  .side-item img { width: 40px; height: 55px; border-radius: 4px; }
  .side-item span { font-size: 14px; }

  /* 免费专区 */
  .free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
  .free-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; transition: transform 0.2s; }
  .free-card:hover { transform: translateY(-5px); }
  .free-card img { width: 100%; height: 220px; object-fit: cover; }
  .free-card h3 { font-size: 14px; padding: 10px; text-align: center; }
  .free-tag { position: absolute; top: 10px; left: 10px; background: var(--primary-red); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 4px; }

  /* 戏迷留言簿 */
  .reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .review-card { background: #fff; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border-color); box-shadow: var(--shadow); display: flex; gap: 15px; }
  .review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #eee; }
  .review-content { flex: 1; }
  .review-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
  .review-name { font-weight: bold; font-size: 14px; }
  .review-stars { color: var(--gold); font-size: 12px; }
  .review-text { font-size: 13px; color: var(--text-muted); }

  /* 后台问事房 */
  .faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
  .faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; }
  .faq-question { padding: 15px 20px; font-weight: bold; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; }
  .faq-answer { padding: 0 20px 15px; font-size: 14px; color: var(--text-muted); display: block; }
  .faq-item.active { border-color: var(--primary-red); }

  /* 下载安装区 */
  .download-section { text-align: center; background: #fff; padding: 60px 5%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
  .steps-row { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
  .step-card { background: var(--bg-color); padding: 20px; border-radius: var(--radius); width: 220px; text-align: left; }
  .step-card h3 { font-size: 16px; color: var(--primary-red); margin-bottom: 10px; }
  .step-card p { font-size: 13px; color: var(--text-muted); }
  
  .download-ticket-area { display: flex; justify-content: center; gap: 40px; margin-top: 30px; }
  .ticket-btn { display: flex; flex-direction: column; align-items: center; background: #fff; border: 2px dashed var(--primary-red); border-radius: 12px; padding: 20px 40px; width: 240px; transition: transform 0.2s; }
  .ticket-btn:hover { transform: translateY(-3px); background: #fff9f9; }
  .ticket-btn.ios { border-color: var(--gold); }
  .ticket-btn.ios:hover { background: #fffcf0; }
  .ticket-title { font-size: 18px; font-weight: bold; margin-bottom: 5px; }
  .ticket-sub { font-size: 12px; color: var(--text-muted); }

  /* 页脚 */
  footer { background: #2b2520; color: #aaa; padding: 40px 5% 20px; font-size: 12px; text-align: center; }
  .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
  .footer-links a { color: #aaa; }
  .footer-links a:hover { color: #fff; }
  .footer-copy { line-height: 2; }

  /* 响应式 */
  @media (max-width: 768px) {
    .nav-links, .nav-search { display: none; }
    .hero h1 { font-size: 28px; }
    .stage-area { gap: 10px; }
    .stage-cover { width: 90px; height: 130px; }
    .download-btns { flex-direction: column; align-items: center; gap: 15px; }
    .btn-download { width: 100%; max-width: 300px; }
    
    .exclusive-layout { flex-direction: column; }
    .reviews-grid { grid-template-columns: 1fr; }
    .download-ticket-area { flex-direction: column; align-items: center; gap: 20px; }
    .ticket-btn { width: 100%; max-width: 300px; }
    
    .free-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (prefers-reduced-motion: reduce) {
    .lantern-deco { animation: none; }
    .stage-cover { transition: none; }
    .free-card, .lantern-item, .ticket-btn { transition: none; }
  }