:root {
    --ink: #1c1424;
    --ink-soft: #4a3d59;
    --paper: #fdf7f0;
    --amber: #ff8a3d;
    --gold: #f5c14a;
    --rose: #ff5c7a;
    --plum: #3b1f4d;
    --plum-light: #5a326f;
    --mint: #d9f2e6;
    --line: rgba(28, 20, 36, 0.12);
    --radius: 18px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    -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; }
  .kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--rose);
    background: rgba(255, 92, 122, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
  }
  h2 { font-size: 26px; line-height: 1.35; letter-spacing: 0.5px; }
  h3 { font-size: 18px; line-height: 1.45; }
  p { color: var(--ink-soft); }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(253, 247, 240, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-bar {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .brand-name { font-weight: 700; font-size: 16px; letter-spacing: 0.5px; }
  .nav-toggle {
    margin-left: auto; display: none;
    background: var(--plum); color: #fff; border: 0;
    border-radius: 10px; padding: 8px 14px; font-size: 14px;
  }
  .main-nav {
    display: flex; flex-wrap: wrap; gap: 6px 4px;
    width: 100%;
  }
  .main-nav a {
    font-size: 14px; padding: 7px 12px; border-radius: 10px;
    color: var(--ink-soft);
    transition: background .25s ease, color .25s ease, transform .25s ease;
  }
  .main-nav a:hover {
    background: linear-gradient(120deg, var(--amber), var(--rose));
    color: #fff; transform: translateY(-1px);
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 34px 0 0;
    background:
      radial-gradient(circle at 12% 10%, rgba(255, 138, 61, 0.20), transparent 46%),
      radial-gradient(circle at 88% 0%, rgba(91, 50, 111, 0.22), transparent 50%),
      linear-gradient(180deg, #fff6ec 0%, #fdf7f0 100%);
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
  }
  .hero-copy h1 {
    font-size: 32px; line-height: 1.32; letter-spacing: 0.5px;
    margin-bottom: 14px;
  }
  .hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--amber), var(--rose));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-copy p.lead { font-size: 15.5px; margin-bottom: 16px; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .hero-tags span {
    font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  }

  .dl-group { display: flex; flex-wrap: wrap; gap: 10px; }
  .dl-btn {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 600;
    padding: 11px 18px; border-radius: 12px;
    background: #fff; border: 1px solid var(--line);
    color: var(--ink);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  }
  .dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(59, 31, 77, 0.14); }
  .dl-btn.primary {
    background: linear-gradient(110deg, var(--amber), var(--rose));
    color: #fff; border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 92, 122, 0.32);
  }
  .dl-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .75; }

  /* hero images */
  .hero-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .hero-stage figure {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 30px rgba(59, 31, 77, 0.16);
    background: #e8dcd2;
    animation: floatY 7s ease-in-out infinite;
  }
  .hero-stage figure:nth-child(2) { animation-delay: 1.6s; }
  .hero-stage figure:nth-child(3) { animation-delay: 3.2s; }
  .hero-stage figure.big { grid-row: span 2; }
  .hero-stage figure img { width: 100%; height: 100%; object-fit: cover; }
  .hero-stage figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 12px 10px;
    font-size: 12.5px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(28, 20, 36, 0.82));
  }
  @keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }

  /* marquee */
  .marquee {
    margin-top: 30px;
    background: linear-gradient(90deg, var(--plum), var(--plum-light), var(--plum));
    overflow: hidden;
    padding: 10px 0;
    white-space: nowrap;
  }
  .marquee-track {
    display: inline-flex;
    animation: scrollX 26s linear infinite;
  }
  .marquee-track span {
    font-size: 14px; font-weight: 700; letter-spacing: 3px;
    padding-right: 34px;
    background: linear-gradient(90deg, var(--gold), var(--rose), var(--amber));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  @keyframes scrollX {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ---------- Sections ---------- */
  section { padding: 54px 0; }
  .sec-head { max-width: 720px; margin-bottom: 26px; }
  .sec-head p { margin-top: 8px; font-size: 15px; }

  /* 1 同款魔改 - 横向色块流 */
  .remix-sec { background: #fff3e4; }
  .remix-rail {
    display: flex; gap: 12px; overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
  }
  .remix-rail::-webkit-scrollbar { height: 6px; }
  .remix-rail::-webkit-scrollbar-thumb { background: rgba(255, 138, 61, 0.45); border-radius: 99px; }
  .remix-item {
    flex: 0 0 152px; scroll-snap-align: start;
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255, 138, 61, 0.22);
  }
  .remix-item img { width: 100%; height: 196px; object-fit: cover; }
  .remix-item .txt { padding: 9px 10px 12px; }
  .remix-item h3 { font-size: 13.5px; margin-bottom: 4px; }
  .remix-item p { font-size: 12px; line-height: 1.55; }

  /* 2 完结魔改剧 - 双列错落 */
  .finish-sec { background: #f3ecfa; }
  .finish-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .finish-card {
    display: grid; grid-template-columns: 88px 1fr; gap: 12px;
    background: #fff; border-radius: 14px; padding: 12px;
    align-items: center;
  }
  .finish-card:nth-child(even) { background: #fffdf5; }
  .finish-card img { width: 88px; height: 112px; object-fit: cover; border-radius: 10px; }
  .finish-card h3 { font-size: 14.5px; margin-bottom: 4px; }
  .finish-card p { font-size: 12.5px; line-height: 1.55; }

  /* 3 本周热播榜 - 排行榜 */
  .rank-sec { background: #0f2231; color: #eaf6ff; }
  .rank-sec .kicker { color: #7dd6ff; background: rgba(125, 214, 255, 0.12); }
  .rank-sec h2 { color: #fff; }
  .rank-sec .sec-head p { color: #a9c4d6; }
  .rank-list { display: grid; gap: 9px; }
  .rank-row {
    display: grid; grid-template-columns: 42px 58px 1fr auto; gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(125, 214, 255, 0.16);
    border-radius: 12px; padding: 9px 14px 9px 9px;
    transition: background .25s ease, transform .25s ease;
  }
  .rank-row:hover { background: rgba(125, 214, 255, 0.14); transform: translateX(3px); }
  .rank-no { font-size: 19px; font-weight: 800; color: #7dd6ff; text-align: center; }
  .rank-row:nth-child(1) .rank-no { color: #ffd166; }
  .rank-row:nth-child(2) .rank-no { color: #d7e6ff; }
  .rank-row:nth-child(3) .rank-no { color: #ff9d7a; }
  .rank-row img { width: 58px; height: 40px; object-fit: cover; border-radius: 8px; }
  .rank-row h3 { font-size: 13.5px; color: #eaf6ff; font-weight: 600; }
  .rank-row p { font-size: 12px; color: #93aec1; }
  .rank-meta { font-size: 12px; color: #7dd6ff; white-space: nowrap; }

  /* 4 用户神评 */
  .review-sec { background: #fff9f0; }
  .review-grid {
    columns: 3;
    column-gap: 14px;
  }
  .review-bubble {
    break-inside: avoid;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
  }
  .review-top { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
  .review-top img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
  .review-top strong { font-size: 13px; }
  .review-top span { font-size: 11px; color: #a795b0; margin-left: auto; }
  .review-bubble p { font-size: 13px; line-height: 1.65; }

  /* 5 会员权益 - 时间轴 + 权益 */
  .vip-sec { background: linear-gradient(160deg, #33203f, #1d1229 62%); color: #f6eefc; }
  .vip-sec .kicker { color: var(--gold); background: rgba(245, 193, 74, 0.14); }
  .vip-sec h2 { color: #fff; }
  .vip-sec .sec-head p, .vip-sec p { color: #c2afcf; }
  .vip-layout {
    display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px;
    align-items: start;
  }
  .vip-poster { border-radius: var(--radius); overflow: hidden; }
  .vip-poster img { width: 100%; height: 100%; object-fit: cover; }
  .timeline { position: relative; padding-left: 22px; }
  .timeline::before {
    content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(180deg, var(--gold), var(--rose));
    opacity: .55;
  }
  .tl-item { position: relative; padding-bottom: 16px; }
  .tl-item::before {
    content: ""; position: absolute; left: -21px; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 3px rgba(245, 193, 74, 0.22);
  }
  .tl-item time { font-size: 12.5px; color: var(--gold); letter-spacing: 1px; font-weight: 700; }
  .tl-item h3 { font-size: 14px; color: #fff; margin: 2px 0 2px; }
  .tl-item p { font-size: 12.5px; line-height: 1.6; }

  /* 6 隐私安全 - 卡片 */
  .privacy-sec { background: #e9f7f0; }
  .privacy-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  }
  .privacy-card {
    background: #fff; border-radius: 14px; padding: 14px 16px;
    border-left: 4px solid var(--mint);
  }
  .privacy-card:nth-child(3n) { border-left-color: #9bd9b8; background: #fbfffd; }
  .privacy-card h3 { font-size: 14px; margin-bottom: 4px; }
  .privacy-card p { font-size: 12.5px; line-height: 1.6; }

  /* 7 意见反馈 */
  .fb-sec { background: #fff1f4; }
  .fb-layout { display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; align-items: center; }
  .fb-list { display: grid; gap: 10px; }
  .fb-item {
    background: #fff; border-radius: 12px; padding: 12px 14px;
    display: grid; grid-template-columns: 26px 1fr; gap: 10px;
    border: 1px solid rgba(255, 92, 122, 0.18);
  }
  .fb-item span.ic {
    width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(120deg, var(--rose), var(--amber));
    color: #fff; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .fb-item h3 { font-size: 13.5px; margin-bottom: 2px; }
  .fb-item p { font-size: 12.5px; line-height: 1.55; }
  .fb-poster { border-radius: var(--radius); overflow: hidden; }
  .fb-poster img { width: 100%; height: 100%; object-fit: cover; }

  /* 8 常见问题 */
  .faq-sec { background: #eef3ff; }
  .faq-list { display: grid; gap: 10px; max-width: 880px; }
  .faq-item {
    background: #fff; border-radius: 12px; padding: 14px 16px;
    border: 1px solid rgba(70, 100, 180, 0.14);
  }
  .faq-item h3 { font-size: 14px; margin-bottom: 4px; color: #22336b; }
  .faq-item p { font-size: 13px; line-height: 1.65; }

  /* 9 下载专区 */
  .download-sec { background: linear-gradient(150deg, #2a1738, #3d2452 55%, #25142f); color: #fff; }
  .download-sec .kicker { color: var(--gold); background: rgba(245, 193, 74, 0.14); }
  .download-sec h2 { color: #fff; }
  .download-sec p { color: #cbb8d9; }
  .dl-layout { display: grid; grid-template-columns: 1fr 0.85fr; gap: 28px; align-items: center; }
  .steps { display: grid; gap: 10px; margin: 18px 0 22px; }
  .step {
    display: grid; grid-template-columns: 30px 1fr; gap: 11px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px; padding: 11px 14px;
  }
  .step b {
    width: 30px; height: 30px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(120deg, var(--gold), var(--rose)); color: #2a1738;
    font-size: 13px;
  }
  .step h3 { font-size: 13.5px; color: #fff; margin-bottom: 1px; }
  .step p { font-size: 12.5px; }
  .dl-poster { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
  .dl-poster img { width: 100%; height: 100%; object-fit: cover; }

  /* 图片带 */
  .gallery-sec { background: #fdf7f0; padding-top: 0; }
  .gallery-band {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px;
  }
  .gallery-band img {
    flex: 0 0 132px; height: 176px; object-fit: cover; border-radius: 12px;
  }

  /* Footer */
  .site-footer {
    background: #1b1222; color: #9c8ca8;
    padding: 28px 0 90px;
    font-size: 12.5px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px;
  }
  .footer-grid h3 { font-size: 13px; color: #e6d9ef; margin-bottom: 8px; }
  .footer-grid p, .footer-grid a { font-size: 12.5px; color: #9c8ca8; line-height: 1.8; }
  .footer-grid a:hover { color: #f5c14a; }
  .footer-col a { display: block; }
  .footer-bottom {
    margin-top: 22px; padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px; color: #7f7089;
    display: flex; flex-wrap: wrap; gap: 6px 16px;
  }
  .footer-bottom a { color: #8f7f9b; }
  .footer-bottom time { color: #7f7089; }

  /* Floating download */
  .float-dl {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
    z-index: 80;
    display: flex; align-items: center; gap: 10px;
    background: rgba(28, 20, 36, 0.93);
    border: 1px solid rgba(245, 193, 74, 0.4);
    border-radius: 999px;
    padding: 7px 8px 7px 8px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    max-width: calc(100% - 24px);
  }
  .float-dl img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
  .float-txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
  .float-txt strong { font-size: 12.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-txt span { font-size: 10.5px; color: #c9b6d6; white-space: nowrap; }
  .float-btn {
    flex: none;
    background: linear-gradient(110deg, var(--amber), var(--rose));
    color: #fff; font-size: 12.5px; font-weight: 700;
    padding: 8px 15px; border-radius: 999px;
  }

  /* Copy modal (Baijia) */
  .copy-modal {
    position: fixed; inset: 0; z-index: 120;
    display: none;
    align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
  }
  .copy-modal.open { display: flex; }
  .copy-box {
    background: #fff; border-radius: 16px; padding: 20px;
    width: 100%; max-width: 330px; text-align: center;
  }
  .copy-box p { font-size: 13.5px; color: #333; margin-bottom: 12px; }
  .copy-box code {
    display: block; font-size: 12px; word-break: break-all;
    background: #f4f1f7; border-radius: 8px; padding: 9px 10px;
    color: #5b3d70; margin-bottom: 12px;
  }
  .copy-box button {
    width: 100%; border: 0; border-radius: 10px; padding: 10px;
    background: linear-gradient(110deg, var(--amber), var(--rose));
    color: #fff; font-size: 14px; font-weight: 700;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stage { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
    .hero-stage figure.big { grid-row: auto; }
    .hero-stage figure img { height: 190px; }
    .vip-layout, .fb-layout, .dl-layout { grid-template-columns: 1fr; }
    .review-grid { columns: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    h2 { font-size: 23px; }
    .hero-copy h1 { font-size: 28px; }
  }
  @media (max-width: 768px) {
    .header-bar { gap: 10px; }
    .nav-toggle { display: block; }
    .main-nav {
      display: none;
      flex-direction: column;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 8px;
      margin-top: 4px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 9px 12px; }
    .hero { padding-top: 22px; }
    .hero-copy h1 { font-size: 23px; }
    .hero-stage { grid-template-columns: 1fr 1fr; }
    .hero-stage figure.big { grid-column: span 2; }
    .hero-stage figure img { height: 158px; }
    .hero-stage figure.big img { height: 200px; }
    .dl-group { gap: 8px; }
    .dl-btn { flex: 1 1 calc(50% - 8px); justify-content: center; padding: 10px 12px; font-size: 13.5px; }
    section { padding: 38px 0; }
    h2 { font-size: 20px; }
    .finish-grid, .privacy-grid { grid-template-columns: 1fr; }
    .review-grid { columns: 1; }
    .rank-row { grid-template-columns: 34px 46px 1fr; padding: 8px 10px; }
    .rank-row img { width: 46px; height: 34px; }
    .rank-meta { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .float-txt strong { font-size: 11.5px; }
    .float-txt span { display: none; }
    .remix-item { flex: 0 0 128px; }
    .remix-item img { height: 168px; }
  }