:root {
    --ink: #1a1a2e;
    --paper: #fdfcf8;
    --accent: #e63946;
    --accent-2: #f4a261;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg-1: #fff8f0;
    --bg-2: #f0f4ff;
    --bg-3: #fdf2f8;
    --bg-4: #f0fdf4;
    --bg-5: #fefce8;
    --radius: 16px;
    --max: 1120px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
  .section { padding: 70px 0; }
  .section-title { font-size: 1.6rem; line-height: 1.35; margin-bottom: 8px; letter-spacing: .5px; }
  .section-sub { color: var(--muted); font-size: .95rem; margin-bottom: 32px; }
  .tag { display: inline-block; font-size: .75rem; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); margin-right: 6px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
    background: var(--accent); color: #fff; transition: transform .2s, box-shadow .2s, background .2s;
    border: none; cursor: pointer; text-align: center;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,57,70,.28); }
  .btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
  .btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
  .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253,252,248,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
  .brand img { height: 34px; width: 34px; border-radius: 10px; object-fit: cover; }
  .main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .main-nav a {
    font-size: .88rem; padding: 8px 12px; border-radius: 8px; color: #374151;
    transition: color .2s, background .2s; position: relative;
  }
  .main-nav a:hover, .main-nav a:focus { color: var(--accent); background: #fff1f2; }
  .menu-toggle {
    display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 14px; font-size: .9rem; cursor: pointer; color: var(--ink);
  }

  /* Hero */
  .hero { background: linear-gradient(135deg, #fff1f2 0%, #fff8f0 45%, #eef2ff 100%); padding: 46px 0 0; }
  .hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
  .hero-copy { flex: 1 1 340px; max-width: 560px; }
  .hero-copy h1 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.3; margin-bottom: 14px; letter-spacing: .5px; }
  .hero-copy h1 em { font-style: normal; color: var(--accent); }
  .hero-copy p { color: #4b5563; font-size: 1rem; margin-bottom: 20px; }
  .hero-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
  .hero-gallery { flex: 1 1 320px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 480px; }
  .hero-gallery figure { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(26,26,46,.14); animation: floaty 6s ease-in-out infinite; }
  .hero-gallery figure:nth-child(2) { animation-delay: 1.2s; }
  .hero-gallery figure:nth-child(3) { animation-delay: 2.4s; }
  .hero-gallery figure:nth-child(4) { animation-delay: 3.6s; }
  .hero-gallery img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

  .marquee {
    margin-top: 40px; overflow: hidden; white-space: nowrap;
    background: #1a1a2e; padding: 10px 0;
  }
  .marquee-track { display: inline-block; animation: scroll-left 26s linear infinite; }
  .marquee-track span {
    font-size: .9rem; font-weight: 700; margin: 0 22px;
    background: linear-gradient(90deg, #f4a261, #e63946, #a855f7, #38bdf8);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  @keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* 魔改合集 */
  .bg-collection { background: var(--bg-1); }
  .collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
  .collection-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(26,26,46,.06); transition: transform .25s, box-shadow .25s; }
  .collection-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(26,26,46,.12); }
  .collection-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .collection-card .info { padding: 12px 14px 16px; }
  .collection-card h3 { font-size: .95rem; margin-bottom: 6px; }
  .collection-card p { font-size: .78rem; color: var(--muted); }
  .collection-card .meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
  .collection-card .meta span { font-size: .7rem; background: #fff1f2; color: #be123c; padding: 2px 8px; border-radius: 999px; }

  /* 魔改专区 */
  .bg-zone { background: var(--bg-2); }
  .zone-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
  .zone-sticky { position: sticky; top: 92px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 34px rgba(37,58,140,.16); }
  .zone-sticky img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .zone-list { display: flex; flex-direction: column; gap: 12px; }
  .zone-item { display: flex; gap: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid #e0e7ff; transition: border-color .2s, transform .2s; }
  .zone-item:hover { border-color: #6366f1; transform: translateX(4px); }
  .zone-item .num { font-weight: 800; color: #6366f1; font-size: 1rem; min-width: 26px; }
  .zone-item h3 { font-size: .95rem; margin-bottom: 4px; }
  .zone-item p { font-size: .82rem; color: var(--muted); }

  /* 魔改剧集 */
  .bg-episodes { background: var(--bg-3); }
  .episode-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .episode-wall figure { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 3px 12px rgba(26,26,46,.08); }
  .episode-wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .3s; }
  .episode-wall figure:hover img { transform: scale(1.05); }
  .episode-wall figcaption { padding: 10px 12px; font-size: .8rem; color: #374151; }

  /* 时间轴 */
  .bg-timeline { background: var(--bg-4); }
  .timeline { position: relative; padding-left: 26px; margin-top: 8px; }
  .timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(#34d399, #38bdf8); border-radius: 3px; }
  .timeline-item { position: relative; padding: 0 0 22px 12px; }
  .timeline-item::before { content: ""; position: absolute; left: -25px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid #10b981; }
  .timeline-item time { font-weight: 800; color: #047857; font-size: .88rem; margin-right: 8px; }
  .timeline-item span { font-size: .9rem; color: #374151; }

  /* 用户神评 */
  .bg-comments { background: var(--bg-5); }
  .comment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .comment-card { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid #fde68a; }
  .comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .comment-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
  .comment-head strong { font-size: .88rem; }
  .comment-card p { font-size: .88rem; color: #4b5563; }

  /* 问答 */
  .bg-faq { background: #fff; }
  .faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
  .faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fafafa; }
  .faq-item h3 { font-size: .95rem; margin-bottom: 6px; color: #111827; }
  .faq-item p { font-size: .86rem; color: var(--muted); }

  /* 保护与反馈 */
  .bg-care { background: #f8fafc; }
  .care-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .care-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
  .care-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
  .care-card ul { list-style: none; }
  .care-card li { font-size: .87rem; color: #4b5563; padding: 7px 0 7px 20px; position: relative; }
  .care-card li::before { content: "•"; position: absolute; left: 4px; color: #0ea5e9; font-weight: 800; }

  /* 下载专区 */
  .bg-download { background: linear-gradient(160deg, #1a1a2e 0%, #2d1b3d 100%); color: #fff; }
  .bg-download .section-sub { color: #c7c9e0; }
  .download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
  .download-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 20px; }
  .download-card h3 { font-size: 1rem; margin-bottom: 6px; color: #f4a261; }
  .download-card p { font-size: .82rem; color: #c7c9e0; margin-bottom: 14px; }
  .download-card .btn { width: 100%; }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
  .step { background: rgba(255,255,255,.05); border-left: 3px solid #f4a261; padding: 14px 16px; border-radius: 8px; }
  .step strong { display: block; color: #f4a261; font-size: .85rem; margin-bottom: 4px; }
  .step span { font-size: .82rem; color: #c7c9e0; }

  /* Footer */
  .site-footer { background: #111827; color: #9ca3af; padding: 40px 0 34px; font-size: .82rem; }
  .footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; margin-bottom: 24px; }
  .footer-brand { max-width: 320px; }
  .footer-brand strong { color: #e5e7eb; display: block; margin-bottom: 8px; font-size: .95rem; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .footer-nav a:hover { color: #f4a261; }
  .footer-bottom { border-top: 1px solid #1f2937; padding-top: 18px; color: #6b7280; font-size: .76rem; line-height: 1.9; }
  .footer-bottom a { color: #9ca3af; }
  .footer-bottom a:hover { color: #f4a261; }

  /* 浮动下载 */
  .float-download {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 80; display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 999px; padding: 8px 18px 8px 8px;
    box-shadow: 0 10px 30px rgba(26,26,46,.25); border: 1px solid var(--line);
  }
  .float-download img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
  .float-download .btn { padding: 10px 20px; font-size: .85rem; }

  /* 复制弹窗 */
  .copy-modal { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.5); align-items: center; justify-content: center; padding: 20px; }
  .copy-modal.show { display: flex; }
  .copy-box { background: #fff; border-radius: 18px; padding: 24px 22px; max-width: 360px; width: 100%; text-align: center; }
  .copy-box p { font-size: .9rem; color: #374151; margin-bottom: 14px; }
  .copy-box input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .82rem; color: #374151; text-align: center; margin-bottom: 14px; background: #f9fafb; }

  @media (max-width: 1023px) {
    .section { padding: 56px 0; }
    .zone-layout { grid-template-columns: 1fr; }
    .zone-sticky { position: static; max-width: 420px; margin: 0 auto; }
    .care-layout { grid-template-columns: 1fr; }
  }
  @media (max-width: 767px) {
    .header-inner { flex-wrap: wrap; }
    .menu-toggle { display: block; }
    .main-nav { display: none; width: 100%; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 12px; }
    .hero { padding-top: 32px; }
    .hero-gallery { max-width: 100%; grid-template-columns: repeat(2, 1fr); }
    .section { padding: 44px 0; }
    .section-title { font-size: 1.3rem; }
    .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .episode-wall { grid-template-columns: repeat(2, 1fr); }
    .comment-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }
    .float-download { bottom: 12px; }
    .float-download .btn { padding: 9px 16px; font-size: .8rem; }
    .footer-top { flex-direction: column; }
  }