:root {
    --ink: #17151d;
    --paper: #f7f3ee;
    --hot: #ff3d6e;
    --violet: #6b3ff2;
    --teal: #0f8f86;
    --gold: #c98a25;
    --line: rgba(23, 21, 29, 0.12);
    --shadow: 0 18px 40px rgba(23, 21, 29, 0.13);
    --radius: 18px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, p, ul { margin: 0; }
  ul { padding: 0; list-style: none; }
  .wrap { width: min(1180px, 92vw); margin: 0 auto; }
  .tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.04em;
    background: rgba(255, 61, 110, 0.12);
    color: #c0224d;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }
  .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(23,21,29,0.2); }
  .btn-hot { background: linear-gradient(120deg, #ff3d6e, #ff7a45); color: #fff; }
  .btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
  .btn-light { background: #fff; color: var(--ink); }

  /* header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 243, 238, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
  .main-nav a {
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 14px;
    color: #4a4553;
    transition: background 0.2s, color 0.2s;
  }
  .main-nav a:hover { background: #ffe3ea; color: #c0224d; }
  .nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 14px;
    cursor: pointer;
    color: var(--ink);
  }

  /* hero */
  .hero {
    background: radial-gradient(1200px 480px at 16% 0%, #ffe7ef 0%, transparent 60%),
                radial-gradient(900px 420px at 92% 12%, #e6e1ff 0%, transparent 62%),
                #fbf8f4;
    padding: 46px 0 0;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 36px;
    align-items: center;
  }
  .hero-copy h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 14px 0 16px;
  }
  .hero-copy h1 em { font-style: normal; color: var(--hot); }
  .hero-copy p.lead { font-size: 16px; color: #4f4959; max-width: 34em; }
  .hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
  .hero-points li {
    font-size: 13px;
    padding: 7px 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(23,21,29,0.05);
  }
  .download-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .device-note { font-size: 13px; color: #79727f; margin-top: 12px; }
  .hero-visual { position: relative; padding: 8px 0 22px; }
  .hero-stack { position: relative; height: 420px; }
  .hero-stack figure {
    position: absolute;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid #fff;
    background: #ded8ee;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  }
  .hero-stack figure img { width: 100%; height: 100%; object-fit: cover; }
  .hero-stack .shot-1 { width: 44%; height: 78%; left: 0; top: 8%; z-index: 3; transform: rotate(-4deg); }
  .hero-stack .shot-2 { width: 42%; height: 62%; right: 4%; top: 0; z-index: 2; transform: rotate(4deg); }
  .hero-stack .shot-3 { width: 40%; height: 48%; right: 16%; bottom: 0; z-index: 4; transform: rotate(-2deg); }
  .hero-stack figure:nth-child(odd) { animation: floaty 6s ease-in-out infinite; }
  .hero-stack figure:nth-child(even) { animation: floaty 7s ease-in-out infinite reverse; }
  @keyframes floaty {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }

  .marquee {
    margin-top: 34px;
    background: #17151d;
    color: #fff;
    overflow: hidden;
    border-top: 3px solid var(--hot);
  }
  .marquee-track {
    display: flex;
    gap: 34px;
    white-space: nowrap;
    padding: 12px 0;
    width: max-content;
    animation: slide 26s linear infinite;
  }
  .marquee-track span {
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(95deg, #ff7a45, #ff3d6e 45%, #a86bff 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* sections shared */
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 30px; max-width: 46em; }
  .section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 12px 0 10px; letter-spacing: -0.01em; }
  .section-head p { color: #5b5563; }

  /* 同款小说魔改 */
  .sec-novel { background: #f2ecff; }
  .novel-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
  .novel-side {
    position: sticky;
    top: 88px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .novel-side img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .novel-side figcaption { padding: 14px 16px; font-size: 14px; color: #5b5563; }
  .novel-side figcaption strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
  .novel-list { display: grid; gap: 10px; }
  .novel-list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    border-left: 4px solid var(--violet);
    transition: transform 0.2s;
  }
  .novel-list li:hover { transform: translateX(4px); }
  .novel-list .num { font-weight: 900; color: var(--violet); font-size: 15px; }
  .novel-list b { display: block; font-size: 15px; }
  .novel-list span { font-size: 13.5px; color: #6a6370; }

  /* AI 短剧 */
  .sec-ai { background: #0f1626; color: #eef1f7; }
  .sec-ai .section-head p { color: #a9b2c6; }
  .ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ai-item {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 14px;
    background: #182135;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
  }
  .ai-item img { width: 108px; height: 100%; min-height: 120px; object-fit: cover; }
  .ai-item div { padding: 12px 14px 12px 0; }
  .ai-item h3 { font-size: 15px; margin-bottom: 4px; color: #fff; }
  .ai-item p { font-size: 13px; color: #9aa6bc; line-height: 1.55; }

  /* 完结魔改剧 + 排片时间轴 */
  .sec-finish { background: #fff6ec; }
  .finish-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
  .finish-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .finish-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(23,21,29,0.06);
    border: 1px solid #f0e3d3;
  }
  .finish-card h3 { font-size: 15px; margin-bottom: 5px; }
  .finish-card p { font-size: 13.5px; color: #6a6370; }
  .finish-card .meta { margin-top: 8px; font-size: 12px; color: #a2813f; }
  .timeline {
    background: #23324a;
    color: #e9eef8;
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow);
  }
  .timeline h3 { font-size: 16px; margin-bottom: 14px; color: #ffd48a; }
  .timeline ul { display: grid; gap: 0; }
  .timeline li {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    padding: 9px 0;
    position: relative;
    font-size: 13.5px;
    color: #c3cddf;
  }
  .timeline li::before {
    content: "";
    position: absolute;
    left: 58px;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.14);
  }
  .timeline li .t { color: #ffbc5e; font-weight: 700; font-size: 13px; }
  .timeline li .dot { position: relative; padding-left: 14px; }
  .timeline li .dot::before {
    content: "";
    position: absolute; left: 0; top: 8px;
    width: 7px; height: 7px; border-radius: 50%;
    background: #ffbc5e;
    box-shadow: 0 0 0 3px rgba(255,188,94,0.2);
  }

  /* 本周热播榜 */
  .sec-rank { background: #eaf7f4; }
  .rank-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .rank-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,143,134,0.1);
    transition: transform 0.25s;
  }
  .rank-card:hover { transform: translateY(-5px); }
  .rank-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .rank-info { padding: 12px 13px 15px; }
  .rank-info h3 { font-size: 14.5px; margin-bottom: 4px; }
  .rank-info p { font-size: 12.5px; color: #6a6370; line-height: 1.5; }
  .rank-info .meta { margin-top: 7px; font-size: 11.5px; color: var(--teal); font-weight: 700; }
  .rank-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .rank-tags span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #eaf7f4; color: #0b6b64; }

  /* 会员权益 */
  .sec-vip { background: #1c1a22; color: #f3eff8; }
  .sec-vip .section-head p { color: #b2abbd; }
  .vip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vip-item {
    background: #26222e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 18px;
  }
  .vip-item h3 { font-size: 15px; margin-bottom: 5px; color: #ffd6a3; }
  .vip-item p { font-size: 13.5px; color: #b7b0c2; }

  /* 隐私安全 + 意见反馈 */
  .sec-safe { background: #fff; }
  .safe-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .safe-box { background: #f4f7fb; border-radius: var(--radius); padding: 22px; }
  .safe-box h2 { font-size: 22px; margin-bottom: 12px; }
  .safe-box p { color: #5b5563; font-size: 14.5px; margin-bottom: 12px; }
  .faq { display: grid; gap: 10px; }
  .faq-item { background: #fff; border-radius: 12px; padding: 13px 15px; border: 1px solid var(--line); }
  .faq-item dt { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
  .faq-item dd { margin: 0; font-size: 13.5px; color: #655f6c; }
  .feedback-list { display: grid; gap: 9px; }
  .feedback-list li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 11px 14px; border: 1px solid var(--line); font-size: 13.5px; }
  .feedback-list li b { color: var(--teal); }

  /* 意见评论区 */
  .sec-comments { background: #fdf1f4; }
  .comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .comment-card { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 8px 18px rgba(255,61,110,0.07); }
  .comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
  .comment-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #ffe3ea; }
  .comment-head b { font-size: 14px; display: block; }
  .comment-head small { font-size: 11.5px; color: #8a8391; }
  .comment-card p { font-size: 13.5px; color: #5b5563; }

  /* 常见问题 */
  .sec-ask { background: #eef4e7; }
  .ask-list { display: grid; gap: 12px; max-width: 900px; }
  .ask-item { background: #fff; border-radius: 14px; padding: 16px 18px; border-left: 5px solid #7aa353; }
  .ask-item dt { font-weight: 800; font-size: 15px; margin-bottom: 5px; }
  .ask-item dd { margin: 0; font-size: 13.8px; color: #5b5563; }

  /* 下载专区 */
  .sec-download { background: #211b2e; color: #f6f1ff; }
  .download-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
  .download-layout h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
  .download-layout p { color: #bbb2cc; margin-bottom: 20px; }
  .step-list { display: grid; gap: 10px; margin: 18px 0 24px; }
  .step-list li { display: flex; gap: 12px; font-size: 14px; color: #d7cfe6; }
  .step-list b { color: #ffcf7a; min-width: 22px; }
  .download-shot { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
  .download-shot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

  /* gallery */
  .sec-gallery { background: #17151d; overflow: hidden; }
  .sec-gallery h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
  .sec-gallery p { color: #a49dad; margin-bottom: 22px; }
  .gallery-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }
  .gallery-row img {
    width: 170px;
    flex: 0 0 auto;
    border-radius: 12px;
    aspect-ratio: 3/4;
    object-fit: cover;
    scroll-snap-align: start;
    background: #2b2733;
  }

  /* footer */
  .site-footer { background: #f7f3ee; border-top: 1px solid var(--line); padding: 34px 0 90px; }
  .footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; margin-bottom: 26px; }
  .footer-top h3 { font-size: 14px; margin-bottom: 10px; color: #4a4553; }
  .footer-top p, .footer-top a { font-size: 13px; color: #7c7582; }
  .footer-top ul { display: grid; gap: 6px; }
  .footer-top a:hover { color: #c0224d; }
  .footer-bottom { border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; color: #99929f; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
  .footer-bottom a { color: #99929f; }
  .footer-bottom a:hover { color: #c0224d; }

  /* floating download */
  .float-download {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 999px;
    padding: 8px 10px 8px 8px;
    box-shadow: 0 14px 34px rgba(23,21,29,0.25);
    border: 1px solid var(--line);
    max-width: 92vw;
  }
  .float-download img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
  .float-download .f-txt { font-size: 12px; color: #6a6370; line-height: 1.3; }
  .float-download .f-txt b { display: block; font-size: 13px; color: var(--ink); }
  .float-download .btn { padding: 9px 16px; font-size: 13px; }

  /* copy modal */
  .copy-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(23,21,29,0.55);
    padding: 20px;
  }
  .copy-modal.show { display: flex; }
  .copy-box {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    width: min(420px, 100%);
    box-shadow: var(--shadow);
  }
  .copy-box h3 { font-size: 16px; margin-bottom: 10px; }
  .copy-box p { font-size: 13px; color: #6a6370; margin-bottom: 12px; }
  .copy-box input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ink);
    background: #f7f3ee;
    margin-bottom: 14px;
  }
  .copy-box .modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
  .copy-box button { cursor: pointer; font-family: inherit; }

  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-stack { height: 360px; }
    .novel-layout { grid-template-columns: 240px 1fr; gap: 22px; }
    .finish-layout { grid-template-columns: 1fr; }
    .rank-shelf { grid-template-columns: repeat(3, 1fr); }
    .download-layout { grid-template-columns: 1fr 240px; gap: 22px; }
    .comment-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    .nav-toggle { display: inline-block; }
    .main-nav {
      display: none;
      position: absolute;
      left: 4vw;
      right: 4vw;
      top: 62px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 14px;
      box-shadow: var(--shadow);
      padding: 10px;
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
      max-height: 68vh;
      overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 11px 12px; }
    .hero { padding-top: 30px; }
    .hero-stack { height: 300px; }
    .novel-layout { grid-template-columns: 1fr; }
    .novel-side { position: static; max-width: 300px; }
    .finish-grid { grid-template-columns: 1fr; }
    .rank-shelf { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vip-grid { grid-template-columns: 1fr; }
    .safe-layout { grid-template-columns: 1fr; }
    .comment-grid { grid-template-columns: 1fr; }
    .download-layout { grid-template-columns: 1fr; }
    .download-shot { max-width: 260px; }
    .footer-top { grid-template-columns: 1fr; gap: 18px; }
    .download-row .btn { flex: 1 1 42%; font-size: 14px; }
    .ai-item { grid-template-columns: 92px 1fr; }
    .ai-item img { width: 92px; }
    .float-download { gap: 8px; padding: 7px 8px; }
    .float-download .f-txt { display: none; }
    .section { padding: 48px 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track, .hero-stack figure { animation: none; }
    html { scroll-behavior: auto; }
  }