:root {
    --bg: #141018;
    --panel: #1e1822;
    --panel-2: #2a2130;
    --pink: #ff5f9e;
    --pink-soft: #ffb3d0;
    --yellow: #ffd23f;
    --cyan: #52d6e8;
    --ink: #f7f2f5;
    --muted: #b3a6b2;
    --line: rgba(255,255,255,.12);
    --radius: 16px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    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 18px; }

  /* 顶部导航 */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(20,16,24,.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; gap: 14px;
    height: 60px;
  }
  .brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
  .brand img { height: 32px; width: auto; border-radius: 8px; }
  .brand-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; white-space: nowrap; }
  .nav-scroll {
    display: flex; gap: 6px; overflow-x: auto; padding: 6px 0;
    scrollbar-width: none; flex: 1;
  }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .nav-scroll a {
    font-size: 14px; color: var(--muted); padding: 6px 12px; border-radius: 999px;
    white-space: nowrap; transition: color .2s, background .2s;
  }
  .nav-scroll a:hover { color: #fff; background: var(--panel-2); }

  /* 首屏 */
  .hero { padding: 34px 0 26px; position: relative; }
  .hero-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
  .hero-copy .tagline {
    display: inline-block; font-size: 13px; color: var(--yellow);
    border: 1px solid rgba(255,210,63,.45); border-radius: 999px;
    padding: 2px 12px; margin-bottom: 14px; letter-spacing: .3px;
  }
  h1 {
    font-size: 32px; line-height: 1.3; font-weight: 900;
    letter-spacing: -.5px; margin-bottom: 14px;
  }
  h1 .hl { color: var(--pink); }
  .hero-desc { color: var(--muted); font-size: 15px; margin-bottom: 20px; max-width: 480px; }
  .download-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 15px; font-weight: 700; padding: 12px 22px; border-radius: 12px;
    border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s;
  }
  .btn:active { transform: scale(.97); }
  .btn-android { background: var(--pink); color: #1a1016; box-shadow: 0 8px 20px rgba(255,95,158,.28); }
  .btn-ios { background: var(--yellow); color: #221a05; box-shadow: 0 8px 20px rgba(255,210,63,.22); }
  .btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
  .hero-hint { font-size: 12.5px; color: var(--muted); }

  /* 海报墙 */
  .poster-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
  }
  .poster-wall .wall-item {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: transform .25s;
  }
  .poster-wall .wall-item:hover { transform: translateY(-4px) rotate(-1deg); }
  .poster-wall img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
  .poster-wall .tall { grid-row: span 2; }
  .poster-wall .tall img { aspect-ratio: 3/5.6; }

  section { padding: 42px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 {
    font-size: 24px; font-weight: 900; letter-spacing: -.3px; margin-bottom: 6px;
  }
  .section-head p { color: var(--muted); font-size: 14px; }

  /* 榜单 */
  .rank-list { display: grid; gap: 10px; }
  .rank-item {
    display: flex; align-items: center; gap: 14px;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 12px 14px;
    transition: background .2s;
  }
  .rank-item:hover { background: var(--panel-2); }
  .rank-num {
    font-size: 20px; font-weight: 900; width: 30px; text-align: center;
    color: var(--cyan); flex-shrink: 0; font-style: italic;
  }
  .rank-item:nth-child(1) .rank-num { color: var(--pink); }
  .rank-item:nth-child(2) .rank-num { color: var(--yellow); }
  .rank-cover { width: 52px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
  .rank-info { min-width: 0; flex: 1; }
  .rank-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
  .rank-info p { font-size: 13px; color: var(--muted); }
  .rank-badge {
    font-size: 12px; color: var(--pink-soft);
    border: 1px solid rgba(255,95,158,.35); border-radius: 999px;
    padding: 1px 10px; white-space: nowrap; flex-shrink: 0;
  }

  /* 在线播放 */
  .player-card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 20px; overflow: hidden;
  }
  .player-screen {
    position: relative; background: #000; aspect-ratio: 16/9;
  }
  .player-screen img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
  .player-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-align: center; padding: 16px;
    background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72));
  }
  .player-overlay .play-btn {
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: var(--pink); color: #1a1016; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 6px 22px rgba(255,95,158,.45);
  }
  .player-overlay strong { font-size: 16px; }
  .player-overlay span { font-size: 12.5px; color: #d9cfd6; }
  .player-meta { padding: 16px 18px; }
  .player-meta h3 { font-size: 17px; margin-bottom: 4px; }
  .player-meta p { font-size: 13.5px; color: var(--muted); }
  .episode-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .episode-row span {
    font-size: 12.5px; padding: 4px 12px; border-radius: 8px;
    background: var(--panel-2); color: var(--muted); border: 1px solid var(--line);
  }
  .episode-row span.on { background: var(--pink); color: #1a1016; font-weight: 700; border-color: transparent; }

  /* 今日更新 / 追剧日历 */
  .two-col { display: grid; gap: 18px; grid-template-columns: 1fr; }
  .update-list { display: grid; gap: 10px; }
  .update-item {
    display: flex; gap: 12px; align-items: center;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 14px; padding: 10px 12px;
  }
  .update-item img { width: 46px; height: 62px; object-fit: cover; border-radius: 7px; }
  .update-item div { min-width: 0; }
  .update-item strong { font-size: 14.5px; display: block; }
  .update-item small { font-size: 12.5px; color: var(--muted); }

  .calendar {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px;
  }
  .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 14px; }
  .calendar-days span {
    text-align: center; font-size: 12.5px; color: var(--muted);
    padding: 8px 0; border-radius: 9px; background: var(--panel-2);
  }
  .calendar-days span.today { background: var(--yellow); color: #221a05; font-weight: 700; }
  .calendar-note { font-size: 13.5px; color: var(--muted); }
  .calendar-note b { color: var(--ink); }

  /* 旋转卡片 */
  .flip-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
  .flip-card { perspective: 1000px; background: transparent; cursor: pointer; }
  .flip-inner {
    position: relative; width: 100%; aspect-ratio: 3/4;
    transition: transform .6s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
  }
  .flip-card.flipped .flip-inner { transform: rotateY(180deg); }
  .flip-face {
    position: absolute; inset: 0; backface-visibility: hidden;
    border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  }
  .flip-face img { width: 100%; height: 100%; object-fit: cover; }
  .flip-front { background: var(--panel); }
  .flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, #33243a, #1c1622);
    padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  }
  .flip-back h3 { font-size: 16px; color: var(--pink-soft); }
  .flip-back p { font-size: 13px; color: #ded3da; }

  /* 活动 */
  .activity-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
  .activity-card {
    display: flex; gap: 14px; align-items: stretch;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
  }
  .activity-card img { width: 108px; object-fit: cover; flex-shrink: 0; }
  .activity-body { padding: 14px 14px 14px 0; }
  .activity-body span {
    font-size: 11.5px; color: var(--cyan); border: 1px solid rgba(82,214,232,.35);
    border-radius: 999px; padding: 1px 9px; display: inline-block; margin-bottom: 6px;
  }
  .activity-body h3 { font-size: 16px; margin-bottom: 4px; }
  .activity-body p { font-size: 13px; color: var(--muted); }

  /* 问答 */
  .faq-list { display: grid; gap: 10px; }
  .faq-item {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 14px; padding: 14px 16px;
  }
  .faq-item h3 { font-size: 15px; margin-bottom: 5px; color: var(--yellow); }
  .faq-item p { font-size: 13.5px; color: var(--muted); }

  /* 横滑图墙 */
  .rail {
    display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail figure {
    flex: 0 0 138px; scroll-snap-align: start;
    border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
    background: var(--panel);
  }
  .rail figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .rail figcaption { font-size: 12.5px; padding: 8px 10px; color: var(--muted); }

  /* 三分类 */
  .cat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
  .cat-card {
    border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--panel); padding: 18px;
  }
  .cat-card h3 { font-size: 17px; margin-bottom: 6px; }
  .cat-card h3 .dot { color: var(--pink); }
  .cat-card p { font-size: 13.5px; color: var(--muted); }

  /* 下载收尾 */
  .cta-band {
    background: linear-gradient(120deg, #2a1b28, #1a1b2c 60%, #1c2a2c);
    border: 1px solid var(--line); border-radius: 22px;
    padding: 30px 22px; text-align: center;
  }
  .cta-band h2 { font-size: 24px; margin-bottom: 8px; }
  .cta-band p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
  .cta-band .download-row { justify-content: center; }

  /* 底部 */
  .site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 34px; margin-top: 20px;
  }
  .footer-inner { display: grid; gap: 14px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: #8c7f8b; }
  .footer-links span { color: #6e636e; }
  .footer-meta { font-size: 12px; color: #7a6f7a; line-height: 1.9; }
  .footer-meta a { color: #948894; }
  .footer-meta a:hover { color: var(--pink-soft); }
  .footer-meta time { color: #948894; }

  /* 弹窗 */
  .modal-mask {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(0,0,0,.66); display: none;
    align-items: center; justify-content: center; padding: 20px;
  }
  .modal-mask.open { display: flex; }
  .modal-box {
    width: 100%; max-width: 380px; background: #241b2a;
    border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  }
  .modal-box h3 { font-size: 16px; margin-bottom: 10px; color: var(--yellow); }
  .modal-box .link-box {
    background: #17111a; border: 1px dashed rgba(255,255,255,.22);
    border-radius: 10px; padding: 10px 12px; font-size: 12.5px;
    color: #cfc3cb; word-break: break-all; margin-bottom: 14px;
  }
  .modal-actions { display: flex; gap: 10px; }
  .modal-actions .btn { flex: 1; padding: 10px 0; font-size: 14px; }

  /* 断点 */
  @media (min-width: 768px) {
    .hero { padding: 48px 0 34px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; }
    h1 { font-size: 44px; }
    .hero-desc { font-size: 16px; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    section { padding: 54px 0; }
    .section-head h2 { font-size: 30px; }
    .two-col { grid-template-columns: 1.1fr .9fr; }
    .activity-grid { grid-template-columns: 1fr 1fr; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .flip-grid { grid-template-columns: repeat(3, 1fr); }
    .rail figure { flex: 0 0 168px; }
    .rank-list { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  }
  @media (min-width: 1024px) {
    h1 { font-size: 52px; }
    .poster-wall { gap: 14px; }
    .flip-grid { grid-template-columns: repeat(4, 1fr); }
    .cta-band { padding: 44px 30px; }
    .cta-band h2 { font-size: 30px; }
    .hero-grid { gap: 48px; }
  }