:root {
    --bg-deep: #0a0b10;
    --bg-panel: #13151f;
    --bg-card: #1a1d2b;
    --line: #262a3d;
    --text-main: #eef1f8;
    --text-sub: #9aa2b8;
    --accent: #ff4d6d;
    --accent-2: #7c5cff;
    --accent-glow: rgba(255, 77, 109, 0.35);
    --radius: 14px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background:
      radial-gradient(circle at 12% 0%, rgba(124, 92, 255, 0.18), transparent 42%),
      radial-gradient(circle at 88% 10%, rgba(255, 77, 109, 0.14), transparent 40%),
      var(--bg-deep);
    color: var(--text-main);
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  ul { list-style: none; }
  .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* ---------- 头部 ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 11, 16, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .brand-name { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
  .nav-toggle {
    display: none; background: #1e2130; color: var(--text-main);
    border: 1px solid var(--line); border-radius: 8px;
    padding: 6px 12px; font-size: 14px; cursor: pointer;
  }
  .main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .main-nav a {
    font-size: 14px; color: var(--text-sub); padding: 6px 0;
    transition: color .2s;
  }
  .main-nav a:hover, .main-nav a.is-active { color: var(--accent); }

  /* ---------- 通用区块 ---------- */
  section { padding: 64px 0; position: relative; }
  .section-head { margin-bottom: 32px; }
  .section-tag {
    display: inline-block; font-size: 12px; letter-spacing: 2px;
    color: var(--accent); border: 1px solid var(--accent);
    border-radius: 999px; padding: 3px 12px; margin-bottom: 12px;
  }
  .section-head h2 { font-size: 28px; line-height: 1.3; }
  .section-head p { color: var(--text-sub); margin-top: 8px; font-size: 15px; max-width: 720px; }
  .section-head h3 { font-size: 19px; margin-bottom: 6px; }

  /* ---------- 首屏 ---------- */
  .hero { padding-top: 44px; overflow: hidden; }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 44px; align-items: center;
  }
  .hero-title { font-size: 44px; line-height: 1.2; letter-spacing: 1px; }
  .hero-title span {
    background: linear-gradient(92deg, #ff7a8f, #b58cff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-lead { margin-top: 18px; color: var(--text-sub); font-size: 16px; max-width: 520px; }
  .hero-points { margin: 24px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
  .hero-points li {
    font-size: 13px; color: #cfd5e6; background: #191c29;
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  }
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
    transition: transform .2s, box-shadow .2s;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-main {
    background: linear-gradient(95deg, var(--accent), #ff8a5c);
    color: #14060a; box-shadow: 0 10px 26px -10px var(--accent-glow);
  }
  .btn-ghost {
    background: #191c29; color: var(--text-main); border: 1px solid var(--line);
  }
  .btn-soft { background: rgba(124, 92, 255, 0.16); color: #cbbcff; border: 1px solid rgba(124, 92, 255, 0.4); }

  .hero-visual { position: relative; min-height: 420px; }
  .hero-stage {
    position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line); background: #10121b;
  }
  .hero-stage img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; animation: heroFade 30s infinite;
  }
  .hero-stage img:nth-child(1) { animation-delay: 0s; }
  .hero-stage img:nth-child(2) { animation-delay: 5s; }
  .hero-stage img:nth-child(3) { animation-delay: 10s; }
  .hero-stage img:nth-child(4) { animation-delay: 15s; }
  .hero-stage img:nth-child(5) { animation-delay: 20s; }
  .hero-stage img:nth-child(6) { animation-delay: 25s; }
  @keyframes heroFade {
    0% { opacity: 0; }
    3% { opacity: 1; }
    16% { opacity: 1; }
    19% { opacity: 0; }
    100% { opacity: 0; }
  }
  .hero-badge {
    position: absolute; left: 16px; bottom: 16px; z-index: 2;
    background: rgba(10, 11, 16, 0.78); border: 1px solid var(--line);
    border-radius: 12px; padding: 10px 16px; font-size: 13px; color: #dfe4f2;
  }
  .hero-badge strong { color: var(--accent); }

  /* ---------- 今日更新 ---------- */
  .update-timeline { position: relative; display: grid; gap: 18px; }
  .update-timeline::before {
    content: ""; position: absolute; left: 63px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
  }
  .timeline-row {
    display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: stretch;
  }
  .timeline-time {
    align-self: start; font-size: 14px; font-weight: 700; color: var(--accent);
    padding-top: 14px; text-align: right;
  }
  .timeline-card {
    display: grid; grid-template-columns: 96px 1fr; gap: 16px;
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px;
  }
  .timeline-card img {
    width: 96px; height: 128px; object-fit: cover; border-radius: 10px;
  }
  .timeline-card h3 { font-size: 17px; margin-bottom: 6px; }
  .timeline-card p { font-size: 14px; color: var(--text-sub); }
  .tag-line { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
  .tag {
    font-size: 12px; padding: 2px 9px; border-radius: 999px;
    background: rgba(255, 77, 109, 0.12); color: #ff8fa2;
    border: 1px solid rgba(255, 77, 109, 0.28);
  }
  .tag.blue { background: rgba(124, 92, 255, 0.14); color: #b8a9ff; border-color: rgba(124, 92, 255, 0.34); }
  .tag.green { background: rgba(60, 200, 150, 0.12); color: #74e0b6; border-color: rgba(60, 200, 150, 0.3); }

  /* ---------- 排行榜 ---------- */
  .rank-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .rank-list { display: grid; gap: 10px; }
  .rank-item {
    display: grid; grid-template-columns: 34px 58px 1fr auto;
    gap: 14px; align-items: center;
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: 12px; padding: 10px 14px;
    transition: border-color .2s, transform .2s;
  }
  .rank-item:hover { border-color: rgba(255, 77, 109, 0.5); transform: translateX(4px); }
  .rank-num { font-size: 18px; font-weight: 800; color: var(--accent-2); text-align: center; }
  .rank-item:nth-child(1) .rank-num { color: #ffd166; }
  .rank-item:nth-child(2) .rank-num { color: #dfe4f2; }
  .rank-item:nth-child(3) .rank-num { color: #f0906c; }
  .rank-cover { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
  .rank-info h3 { font-size: 15px; }
  .rank-info p { font-size: 12px; color: var(--text-sub); }
  .rank-score { font-size: 13px; color: #ffd166; font-weight: 700; }

  .weekly-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .weekly-mosaic figure { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
  .weekly-mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
  .weekly-mosaic figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 22px 12px 10px; font-size: 13px;
    background: linear-gradient(to top, rgba(6, 7, 12, 0.94), transparent);
  }

  /* ---------- 魔改短剧 ---------- */
  .mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mod-card {
    background: linear-gradient(160deg, #1b1730, #13151f 62%);
    border: 1px solid #2c2748; border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
  }
  .mod-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .mod-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .mod-body h3 { font-size: 17px; }
  .mod-body p { font-size: 14px; color: var(--text-sub); }
  .mod-meta { margin-top: auto; font-size: 12px; color: #8f88b8; }
  .mod-card.wide { grid-column: span 2; flex-direction: row; }
  .mod-card.wide img { width: 45%; aspect-ratio: auto; }

  /* ---------- 热剧推荐 ---------- */
  .poster-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .poster-card {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
  }
  .poster-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px var(--accent-glow); }
  .poster-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .poster-info { padding: 12px 14px 14px; }
  .poster-info h3 { font-size: 15px; margin-bottom: 4px; }
  .poster-info p { font-size: 13px; color: var(--text-sub); }
  .poster-info .meta { margin-top: 8px; font-size: 12px; color: #7f879c; }

  /* ---------- 问答 ---------- */
  .qa-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .qa-item {
    background: var(--bg-panel); border: 1px solid var(--line);
    border-left: 3px solid var(--accent-2); border-radius: 10px; padding: 16px 18px;
  }
  .qa-item h3 { font-size: 15px; color: #cfc4ff; margin-bottom: 6px; }
  .qa-item p { font-size: 14px; color: var(--text-sub); }

  /* ---------- 社区 ---------- */
  .community-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .comment-card {
    display: grid; grid-template-columns: 48px 1fr; gap: 14px;
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px;
  }
  .comment-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
  .comment-card strong { font-size: 14px; }
  .comment-card p { font-size: 14px; color: var(--text-sub); margin-top: 4px; }
  .comment-card span { display: block; font-size: 12px; color: #6f7689; margin-top: 8px; }

  /* ---------- 隐私 & 心愿 ---------- */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .privacy-list li, .wish-list li {
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: 10px; padding: 12px 16px; margin-bottom: 10px;
    font-size: 14px; color: #c2c9db;
  }
  .privacy-list li::before { content: "◈"; color: var(--accent-2); margin-right: 8px; }
  .wish-list li { display: flex; justify-content: space-between; gap: 10px; }
  .wish-list li em { font-style: normal; color: var(--text-sub); font-size: 13px; }

  /* ---------- 动态 ---------- */
  .news-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .news-item {
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: 10px; padding: 16px;
    border-top: 2px solid rgba(255, 77, 109, 0.55);
  }
  .news-item time { font-size: 12px; color: var(--accent); }
  .news-item h3 { font-size: 15px; margin: 6px 0 4px; }
  .news-item p { font-size: 14px; color: var(--text-sub); }

  /* ---------- 下载 ---------- */
  .download { padding-bottom: 40px; }
  .download-panel {
    background: linear-gradient(150deg, #1d1834, #121420 65%);
    border: 1px solid #332a55; border-radius: 22px;
    padding: 40px 32px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px;
  }
  .download-panel h2 { font-size: 26px; margin-bottom: 10px; }
  .download-panel > div > p { color: var(--text-sub); font-size: 15px; }
  .steps { margin-top: 20px; display: grid; gap: 12px; }
  .step {
    display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  }
  .step i {
    font-style: normal; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px; font-weight: 700;
    background: rgba(255, 77, 109, 0.18); color: var(--accent);
    border: 1px solid rgba(255, 77, 109, 0.4);
  }
  .step p { font-size: 14px; color: #c6cde0; }
  .download-actions { display: grid; gap: 12px; align-content: start; }
  .download-actions .btn { justify-content: center; }
  .download-note { font-size: 12px; color: #7f879c; margin-top: 4px; line-height: 1.6; }

  /* ---------- 页脚 ---------- */
  .site-footer {
    border-top: 1px solid var(--line); padding: 30px 0 36px; margin-top: 20px;
    background: rgba(8, 9, 14, 0.7);
  }
  .footer-inner { display: grid; gap: 10px; text-align: center; }
  .footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; }
  .footer-brand img { height: 24px; width: auto; border-radius: 6px; }
  .site-footer p, .site-footer a, .site-footer time {
    font-size: 12px; color: #707789; line-height: 1.8;
  }
  .site-footer a:hover { color: var(--text-sub); }

  /* ---------- 响应式 ---------- */
  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-visual { min-height: 360px; }
    .hero-title { font-size: 36px; }
    .poster-wall { grid-template-columns: repeat(3, 1fr); }
    .mod-grid { grid-template-columns: repeat(2, 1fr); }
    .mod-card.wide { grid-column: span 2; }
    .download-panel { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .header-inner { height: 58px; }
    .nav-toggle { display: inline-block; }
    .main-nav {
      display: none; position: absolute; top: 58px; left: 0; right: 0;
      background: #0e1018; border-bottom: 1px solid var(--line);
      padding: 12px 20px 18px;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { display: block; padding: 8px 0; font-size: 15px; }
    section { padding: 46px 0; }
    .hero-title { font-size: 29px; }
    .section-head h2 { font-size: 23px; }
    .rank-layout, .qa-layout, .community-grid, .two-col, .news-board { grid-template-columns: 1fr; }
    .poster-wall { grid-template-columns: repeat(2, 1fr); }
    .mod-grid { grid-template-columns: 1fr; }
    .mod-card.wide { grid-column: auto; flex-direction: column; }
    .mod-card.wide img { width: 100%; aspect-ratio: 4 / 3; }
    .timeline-row { grid-template-columns: 62px 1fr; gap: 12px; }
    .update-timeline::before { left: 46px; }
    .timeline-time { font-size: 12px; }
    .timeline-card { grid-template-columns: 74px 1fr; gap: 12px; }
    .timeline-card img { width: 74px; height: 100px; }
    .download-panel { padding: 28px 18px; }
  }