:root {
    --ink: #1a1a2e;
    --paper: #fbf7f0;
    --brand: #f5a623;
    --brand-deep: #d97706;
    --mint: #e6f4ea;
    --lav: #ece7fa;
    --peach: #fdeee2;
    --sky: #e4eefb;
    --rose: #fbe7ec;
    --gray: #8a8a9e;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(26, 26, 46, .08);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 247, 240, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26,26,46,.07);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
  .brand img { height: 34px; width: 34px; border-radius: 9px; object-fit: cover; }
  .nav-desktop { display: flex; gap: 22px; font-size: 14px; color: #4a4a60; }
  .nav-desktop a:hover { color: var(--brand-deep); }
  .switch-btn {
    display: none; border: 1px solid rgba(26,26,46,.15); background: #fff;
    border-radius: 10px; padding: 6px 14px; font-size: 14px; cursor: pointer; color: var(--ink);
  }
  .nav-fold { display: none; padding: 8px 0 18px; }
  .nav-fold.open { display: block; }
  .nav-fold a {
    display: block; padding: 11px 14px; border-radius: 10px;
    background: #fff; margin-bottom: 8px; font-size: 14px;
  }

  /* ---------- Hero ---------- */
  .hero {
    background: radial-gradient(120% 90% at 80% 0%, #ffe9c7 0%, #fbf7f0 55%);
    padding: 56px 0 40px;
    overflow: hidden;
  }
  .hero-grid {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  }
  .hero-tag {
    display: inline-block; background: #fff2d8; color: var(--brand-deep);
    font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
    border: 1px solid #f6deb0; margin-bottom: 18px;
  }
  h1 { font-size: 40px; line-height: 1.28; letter-spacing: -.5px; font-weight: 900; }
  h1 span { color: var(--brand-deep); }
  .hero-lead { margin-top: 18px; font-size: 16px; color: #4a4a60; max-width: 520px; }
  .hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
  .chip {
    font-size: 13px; background: #fff; border: 1px solid rgba(26,26,46,.08);
    padding: 5px 13px; border-radius: 999px; color: #55556b;
  }

  .dl-group { margin-top: 26px; }
  .dl-label { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
  .dl-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
  .btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 700;
    background: #fff; border: 1px solid rgba(26,26,46,.1); color: var(--ink);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,26,46,.1); }
  .btn.primary {
    background: linear-gradient(135deg, #f5a623, #e07b0a); color: #fff; border: none;
    box-shadow: 0 8px 22px rgba(224,123,10,.28);
  }
  .btn svg { width: 16px; height: 16px; fill: currentColor; }

  /* marquee */
  .marquee {
    margin-top: 34px; border-top: 1px dashed rgba(26,26,46,.14);
    border-bottom: 1px dashed rgba(26,26,46,.14);
    padding: 10px 0; overflow: hidden; white-space: nowrap;
  }
  .marquee-track { display: inline-block; animation: slide 26s linear infinite; }
  .marquee-track span {
    font-size: 14px; font-weight: 700; color: #9a6a12; margin: 0 22px;
  }
  .marquee-track span::after { content: " ·"; color: var(--brand); }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* hero collage */
  .hero-collage {
    position: relative; display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px; transform: rotate(-2deg);
  }
  .hero-collage img {
    border-radius: 14px; box-shadow: var(--shadow); width: 100%;
    aspect-ratio: 3/4; object-fit: cover;
  }
  .hero-collage img:nth-child(1) { margin-top: 26px; }
  .hero-collage img:nth-child(2) { margin-bottom: 26px; }

  /* ---------- Section base ---------- */
  section { padding: 64px 0; }
  .sec-head { margin-bottom: 34px; max-width: 720px; }
  .sec-kicker {
    display: inline-block; font-size: 13px; font-weight: 700;
    color: var(--brand-deep); letter-spacing: 1px; margin-bottom: 8px;
  }
  h2 { font-size: 28px; font-weight: 900; letter-spacing: -.3px; line-height: 1.35; }
  h3 { font-size: 17px; font-weight: 800; }
  .sec-desc { margin-top: 10px; font-size: 15px; color: #5a5a70; }

  /* ---------- 漫改热剧社 ---------- */
  .hot { background: var(--mint); }
  .drama-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  }
  .drama-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .2s ease;
  }
  .drama-card:hover { transform: translateY(-4px); }
  .drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .drama-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .drama-body h3 { font-size: 15px; }
  .drama-brief { font-size: 13px; color: #6b6b80; line-height: 1.6; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
  .tag {
    font-size: 11px; padding: 3px 9px; border-radius: 999px;
    background: #f2f5f1; color: #4f6b53;
  }
  .date-row { font-size: 12px; color: var(--gray); display: flex; justify-content: space-between; }

  /* ---------- 新漫速递 timeline ---------- */
  .newfeed { background: var(--sky); }
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before {
    content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px;
    width: 2px; background: linear-gradient(#7db2ea, #c6dcf5);
  }
  .tl-item { position: relative; margin-bottom: 16px; }
  .tl-item::before {
    content: ""; position: absolute; left: -26px; top: 18px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 3px solid #2f6db3;
  }
  .tl-card {
    background: #fff; border-radius: 14px; padding: 15px 18px;
    display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 6px 18px rgba(47,109,179,.08);
  }
  .tl-time { font-weight: 900; font-size: 16px; color: #2f6db3; min-width: 58px; }
  .tl-text { font-size: 14px; color: #4b4b60; }
  .tl-text strong { color: var(--ink); display: block; margin-bottom: 2px; }

  /* ---------- 漫剧盲盒 split ---------- */
  .blindbox { background: var(--lav); }
  .split {
    display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center;
  }
  .split-img img {
    width: 100%; border-radius: 20px; box-shadow: var(--shadow);
    aspect-ratio: 3/4; object-fit: cover;
  }
  .box-list { display: grid; gap: 12px; }
  .box-item {
    background: #fff; border-radius: 12px; padding: 13px 16px;
    display: flex; gap: 12px; align-items: center;
    font-size: 14px; color: #4b4b68;
  }
  .box-num {
    flex: none; width: 26px; height: 26px; border-radius: 8px;
    background: #e3dbf7; color: #5a3ea8; font-size: 12px; font-weight: 800;
    display: grid; place-items: center;
  }

  /* ---------- 完结漫剧库 ---------- */
  .finished { background: var(--peach); }
  .fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .fin-card {
    display: flex; gap: 14px; background: #fff; border-radius: 16px;
    padding: 14px; box-shadow: 0 6px 18px rgba(180,110,50,.08);
  }
  .fin-card img {
    width: 76px; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; flex: none;
  }
  .fin-info h3 { font-size: 15px; margin-bottom: 4px; }
  .fin-info p { font-size: 13px; color: #6b6b80; }

  /* ---------- 漫剧吐槽墙 ---------- */
  .wall { background: #f7f2ea; }
  .wall-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .wall-card {
    background: #fff; border-radius: 16px; padding: 18px;
    border-left: 5px solid var(--brand); box-shadow: var(--shadow);
  }
  .wall-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .wall-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
  .wall-user span { font-size: 13px; font-weight: 700; color: #55556b; }
  .wall-card p { font-size: 14px; color: #4b4b60; }

  /* ---------- 漫剧二创社 ---------- */
  .create { background: var(--rose); }
  .create-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .create-item {
    background: #fff; border-radius: 16px; padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(200,90,120,.08);
  }
  .create-item h3 { font-size: 15px; margin-bottom: 6px; color: #a63a58; }
  .create-item p { font-size: 14px; color: #5a5a70; }

  /* ---------- 隐私安全 + 常见问题 ---------- */
  .privacy { background: #eaf0e9; }
  .privacy-flex { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .priv-item {
    background: #fff; border-radius: 14px; padding: 16px 18px;
    display: flex; gap: 12px; font-size: 14px; color: #4b4b60;
  }
  .priv-item::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: #5f8a63; margin-top: 8px; flex: none;
  }

  .faq { background: #f4f0ff; }
  .faq-list { display: grid; gap: 12px; }
  .faq-item {
    background: #fff; border-radius: 14px; padding: 16px 20px;
    box-shadow: 0 4px 14px rgba(100,80,180,.06);
  }
  .faq-item h3 { font-size: 15px; margin-bottom: 6px; color: #4a3a8a; }
  .faq-item p { font-size: 14px; color: #5a5a70; }

  /* ---------- 客户端下载 / 安装 ---------- */
  .download-sec {
    background: linear-gradient(160deg, #1f1b2e 0%, #322a4d 100%);
    color: #f3eefc;
  }
  .download-sec h2 { color: #fff; }
  .download-sec .sec-desc { color: #c7bfe0; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
  .step {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px; padding: 20px;
  }
  .step-num {
    display: inline-grid; place-items: center; width: 30px; height: 30px;
    border-radius: 9px; background: var(--brand); color: #1f1b2e;
    font-weight: 900; font-size: 14px; margin-bottom: 10px;
  }
  .step h3 { color: #fff; font-size: 15px; margin-bottom: 6px; }
  .step p { font-size: 13px; color: #c7bfe0; }
  .download-sec .dl-buttons { gap: 12px; }
  .download-sec .btn {
    background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2);
  }
  .download-sec .btn.primary {
    background: linear-gradient(135deg, #f5a623, #e07b0a); border: none;
  }

  /* ---------- Footer ---------- */
  .site-footer {
    background: #161422; color: #8f8aa5; padding: 40px 0 90px;
    font-size: 13px;
  }
  .footer-top {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
    padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-brand { display: flex; gap: 10px; align-items: center; color: #ddd7ee; font-weight: 800; margin-bottom: 10px; }
  .footer-brand img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
  .footer-col h4 { color: #cfc8e4; font-size: 14px; margin-bottom: 10px; }
  .footer-col a { display: block; margin-bottom: 7px; color: #8f8aa5; }
  .footer-col a:hover { color: var(--brand); }
  .footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
  .footer-bottom a { color: #a49ec0; }

  /* ---------- Floating download ---------- */
  .float-dl {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 80; display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #f5a623, #e07b0a); color: #fff;
    padding: 10px 22px 10px 12px; border-radius: 999px; font-weight: 800; font-size: 14px;
    box-shadow: 0 10px 28px rgba(224,123,10,.4);
  }
  .float-dl img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

  /* ---------- Modal ---------- */
  .copy-modal {
    position: fixed; inset: 0; z-index: 120; display: none;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(20,18,34,.55);
  }
  .copy-modal.open { display: flex; }
  .copy-box {
    background: #fff; border-radius: 18px; padding: 24px; max-width: 360px; width: 100%;
  }
  .copy-box p { font-size: 15px; color: var(--ink); margin-bottom: 14px; line-height: 1.6; }
  .copy-url {
    font-size: 13px; word-break: break-all; background: #f4f0ff;
    border-radius: 10px; padding: 10px 12px; color: #4a3a8a; margin-bottom: 14px;
  }
  .copy-actions { display: flex; gap: 10px; }
  .copy-actions .btn { flex: 1; justify-content: center; }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .drama-grid { grid-template-columns: repeat(3, 1fr); }
    .fin-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { gap: 32px; }
    h1 { font-size: 34px; }
  }
  @media (max-width: 768px) {
    .nav-desktop { display: none; }
    .switch-btn { display: inline-block; }
    .hero { padding: 34px 0 26px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    section { padding: 46px 0; }
    .drama-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .fin-grid, .wall-grid, .create-grid, .privacy-flex, .steps { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .split-img img { max-width: 260px; margin: 0 auto; }
    .hero-collage { transform: none; max-width: 420px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; gap: 22px; }
    .tl-card { flex-direction: column; gap: 4px; }
    .site-footer { padding-bottom: 100px; }
  }