:root {
    --ink: #1b1c22;
    --ink-soft: #4a4c58;
    --paper: #fbf7f2;
    --line: #e6dfd6;
    --brand: #ff5a3c;
    --brand-deep: #d63a1f;
    --soda: #f7d35b;
    --mint: #2fbf94;
    --grape: #6b4ce0;
    --sky: #e8f4ff;
    --lemon: #fff6d9;
    --rose: #ffecef;
    --radius: 18px;
    --shadow: 0 12px 30px rgba(30, 20, 10, .08);
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
    text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s, color .2s;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-main { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(255, 90, 60, .32); }
  .btn-main:hover { background: var(--brand-deep); }
  .btn-line { border-color: var(--ink); color: var(--ink); background: #fff; }
  .btn-line:hover { background: var(--ink); color: #fff; }
  .btn-soda { background: var(--soda); color: #3b2d00; }
  .btn-mint { background: var(--mint); color: #04231a; }
  .btn-grape { background: var(--grape); color: #fff; }

  /* header */
  .site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(251, 247, 242, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
  .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; text-decoration: none; }
  .brand img { height: 34px; width: auto; border-radius: 9px; }
  .nav-toggle {
    margin-left: auto; display: none; background: #fff; border: 1px solid var(--line);
    border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 700; color: var(--ink-soft);
    cursor: pointer;
  }
  .main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .main-nav a {
    text-decoration: none; font-size: 13px; padding: 7px 10px; border-radius: 999px;
    color: var(--ink-soft); font-weight: 600; transition: background .18s, color .18s;
  }
  .main-nav a:hover { background: var(--brand); color: #fff; }

  /* hero */
  .hero {
    background:
      radial-gradient(circle at 12% 18%, #ffe6dc 0, transparent 42%),
      radial-gradient(circle at 88% 8%, #e3ecff 0, transparent 46%),
      linear-gradient(160deg, #fffaf4 0%, #fdf1e6 100%);
    padding: 34px 0 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
  .kicker {
    display: inline-block; background: var(--soda); color: #4a3600; font-weight: 700;
    font-size: 12px; padding: 4px 12px; border-radius: 999px; letter-spacing: .5px;
  }
  .hero h1 {
    font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; margin: 14px 0 12px;
    letter-spacing: -.5px;
  }
  .hero h1 em { font-style: normal; color: var(--brand); }
  .hero p.lead { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; max-width: 34em; }
  .dl-group { display: flex; flex-wrap: wrap; gap: 10px; }
  .hint { font-size: 12px; color: #8b8378; margin-top: 12px; }

  .hero-slider { position: relative; }
  .slides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .slide { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
  .slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
  .slide:nth-child(2) { transform: translateY(18px); }
  .marquee {
    margin-top: 28px; overflow: hidden; white-space: nowrap;
    background: #1b1c22; color: #fff; padding: 11px 0; border-top: 3px solid var(--brand);
  }
  .marquee-track { display: inline-block; animation: slide-left 30s linear infinite; font-weight: 700; font-size: 14px; }
  .marquee-track span {
    background: linear-gradient(90deg, #ffd93d, #ff5a3c, #6b4ce0, #2fbf94);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin: 0 18px;
  }
  @keyframes slide-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* generic section */
  section { padding: 54px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: clamp(21px, 2.4vw, 28px); margin: 0 0 8px; line-height: 1.35; }
  .sec-head p { margin: 0; color: var(--ink-soft); font-size: 14px; }
  .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 6px; margin-right: 6px; }
  .t-mut { background: #f0e2d0; color: #6b4a1f; }
  .t-re { background: var(--rose); color: #b3253f; }
  .t-or { background: var(--lemon); color: #7a5a00; }

  /* 原创短剧 */
  .origin { background: #fffdf8; }
  .drama-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
  .drama-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 6px 18px rgba(30,20,10,.05); display: flex; flex-direction: column;
  }
  .drama-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .drama-body { padding: 12px 14px 16px; }
  .drama-body h3 { margin: 0 0 6px; font-size: 15px; }
  .drama-body p { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-soft); }
  .date { font-size: 12px; color: #9a9086; }

  /* 魔改短剧 */
  .mogai { background: #f3f0ff; }
  .timeline { position: relative; margin-left: 10px; padding-left: 24px; border-left: 3px dashed #cfc4f7; }
  .timeline li { list-style: none; margin-bottom: 18px; position: relative; }
  .timeline li::before {
    content: ""; position: absolute; left: -32px; top: 6px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--grape); box-shadow: 0 0 0 4px #e6defc;
  }
  .timeline time { font-weight: 800; color: var(--grape); margin-right: 8px; font-size: 13px; }
  .timeline span { font-size: 13.5px; color: var(--ink-soft); }

  /* 二创短剧 */
  .erchuang { background: #eef8f4; }
  .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .chip { background: #fff; border: 1px solid #c7e8dc; color: #1f6b53; font-size: 12.5px; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
  .note-card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border-left: 5px solid var(--mint); }
  .note-card h3 { margin: 0 0 8px; font-size: 16px; }
  .note-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
  .note-list { list-style: none; padding: 0; margin: 14px 0 0; }
  .note-list li { font-size: 13px; color: var(--ink-soft); padding: 7px 0; border-bottom: 1px dashed #d7ece3; }
  .note-list li:last-child { border-bottom: 0; }

  /* 神评 */
  .shenping { background: #fff5ee; }
  .comment-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .comment {
    background: #fff; border-radius: 16px; padding: 14px; border: 1px solid #f2dfd1;
    display: flex; gap: 10px; align-items: flex-start;
  }
  .comment img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: 0 0 38px; }
  .comment b { display: block; font-size: 13px; margin-bottom: 2px; }
  .comment p { margin: 0; font-size: 12.5px; color: var(--ink-soft); }

  /* 会员权益 */
  .vip { background: #1e1b2e; color: #f5f1ff; }
  .vip .sec-head h2 { color: #fff; }
  .vip .sec-head p { color: #bdb2dc; }
  .vip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .vip-card {
    background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px;
  }
  .vip-card h3 { margin: 0 0 6px; font-size: 15px; color: #ffd98a; }
  .vip-card p { margin: 0; font-size: 12.5px; color: #cfc6e8; }

  /* 安全 & 问题 */
  .safety { background: var(--sky); }
  .faq-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  details.faq {
    background: #fff; border-radius: 12px; border: 1px solid #d5e6f7;
    padding: 12px 14px; margin-bottom: 10px;
  }
  details.faq summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #17466e; }
  details.faq p { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }

  /* 未成年 */
  .minor { background: var(--lemon); }
  .minor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
  .minor-item { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid #f0e2b8; }
  .minor-item h3 { margin: 0 0 6px; font-size: 14px; color: #7a5a00; }
  .minor-item p { margin: 0; font-size: 12.5px; color: var(--ink-soft); }

  /* 下载 */
  .download { background: linear-gradient(135deg, #ffe9d9, #fff7e6 55%, #e8f0ff); }
  .dl-box {
    background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow);
    display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center;
  }
  .dl-box img { border-radius: 16px; width: 100%; max-width: 300px; margin: 0 auto; }
  .dl-box h2 { margin: 0 0 10px; font-size: 23px; }
  .steps { list-style: none; padding: 0; margin: 14px 0 18px; counter-reset: st; }
  .steps li { counter-increment: st; font-size: 13.5px; color: var(--ink-soft); padding-left: 30px; position: relative; margin-bottom: 9px; }
  .steps li::before {
    content: counter(st); position: absolute; left: 0; top: 0;
    width: 21px; height: 21px; border-radius: 50%; background: var(--brand); color: #fff;
    font-size: 12px; font-weight: 700; display: grid; place-items: center;
  }

  /* footer */
  .site-footer { background: #1b1c22; color: #a9a9b6; padding: 34px 0 26px; font-size: 12.5px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
  .site-footer h4 { color: #fff; font-size: 13px; margin: 0 0 8px; font-weight: 700; }
  .site-footer p { margin: 0 0 8px; line-height: 1.8; }
  .site-footer ul { list-style: none; padding: 0; margin: 0; }
  .site-footer li { margin-bottom: 6px; }
  .site-footer a { color: #a9a9b6; text-decoration: none; }
  .site-footer a:hover { color: #fff; text-decoration: underline; }
  .footer-bottom { border-top: 1px solid #2c2d36; margin-top: 22px; padding-top: 14px; font-size: 12px; color: #7e7e8c; }
  .about-toggle { margin-top: 12px; font-size: 12px; color: #8d8d9c; }
  .about-toggle summary { cursor: pointer; display: inline; }
  .about-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; }

  /* floating */
  .float-dl {
    position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0,0,0,.18); padding: 7px 10px 7px 7px;
    display: flex; align-items: center; gap: 10px; max-width: calc(100% - 20px);
  }
  .float-dl img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
  .float-txt small { display: block; font-size: 10.5px; color: #8b8378; line-height: 1.3; }
  .float-txt b { font-size: 12.5px; }

  /* copy modal */
  .copy-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none;
    align-items: center; justify-content: center; z-index: 99; padding: 20px;
  }
  .copy-modal.show { display: flex; }
  .copy-panel { background: #fff; border-radius: 18px; padding: 22px; max-width: 360px; width: 100%; text-align: center; }
  .copy-panel p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); }
  .copy-panel input { width: 100%; padding: 9px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; margin-bottom: 12px; }
  .copy-panel button { border: 0; cursor: pointer; font-family: inherit; }

  @media (max-width: 1024px) {
    .hero-top { grid-template-columns: 1fr; }
    .two-col, .faq-wrap, .dl-box { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; width: 100%; }
    .main-nav.open { display: flex; }
    .drama-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slides { grid-template-columns: 1fr 1fr; gap: 8px; }
    .slide:nth-child(2) { transform: translateY(10px); }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 40px 0; }
    .dl-box { padding: 20px; }
    .float-dl { bottom: 10px; }
    .float-txt small { display: none; }
  }