:root {
    --bg: #0f0a1a;
    --bg-alt: #1a1025;
    --card: #231533;
    --text: #f2eaf5;
    --muted: #b8a8c8;
    --accent: #ff4d8d;
    --accent2: #ffb347;
    --grad: linear-gradient(90deg, #ff4d8d, #ff8a3d, #ffd166);
    --radius: 18px;
    --max: 1200px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 90px;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 {
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: 0.5px;
    display: inline-block;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
  }
  .section-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }
  .tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255,77,141,.15);
    color: var(--accent);
    margin-right: 6px;
    margin-bottom: 6px;
  }

  /* ===== TOP NAV ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15,10,26,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 32px; width: 32px; border-radius: 8px; object-fit: cover; }
  .brand span { font-weight: 800; font-size: 18px; letter-spacing: 1px; }
  .desktop-nav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
  .desktop-nav a:hover { color: var(--text); }
  .menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,.2);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
  }
  .mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 10px 0 16px; }
  .mobile-nav a { padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--muted); }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 0;
    background: radial-gradient(circle at 20% 10%, #3a1a4a 0%, transparent 55%),
                radial-gradient(circle at 85% 20%, #4a1428 0%, transparent 50%),
                var(--bg);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 1px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-lead { color: var(--muted); margin-top: 16px; font-size: 16px; max-width: 520px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
  .dl-btn {
    display: inline-flex;
    flex-direction: column;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    color: var(--muted);
    transition: transform .2s, border-color .2s;
  }
  .dl-btn strong { color: var(--text); font-size: 15px; }
  .dl-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
  .dl-btn.primary {
    background: var(--grad);
    border: none;
    color: #fff;
  }
  .dl-btn.primary strong { color: #fff; }

  /* hero carousel */
  .hero-visual { position: relative; min-height: 360px; }
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .6s ease, transform .6s ease;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .slide.active { opacity: 1; transform: scale(1); }
  .slide img { width: 100%; height: 100%; object-fit: cover; }
  .slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
    font-size: 14px;
  }
  .slide-caption strong { display: block; font-size: 18px; margin-bottom: 2px; }
  .slide-caption span { color: var(--muted); font-size: 12px; }
  .dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; margin-bottom: 30px; }
  .dot { width: 22px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); border: none; cursor: pointer; }
  .dot.active { background: var(--accent); }

  /* marquee */
  .marquee {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    padding: 12px 0;
  }
  .marquee-track {
    display: inline-block;
    animation: scrollx 30s linear infinite;
  }
  .marquee-track span {
    display: inline-block;
    margin: 0 22px;
    font-weight: 800;
    font-size: 15px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  @keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ===== 昨日爆款 ===== */
  .sec-yesterday { background: linear-gradient(180deg, #1a1025, #22102f); }
  .hot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
  .hot-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
  }
  .hot-card img { height: 160px; width: 100%; object-fit: cover; }
  .hot-card .info { padding: 10px 12px 14px; flex: 1; display: flex; flex-direction: column; }
  .hot-card h3 { font-size: 14px; margin-bottom: 6px; }
  .hot-card .desc { font-size: 12px; color: var(--muted); line-height: 1.5; flex: 1; }
  .hot-card .meta { font-size: 11px; color: #8a7a9a; margin-top: 8px; }
  .hot-card .score { color: var(--accent2); font-weight: 700; }

  /* ===== 完结精选 ===== */
  .sec-finished { background: #15202b; }
  .fin-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
  .fin-poster { border-radius: var(--radius); overflow: hidden; position: sticky; top: 80px; }
  .fin-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .fin-poster .caption { padding: 14px; background: var(--card); }
  .fin-poster .caption h3 { font-size: 18px; margin-bottom: 6px; }
  .fin-poster .caption p { font-size: 13px; color: var(--muted); }
  .fin-list { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,.06); border-radius: 12px; overflow: hidden; }
  .fin-item {
    background: #1c2836;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .fin-item h3 { font-size: 15px; font-weight: 600; }
  .fin-item .fin-sub { font-size: 12px; color: var(--muted); }
  .fin-item .rate { font-size: 13px; color: var(--accent2); font-weight: 700; white-space: nowrap; }

  /* ===== 飙升热榜 ===== */
  .sec-rising { background: #2a1420; }
  .rank-list { display: flex; flex-direction: column; gap: 12px; }
  .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.04);
    padding: 12px 18px;
    border-radius: 12px;
    border-left: 3px solid transparent;
  }
  .rank-item:nth-child(1) { border-left-color: #ff4d8d; }
  .rank-item:nth-child(2) { border-left-color: #ff8a3d; }
  .rank-item:nth-child(3) { border-left-color: #ffd166; }
  .rank-num { font-size: 22px; font-weight: 900; width: 40px; color: rgba(255,255,255,.3); }
  .rank-item:nth-child(-n+3) .rank-num { color: var(--accent); }
  .rank-item img { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; }
  .rank-info { flex: 1; }
  .rank-info h3 { font-size: 15px; margin-bottom: 2px; }
  .rank-info p { font-size: 12px; color: var(--muted); }
  .rank-score { font-size: 13px; color: var(--accent2); font-weight: 700; }

  /* ===== 沉浸式互动剧 ===== */
  .sec-interactive { background: #101c2c; }
  .interactive-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .ia-panel {
    background: rgba(255,255,255,.04);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.07);
  }
  .ia-panel h3 { font-size: 18px; margin-bottom: 14px; color: var(--accent2); }
  .ia-panel ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .ia-panel li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
  .ia-panel li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
  .ia-timeline { position: relative; padding-left: 28px; }
  .ia-timeline::before {
    content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(to bottom, var(--accent), transparent);
  }
  .tl-item { position: relative; padding-bottom: 22px; }
  .tl-item::before {
    content: ""; position: absolute; left: -26px; top: 5px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,77,141,.18);
  }
  .tl-time { font-size: 13px; font-weight: 700; color: var(--accent2); }
  .tl-item h4 { font-size: 15px; margin: 2px 0 4px; }
  .tl-item p { font-size: 13px; color: var(--muted); }

  /* ===== 创作者激励 ===== */
  .sec-creator { background: #14261e; }
  .qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .qa-card {
    background: rgba(255,255,255,.04);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.07);
  }
  .qa-card h3 { font-size: 15px; color: var(--accent2); margin-bottom: 8px; }
  .qa-card p { font-size: 14px; color: var(--muted); }

  /* ===== 用户神评墙 ===== */
  .sec-reviews { background: #241a2f; }
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .review-card {
    background: rgba(255,255,255,.05);
    border-radius: 14px;
    padding: 18px;
  }
  .review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .review-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
  .review-head strong { font-size: 14px; }
  .review-head span { font-size: 11px; color: var(--muted); display: block; }
  .review-card p { font-size: 14px; color: #ddd0e8; }

  /* ===== 保护与反馈 ===== */
  .sec-safe { background: #1a1a2e; }
  .safe-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .safe-box { background: rgba(255,255,255,.04); border-radius: var(--radius); padding: 24px; }
  .safe-box h3 { font-size: 18px; margin-bottom: 12px; }
  .safe-box p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
  .feedback-line { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
  .feedback-line b { color: var(--text); min-width: 70px; }

  /* ===== 下载区 ===== */
  .sec-download { background: linear-gradient(180deg, #2a1430, #0f0a1a); }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
  .step { background: rgba(255,255,255,.04); border-radius: 12px; padding: 18px; text-align: center; }
  .step .n { display: inline-block; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: var(--grad); font-weight: 800; margin-bottom: 8px; }
  .step p { font-size: 13px; color: var(--muted); }
  .dl-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

  /* ===== FOOTER ===== */
  .site-footer {
    background: #0a0710;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 36px 0 28px;
    font-size: 12px;
    color: #7a6b88;
  }
  .footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
  .footer-cols h4 { color: #b8a8c8; font-size: 13px; margin-bottom: 10px; }
  .footer-cols a { display: block; margin-bottom: 6px; }
  .footer-cols a:hover { color: var(--accent); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .footer-bottom a { color: #7a6b88; }
  .footer-bottom a:hover { color: var(--accent); }

  /* ===== FLOAT DOWNLOAD ===== */
  .float-dl {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--grad);
    padding: 10px 22px 10px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 26px rgba(255,77,141,.35);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
  }
  .float-dl img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

  /* ===== 百度APP提示弹窗 ===== */
  .baidu-tip {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .baidu-tip.show { display: flex; }
  .baidu-tip-box {
    background: #231533;
    border-radius: 16px;
    padding: 24px;
    max-width: 340px;
    width: 100%;
    text-align: center;
  }
  .baidu-tip-box p { font-size: 14px; margin-bottom: 14px; color: var(--muted); }
  .baidu-tip-box .copy-val {
    background: rgba(255,255,255,.08);
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    word-break: break-all;
    margin-bottom: 14px;
    color: var(--accent2);
  }
  .baidu-tip-box button {
    background: var(--grad);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .hot-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .fin-layout { grid-template-columns: 240px 1fr; }
  }
  @media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav.open { display: flex; }
    .hero { padding-top: 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-visual { min-height: 280px; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
    .fin-layout { grid-template-columns: 1fr; }
    .fin-poster { position: static; max-width: 260px; margin: 0 auto; }
    .interactive-wrap { grid-template-columns: 1fr; }
    .qa-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .safe-layout { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; gap: 20px; }
    .section { padding: 44px 0; }
    .rank-item { flex-wrap: wrap; }
    .rank-score { margin-left: auto; }
    .dl-btn { flex: 1 1 45%; }
  }