:root {
    --paper: #F7F0E3;
    --cinnabar: #B7342B;
    --cinnabar-dark: #7C1D18;
    --ink: #241E1C;
    --gold: #B9924B;
    --bamboo: #5B7A63;
    --font-serif: "Songti SC", "SimSun", "Source Han Serif SC", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(183, 52, 43, 0.03) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(185, 146, 75, 0.05) 0%, transparent 40%);
  }

  h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: normal; }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }
  ul { list-style: none; }

  /* 导航 */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 72px;
    background: rgba(247, 240, 227, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(185, 146, 75, 0.3);
    z-index: 1000;
    transition: height 0.3s;
  }
  .site-header.shrink { height: 60px; }
  .nav-container {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
  }
  .brand { display: flex; align-items: center; gap: 8px; }
  .brand img { height: 32px; width: auto; }
  .brand span { font-family: var(--font-serif); font-size: 20px; color: var(--cinnabar-dark); font-weight: bold; }
  
  .nav-links { display: flex; gap: 20px; font-size: 15px; }
  .nav-links a { transition: color 0.2s; }
  .nav-links a:hover { color: var(--cinnabar); }
  
  .nav-actions { display: flex; align-items: center; gap: 16px; }
  .search-box {
    display: flex; align-items: center;
    border: 1px solid var(--gold); border-radius: 20px;
    padding: 4px 12px; background: #fff;
  }
  .search-box input { border: none; outline: none; background: transparent; font-size: 14px; width: 120px; font-family: var(--font-sans); }
  .search-box button { background: none; border: none; cursor: pointer; color: var(--cinnabar); font-size: 14px; }
  
  .btn-download-sm {
    background: var(--cinnabar); color: #fff;
    padding: 8px 20px; border-radius: 4px;
    font-size: 14px; transition: background 0.2s;
  }
  .btn-download-sm:hover { background: var(--cinnabar-dark); }
  .mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }

  /* 首屏 */
  .hero {
    padding-top: 72px;
    background: var(--cinnabar-dark);
    color: var(--paper);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
  }
  .curtain {
    position: absolute; top: 0; bottom: 0; width: 50%;
    background: linear-gradient(90deg, #5a0e0a, #7C1D18);
    z-index: 10;
    transition: clip-path 0.8s ease-in-out;
  }
  .curtain.left { left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .curtain.right { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .curtain.open.left { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  .curtain.open.right { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }

  .hero-content {
    max-width: 1200px; margin: 0 auto; padding: 40px 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    position: relative; z-index: 5;
  }
  .hero-text h1 { font-size: 48px; margin-bottom: 16px; line-height: 1.2; }
  .hero-text p { font-size: 18px; margin-bottom: 24px; opacity: 0.9; }
  
  .data-row { display: flex; gap: 32px; margin-bottom: 40px; }
  .data-item { display: flex; flex-direction: column; }
  .data-num { font-family: var(--font-serif); font-size: 28px; color: var(--gold); }
  .data-label { font-size: 14px; opacity: 0.8; }

  .download-btns { display: flex; gap: 24px; flex-wrap: wrap; }
  .btn-plaque {
    display: flex; align-items: center; justify-content: center;
    width: 220px; height: 64px;
    background: linear-gradient(180deg, #6b4e31, #4a321d);
    border: 2px solid var(--gold); border-radius: 6px;
    color: var(--gold); font-size: 20px; font-family: var(--font-serif);
    position: relative; transition: transform 0.2s;
  }
  .btn-plaque:hover { transform: translateY(-2px); }
  .btn-plaque::before, .btn-plaque::after {
    content: ''; position: absolute; width: 6px; height: 6px;
    background: var(--gold); border-radius: 50%;
  }
  .btn-plaque::before { top: 6px; left: 6px; }
  .btn-plaque::after { bottom: 6px; right: 6px; }

  .hero-cards { position: relative; display: flex; gap: 16px; justify-content: flex-end; }
  .main-card {
    width: 240px; background: var(--ink); border: 2px solid var(--gold);
    border-radius: 8px; overflow: hidden; padding: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  .main-card img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 12px; }
  .main-card h3 { font-size: 18px; margin-bottom: 8px; }
  .main-card .tag { background: var(--cinnabar); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 2px; }
  
  .side-cards { display: flex; flex-direction: column; gap: 12px; }
  .side-card {
    width: 120px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px; padding: 8px;
  }
  .side-card img { width: 100%; height: auto; border-radius: 2px; margin-bottom: 6px; }
  .side-card h3 { font-size: 14px; margin-bottom: 4px; }
  .side-card span { font-size: 12px; color: var(--gold); }

  /* 通用区块 */
  section { padding: 80px 24px; scroll-margin-top: 72px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
  .seal-tag {
    writing-mode: vertical-lr; text-orientation: upright;
    background: var(--cinnabar); color: #fff;
    padding: 8px 4px; border-radius: 4px; font-size: 14px; font-family: var(--font-serif);
  }
  .section-header h2 { font-size: 32px; color: var(--ink); }

  /* 热播推荐 */
  .hot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .hot-main-card { background: #fff; border: 1px solid var(--gold); border-radius: 8px; overflow: hidden; padding: 20px; display: flex; gap: 20px; }
  .hot-main-card img { width: 140px; height: auto; object-fit: cover; border-radius: 4px; }
  .hot-main-info h3 { font-size: 24px; margin-bottom: 12px; }
  .hot-main-info p { color: #666; margin-bottom: 16px; }
  .hot-sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hot-sub-card { background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 12px; display: flex; gap: 12px; align-items: center; }
  .hot-sub-card img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
  .hot-sub-info h4 { font-size: 16px; margin-bottom: 4px; }
  .hot-sub-info span { font-size: 12px; color: #999; }

  /* 更新日历 */
  .calendar-box { background: #fff; border: 1px solid var(--gold); border-radius: 8px; padding: 24px; }
  .calendar-row { display: flex; gap: 20px; border-bottom: 1px dashed #eee; padding: 20px 0; }
  .calendar-row:last-child { border-bottom: none; }
  .time-node { width: 80px; height: 80px; border-radius: 50%; background: var(--paper); border: 2px solid var(--cinnabar); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; color: var(--cinnabar); flex-shrink: 0; }
  .time-content { flex: 1; display: flex; gap: 16px; overflow-x: auto; }
  .time-drama { display: flex; gap: 12px; align-items: center; }
  .time-drama img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; }
  .time-drama span { font-size: 14px; }

  /* 排行榜 */
  .rank-list { background: #fff; border: 1px solid var(--gold); border-radius: 8px; padding: 20px; }
  .rank-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-bottom: 1px solid #eee; }
  .rank-item.top1 { background: rgba(185, 146, 75, 0.1); border: 1px solid var(--gold); border-radius: 4px; margin-bottom: 8px; }
  .rank-num { width: 30px; text-align: center; font-family: var(--font-serif); font-size: 20px; }
  .rank-num.gold { color: var(--gold); }
  .rank-item img { width: 40px; height: 60px; object-fit: cover; border-radius: 2px; }
  .rank-info { flex: 1; display: flex; justify-content: space-between; align-items: center; }
  .rank-info h4 { font-size: 16px; }
  .rank-heat { font-family: var(--font-serif); color: var(--cinnabar); }

  /* 题材分类 */
  .genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .genre-card { background: #fff; border: 1px solid var(--gold); border-radius: 8px; padding: 20px; text-align: center; transition: transform 0.3s; }
  .genre-card:hover { transform: translateY(-4px); }
  .genre-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--cinnabar-dark); }
  .genre-card p { font-size: 14px; color: #666; }

  /* 独播首发 */
  .premiere-box { background: var(--cinnabar-dark); color: var(--paper); border-radius: 8px; padding: 40px; display: flex; gap: 40px; }
  .premiere-main { flex: 1; }
  .premiere-main img { width: 100%; max-width: 200px; border-radius: 8px; margin-bottom: 20px; }
  .premiere-list { flex: 1; display: flex; flex-direction: column; gap: 16px; }
  .premiere-item { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
  .premiere-item img { width: 40px; height: 60px; object-fit: cover; border-radius: 4px; }

  /* 免费专区 */
  .free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .free-card { background: #fff; border: 1px solid #e0d8c8; border-radius: 8px; padding: 16px; text-align: center; position: relative; }
  .free-card img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 12px; }
  .free-card h3 { font-size: 16px; margin-bottom: 8px; }
  .free-seal { display: inline-block; background: var(--cinnabar); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 2px; margin-top: 8px; }

  /* 用户评价 */
  .review-stats { display: flex; gap: 40px; margin-bottom: 40px; }
  .stat-item h3 { font-size: 32px; color: var(--cinnabar); font-family: var(--font-serif); }
  .stat-item p { font-size: 14px; color: #666; }
  .review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .review-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px; }
  .review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .review-header img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cinnabar); object-fit: cover; }
  .review-header h4 { font-size: 14px; }
  .stars { color: var(--gold); font-size: 12px; }
  .review-text { font-size: 14px; color: #444; line-height: 1.6; }

  /* 常见问题 */
  .faq-list { display: flex; flex-direction: column; gap: 16px; }
  .faq-item { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
  .faq-q { padding: 20px; display: flex; justify-content: space-between; cursor: pointer; font-weight: bold; }
  .faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; color: #666; }
  .faq-item.active .faq-a { padding: 0 20px 20px; max-height: 200px; }

  /* 下载区 */
  .download-section { background: var(--cinnabar-dark); color: var(--paper); text-align: center; }
  .download-section h2 { margin-bottom: 40px; font-size: 32px; }
  .download-steps { display: flex; gap: 24px; margin-bottom: 40px; justify-content: center; flex-wrap: wrap; }
  .step-card { flex: 1; min-width: 200px; background: rgba(255,255,255,0.1); padding: 24px; border-radius: 8px; text-align: left; }
  .step-card h3 { margin-bottom: 12px; color: var(--gold); }
  .step-card p { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }

  /* 页脚 */
  .site-footer { background: var(--ink); color: #888; padding: 40px 24px; font-size: 12px; text-align: center; }
  .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; }
  .footer-links a { color: #aaa; }
  .footer-links a:hover { color: #fff; }
  .copyright { margin-bottom: 8px; }
  .copyright a { color: #aaa; text-decoration: underline; }

  /* 移动端底部悬浮栏 */
  .mobile-sticky-dl {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(247, 240, 227, 0.98);
    border-top: 1px solid var(--gold);
    padding: 12px; z-index: 1000;
    justify-content: space-around; gap: 12px;
  }
  .mobile-sticky-dl .btn-plaque { height: 48px; width: 45%; font-size: 16px; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 36px; }
    .hero-cards { justify-content: center; }
    .hot-grid { grid-template-columns: 1fr; }
    .genre-grid { grid-template-columns: repeat(2, 1fr); }
    .free-grid { grid-template-columns: repeat(3, 1fr); }
    .premiere-box { flex-direction: column; }
  }

  @media (max-width: 768px) {
    .nav-links, .search-box { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-text h1 { font-size: 28px; }
    .data-row { flex-wrap: wrap; justify-content: center; }
    .hero-cards { flex-direction: column; align-items: center; }
    .side-cards { flex-direction: row; }
    .genre-grid, .free-grid { grid-template-columns: repeat(2, 1fr); }
    .review-stats { flex-wrap: wrap; justify-content: center; }
    .download-steps { flex-direction: column; }
    .mobile-sticky-dl { display: flex; }
    body { padding-bottom: 72px; }
  }