:root {
    --ink: #1d1d1f;
    --ink-soft: #4a4a55;
    --paper: #f7f2e8;
    --paper-2: #fffdf8;
    --line: #d9cfbf;
    --red: #e8473f;
    --blue: #2f5bd7;
    --green: #1f7a53;
    --amber: #d98a17;
    --pink: #f6d7d3;
    --mint: #dcebe1;
    --sky: #dde7f7;
    --sand: #f3e6cd;
    --lav: #e6dff0;
    --radius: 18px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* ============ 头部导航 ============ */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 242, 232, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; gap: 18px;
    padding: 12px 0;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: 34px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
  .brand-name { font-size: 19px; font-weight: 800; letter-spacing: 0.3px; }
  .nav-toggle {
    display: none; margin-left: auto; background: var(--paper-2);
    border: 1px solid var(--line); border-radius: 10px;
    padding: 7px 13px; font-size: 14px; color: var(--ink); cursor: pointer;
  }
  .main-nav { margin-left: auto; }
  .main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; }
  .main-nav a {
    display: block; padding: 7px 11px; font-size: 14px;
    border-radius: 999px; color: var(--ink-soft);
    transition: background .2s, color .2s, transform .2s;
    white-space: nowrap;
  }
  .main-nav a:hover { background: var(--ink); color: var(--paper-2); transform: translateY(-1px); }

  /* ============ 首屏 ============ */
  .hero {
    background:
      radial-gradient(circle at 88% 8%, #ffe0d6 0, transparent 46%),
      radial-gradient(circle at 6% 82%, #dbe6fb 0, transparent 44%),
      var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 44px 0 0;
    overflow: hidden;
  }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
  .hero-kicker {
    display: inline-block; font-size: 13px; letter-spacing: 2px;
    color: var(--red); border: 1px solid var(--red);
    padding: 3px 12px; border-radius: 999px; margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 46px; line-height: 1.22; letter-spacing: -1px;
    font-weight: 900; margin-bottom: 18px;
  }
  .hero h1 em { font-style: normal; color: var(--red); }
  .hero-lead { font-size: 17px; color: var(--ink-soft); margin-bottom: 26px; max-width: 30em; }
  .downloads { display: flex; flex-wrap: wrap; gap: 12px; }
  .dl-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 22px; border-radius: 14px;
    font-size: 15px; font-weight: 700; border: 1px solid var(--ink);
    background: var(--ink); color: var(--paper-2);
    transition: transform .18s, box-shadow .18s, background .18s;
    box-shadow: 0 3px 0 rgba(29,29,31,0.18);
  }
  .dl-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(29,29,31,0.2); }
  .dl-btn.ghost { background: var(--paper-2); color: var(--ink); box-shadow: 0 3px 0 var(--line); }
  .dl-btn .tag {
    font-size: 11px; font-weight: 600; padding: 1px 7px;
    border-radius: 999px; background: var(--red); color: #fff;
  }
  .dl-btn.ghost .tag { background: var(--mint); color: var(--green); }
  .hero-note { margin-top: 16px; font-size: 13px; color: #7d7568; }

  /* 首屏图 */
  .hero-visual { position: relative; }
  .phone-frame {
    border: 10px solid var(--ink); border-radius: 34px;
    overflow: hidden; background: #fff;
    box-shadow: 0 22px 46px rgba(29,29,31,0.2);
    max-width: 320px; margin: 0 auto;
  }
  .phone-frame img { width: 100%; }
  .hero-badge {
    position: absolute; right: 0; bottom: 26px;
    background: var(--paper-2); border: 1px solid var(--line);
    border-radius: 14px; padding: 10px 16px; font-size: 13px;
    box-shadow: 0 10px 22px rgba(29,29,31,0.12);
    line-height: 1.5;
  }
  .hero-badge strong { display: block; font-size: 15px; }
  .slider-dots { display: flex; gap: 6px; margin-top: 16px; }
  .slider-dots span { width: 26px; height: 4px; border-radius: 4px; background: var(--line); }
  .slider-dots span.on { background: var(--red); }

  /* 跑马灯 */
  .marquee {
    margin-top: 40px; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-2); overflow: hidden; padding: 12px 0;
  }
  .marquee-track {
    display: flex; gap: 34px; width: max-content;
    animation: slide 28s linear infinite;
  }
  .marquee-track span {
    font-size: 15px; font-weight: 800; white-space: nowrap;
    background: linear-gradient(90deg, #e8473f, #d98a17 45%, #2f5bd7 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ============ 通用区块 ============ */
  section { padding: 58px 0; }
  .sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 30px; }
  .sec-head h2 { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; }
  .sec-head .no { font-size: 13px; letter-spacing: 2px; color: #999; }
  .sec-head p { font-size: 15px; color: var(--ink-soft); flex-basis: 100%; max-width: 40em; }

  /* 昨日爆款：横向卡片 */
  .sec-hot { background: var(--pink); }
  .hot-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 16px; }
  .hot-card {
    background: var(--paper-2); border-radius: var(--radius);
    padding: 16px 16px 18px; border: 1px solid #ecc8c3;
    transition: transform .2s, box-shadow .2s;
  }
  .hot-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(190,90,80,0.16); }
  .hot-card .rank { font-size: 12px; font-weight: 800; color: var(--red); letter-spacing: 1px; }
  .hot-card h3 { font-size: 16px; margin: 6px 0 6px; line-height: 1.4; }
  .hot-card p { font-size: 13px; color: #6d635c; }
  .hot-card .meta { margin-top: 10px; font-size: 12px; color: #8b8178; display: flex; justify-content: space-between; }

  /* 完结精选：图文左右结构 */
  .sec-finish { background: var(--mint); }
  .finish-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: start; }
  .finish-poster { position: sticky; top: 86px; }
  .finish-poster .phone-frame { border-width: 8px; max-width: 300px; }
  .finish-poster figcaption { margin-top: 14px; font-size: 13px; color: #4a6459; text-align: center; }
  .finish-list { list-style: none; display: grid; gap: 10px; counter-reset: f; }
  .finish-list li {
    counter-increment: f;
    background: var(--paper-2); border: 1px solid #c2dbcd;
    border-radius: 12px; padding: 12px 16px 12px 48px;
    position: relative; font-size: 14px; color: #33473c;
  }
  .finish-list li::before {
    content: counter(f, decimal-leading-zero);
    position: absolute; left: 14px; top: 12px;
    font-size: 13px; font-weight: 900; color: var(--green);
  }
  .finish-list strong { color: var(--ink); }

  /* 飙升热榜：时间轴 */
  .sec-rise { background: var(--sky); }
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px; background: #b8caee;
  }
  .timeline li { list-style: none; position: relative; padding: 0 0 22px 18px; }
  .timeline li::before {
    content: ""; position: absolute; left: -25px; top: 7px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--paper-2); border: 3px solid var(--blue);
  }
  .timeline .t-time { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
  .timeline .t-body { background: var(--paper-2); border: 1px solid #c7d6f2; border-radius: 12px; padding: 12px 16px; margin-top: 5px; }
  .timeline .t-body h3 { font-size: 15px; margin-bottom: 3px; }
  .timeline .t-body p { font-size: 13px; color: #5a6a85; }

  /* 漫剧放映厅：三联结构 */
  .sec-cinema { background: var(--sand); }
  .cinema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cinema-col { background: var(--paper-2); border: 1px solid #e0cba2; border-radius: var(--radius); padding: 18px; }
  .cinema-col h3 { font-size: 17px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--sand); }
  .cinema-col ul { list-style: none; display: grid; gap: 9px; }
  .cinema-col li { font-size: 13.5px; color: #6b5c44; padding-left: 14px; position: relative; }
  .cinema-col li::before { content: "·"; position: absolute; left: 2px; color: var(--amber); font-weight: 900; }
  .cinema-col li b { color: var(--ink); }
  .cinema-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
  .cinema-strip figure { border-radius: 14px; overflow: hidden; border: 1px solid #e0cba2; background: #fff; }
  .cinema-strip img { width: 100%; height: 150px; object-fit: cover; }
  .cinema-strip figcaption { font-size: 12.5px; padding: 8px 10px; color: #6b5c44; }

  /* 创作者激励：问答 */
  .sec-create { background: var(--lav); }
  .qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .qa { background: var(--paper-2); border: 1px solid #d3c9e2; border-radius: 14px; padding: 16px 18px; }
  .qa .q { font-size: 14.5px; font-weight: 800; margin-bottom: 7px; color: #4a3f61; }
  .qa .q::before { content: "Q "; color: var(--red); }
  .qa .a { font-size: 13.5px; color: #6a6280; }
  .qa .a::before { content: "A "; font-weight: 800; color: var(--green); }

  /* 神评墙 */
  .sec-review { background: #fbe9e6; }
  .review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 15px; }
  .review {
    background: var(--paper-2); border-radius: 14px; padding: 15px 16px;
    border: 1px solid #f0cdc8; display: flex; gap: 11px;
  }
  .review img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid #f0cdc8; }
  .review .who { font-size: 12.5px; font-weight: 800; color: var(--red); }
  .review p { font-size: 13.5px; color: #6b5a58; margin-top: 3px; }

  /* 未成年人保护 */
  .sec-teen { background: #e4eee8; }
  .teen-layout { display: grid; grid-template-columns: 1fr 0.8fr; gap: 32px; align-items: center; }
  .teen-list { list-style: none; display: grid; gap: 12px; }
  .teen-list li {
    background: var(--paper-2); border-left: 4px solid var(--green);
    border-radius: 0 12px 12px 0; padding: 13px 16px; font-size: 14px; color: #39544a;
  }
  .teen-list b { display: block; color: var(--ink); margin-bottom: 2px; font-size: 14.5px; }
  .teen-figure { border-radius: 16px; overflow: hidden; border: 1px solid #c0d8ca; background: #fff; }
  .teen-figure img { width: 100%; height: 240px; object-fit: cover; }
  .teen-figure figcaption { font-size: 13px; padding: 10px 14px; color: #4a6459; }

  /* 意见反馈 */
  .sec-feedback { background: var(--paper-2); border-top: 1px solid var(--line); }
  .fb-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .fb-list { list-style: none; display: grid; gap: 10px; }
  .fb-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; font-size: 13.5px; color: var(--ink-soft); }
  .fb-list b { color: var(--ink); }
  .fb-figure { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
  .fb-figure img { width: 100%; height: 280px; object-fit: cover; }

  /* 客户端下载 */
  .sec-download { background: var(--ink); color: var(--paper-2); padding: 62px 0; }
  .sec-download .sec-head h2 { color: #fff; }
  .sec-download .sec-head p { color: #b6b1a8; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
  .step { border: 1px solid #3b3b42; border-radius: 14px; padding: 16px; background: #26262b; }
  .step span { font-size: 12px; letter-spacing: 1px; color: var(--amber); font-weight: 800; }
  .step h3 { font-size: 15px; margin: 6px 0 4px; color: #fff; }
  .step p { font-size: 13px; color: #a9a49b; }
  .dl-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .sec-download .dl-btn { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); box-shadow: 0 3px 0 #55555e; }
  .sec-download .dl-btn.ghost { background: transparent; color: var(--paper-2); border-color: #55555e; box-shadow: none; }
  .dl-hint { margin-top: 18px; font-size: 12.5px; color: #918c84; }

  /* ============ 浮动下载窗 ============ */
  .float-dl {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 80; display: inline-flex; align-items: center; gap: 9px;
    background: var(--ink); color: #fff; padding: 11px 22px 11px 13px;
    border-radius: 999px; font-size: 14.5px; font-weight: 800;
    box-shadow: 0 10px 26px rgba(29,29,31,0.32);
    white-space: nowrap;
  }
  .float-dl img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
  .float-dl::after { content: "↓"; color: var(--amber); }

  /* 复制弹窗 */
  .copy-modal-mask {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(29,29,31,0.55);
    display: none; align-items: center; justify-content: center; padding: 20px;
  }
  .copy-modal-mask.show { display: flex; }
  .copy-modal {
    background: var(--paper-2); color: var(--ink);
    border-radius: 18px; padding: 24px; max-width: 340px; width: 100%;
    text-align: center; position: relative;
  }
  .copy-modal h3 { font-size: 16px; margin-bottom: 12px; line-height: 1.5; }
  .copy-modal .url {
    word-break: break-all; font-size: 13px; color: var(--blue);
    background: var(--paper); border: 1px dashed var(--line);
    border-radius: 10px; padding: 10px; margin-bottom: 14px;
  }
  .copy-modal button {
    border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
    padding: 10px 24px; border-radius: 10px; cursor: pointer; width: 100%;
  }
  .copy-modal .tip { font-size: 12px; color: #8b8178; margin-top: 10px; }

  /* ============ 页脚 ============ */
  .site-footer {
    background: #141416; color: #8b8880;
    padding: 40px 0 26px; font-size: 13px;
  }
  .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; margin-bottom: 26px; }
  .footer-top h4 { color: #dcd8cf; font-size: 14px; margin-bottom: 10px; }
  .footer-top p { line-height: 1.8; }
  .footer-top ul { list-style: none; display: grid; gap: 7px; }
  .footer-top a:hover { color: #fff; }
  .footer-bottom {
    border-top: 1px solid #2a2a2e; padding-top: 16px;
    display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
    font-size: 12px; color: #6f6b64;
  }
  .footer-bottom a { color: #8b8880; }
  .footer-bottom a:hover { color: #fff; }

  /* ============ 响应式 ============ */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 38px; }
    .hero-grid { gap: 28px; }
    .cinema-grid, .cinema-strip, .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .qa-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .nav-toggle { display: block; }
    .main-nav {
      display: none; position: absolute; left: 0; right: 0; top: 100%;
      background: var(--paper-2); border-bottom: 1px solid var(--line);
      padding: 10px 16px 16px; margin: 0;
      box-shadow: 0 14px 20px rgba(29,29,31,0.08);
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { padding: 11px 8px; border-radius: 8px; border-bottom: 1px solid #f0eae0; }
    .hero { padding-top: 30px; }
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero h1 { font-size: 30px; letter-spacing: -0.4px; }
    .hero-lead { font-size: 15.5px; }
    .dl-btn { flex: 1 1 calc(50% - 12px); justify-content: center; padding: 12px 14px; font-size: 14px; }
    .finish-layout, .teen-layout, .fb-layout { grid-template-columns: 1fr; }
    .finish-poster { position: static; }
    .cinema-grid, .cinema-strip, .steps { grid-template-columns: 1fr; }
    .sec-head h2 { font-size: 24px; }
    section { padding: 42px 0; }
    .hot-rail { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .footer-top { grid-template-columns: 1fr; gap: 20px; }
    .float-dl { bottom: 14px; font-size: 13.5px; padding: 10px 18px 10px 10px; }
    .hero-badge { display: none; }
    .teen-figure img, .fb-figure img { height: 200px; }
    .marquee { margin-top: 26px; }
  }