:root {
    --bg-deep: #0b1016;
    --bg-panel: #111a24;
    --bg-card: #18232f;
    --line: #24313f;
    --text-main: #eaf0f6;
    --text-sub: #93a4b5;
    --accent: #4fd1c5;
    --accent-soft: rgba(79, 209, 197, 0.12);
    --warm: #f2b463;
    --radius: 14px;
    --max: 1180px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }

  .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 16, 22, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .5px; }
  .brand img { height: 32px; width: auto; border-radius: 6px; }
  .nav-links { display: none; gap: 26px; font-size: 15px; color: var(--text-sub); }
  .nav-links a { transition: color .2s; }
  .nav-links a:hover { color: var(--accent); }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
    transition: transform .15s, background .2s, box-shadow .2s;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  }
  .btn:active { transform: scale(.96); }
  .btn-primary { background: var(--accent); color: #06231f; }
  .btn-primary:hover { background: #6fe3d7; box-shadow: 0 6px 18px rgba(79,209,197,.28); }
  .btn-ghost { border-color: var(--line); color: var(--text-main); background: transparent; }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .header-download { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .menu-toggle span { width: 22px; height: 2px; background: var(--text-main); border-radius: 2px; transition: .25s; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: none; flex-direction: column; gap: 4px;
    padding: 8px 20px 18px; border-top: 1px solid var(--line); background: var(--bg-panel);
  }
  .mobile-menu.show { display: flex; }
  .mobile-menu a { padding: 11px 4px; color: var(--text-sub); font-size: 15px; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--accent); }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; overflow: hidden;
    padding: 56px 0 48px;
    background:
      radial-gradient(1200px 420px at 80% -10%, rgba(79,209,197,.14), transparent 60%),
      radial-gradient(900px 380px at 0% 110%, rgba(242,180,99,.08), transparent 60%);
  }
  .hero-grid { display: flex; flex-direction: column; gap: 34px; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; letter-spacing: 2px; color: var(--accent);
    border: 1px solid rgba(79,209,197,.35); border-radius: 999px;
    padding: 5px 14px; margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 30px; line-height: 1.28; letter-spacing: -.5px; font-weight: 800;
    margin-bottom: 16px;
  }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero-lead { color: var(--text-sub); font-size: 16px; max-width: 560px; margin-bottom: 26px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 140px; padding: 13px 22px; }
  .hero-note { font-size: 13px; color: var(--text-sub); }
  .hero-visual { position: relative; }
  .route-line {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(79,209,197,.06));
  }
  .poster-stack {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  }
  .poster-stack img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 10px; border: 1px solid var(--line);
    transition: transform .3s;
  }
  .poster-stack img:nth-child(2) { transform: translateY(18px); }
  .poster-stack img:hover { transform: translateY(-4px) scale(1.02); }

  /* ---------- Section common ---------- */
  section { padding: 52px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-kicker {
    font-size: 13px; letter-spacing: 2px; color: var(--accent);
    margin-bottom: 8px; display: block;
  }
  .sec-head h2 { font-size: 24px; line-height: 1.3; font-weight: 800; margin-bottom: 10px; }
  .sec-head p { color: var(--text-sub); font-size: 15px; max-width: 680px; }

  /* ---------- Now playing (horizontal scroll) ---------- */
  .hscroll {
    display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .hscroll::-webkit-scrollbar { height: 6px; }
  .hscroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
  .show-card {
    flex: 0 0 152px; scroll-snap-align: start;
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .2s, border-color .2s, box-shadow .2s;
  }
  .show-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 26px rgba(0,0,0,.35); }
  .show-card:active { transform: scale(.98); }
  .show-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .show-card-body { padding: 10px 10px 13px; }
  .show-card-body h3 { font-size: 14px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .show-card-body p { font-size: 12px; color: var(--text-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* ---------- Ranking ---------- */
  .rank-list { display: flex; flex-direction: column; gap: 10px; }
  .rank-item {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 10px 14px;
    transition: border-color .2s, background .2s;
  }
  .rank-item:hover { border-color: var(--accent); background: var(--bg-card); }
  .rank-num {
    flex: 0 0 28px; font-size: 15px; font-weight: 800; color: var(--text-sub); text-align: center;
  }
  .rank-item:nth-child(1) .rank-num,
  .rank-item:nth-child(2) .rank-num,
  .rank-item:nth-child(3) .rank-num { color: var(--warm); }
  .rank-thumb { width: 48px; height: 64px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
  .rank-info { flex: 1; min-width: 0; }
  .rank-info h3 { font-size: 15px; margin-bottom: 2px; }
  .rank-info p { font-size: 12.5px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rank-tag { font-size: 11.5px; color: var(--accent); border: 1px solid rgba(79,209,197,.3); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

  /* ---------- Genre filter ---------- */
  .genre-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
  .genre-tab {
    padding: 8px 17px; border-radius: 999px; font-size: 14px;
    background: var(--bg-panel); border: 1px solid var(--line); color: var(--text-sub);
    cursor: pointer; transition: .2s;
  }
  .genre-tab:hover { color: var(--text-main); border-color: var(--accent); }
  .genre-tab.active { background: var(--accent); color: #06231f; border-color: var(--accent); font-weight: 700; }
  .genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .genre-card {
    background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 15px; transition: border-color .2s, transform .2s;
  }
  .genre-card:hover { border-color: var(--accent); transform: translateY(-3px); }
  .genre-card h3 { font-size: 15px; margin-bottom: 5px; }
  .genre-card p { font-size: 12.5px; color: var(--text-sub); }

  /* ---------- Timeline ---------- */
  .timeline { position: relative; padding-left: 24px; }
  .timeline::before {
    content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--line));
  }
  .tl-item { position: relative; padding-bottom: 26px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-dot {
    position: absolute; left: -24px; top: 6px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--bg-deep); border: 2px solid var(--accent);
  }
  .tl-item h3 { font-size: 16px; margin-bottom: 4px; }
  .tl-item p { font-size: 14px; color: var(--text-sub); }
  .tl-meta { display: inline-block; font-size: 11.5px; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; margin-bottom: 6px; }

  /* ---------- Featured ---------- */
  .featured {
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .featured-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .featured-body { padding: 24px 20px 28px; }
  .featured-body h2 { font-size: 22px; margin-bottom: 12px; }
  .featured-body p { color: var(--text-sub); font-size: 15px; margin-bottom: 14px; }
  .featured-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .featured-tags span { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
  .featured-actions { display: flex; flex-wrap: wrap; gap: 12px; }

  /* ---------- Mood ---------- */
  .mood-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .mood-card {
    display: flex; gap: 14px; background: var(--bg-card);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: border-color .2s, transform .2s;
  }
  .mood-card:hover { border-color: var(--accent); transform: translateY(-3px); }
  .mood-card img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; flex: 0 0 auto; }
  .mood-body { padding: 14px 14px 14px 0; }
  .mood-body h3 { font-size: 15px; margin-bottom: 6px; }
  .mood-body p { font-size: 13px; color: var(--text-sub); }

  /* ---------- Binge list ---------- */
  .binge-list { counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
  .binge-item {
    counter-increment: step; display: flex; gap: 14px; align-items: flex-start;
    background: var(--bg-panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px 16px;
    transition: border-color .2s;
  }
  .binge-item:hover { border-color: var(--accent); }
  .binge-item::before {
    content: counter(step, decimal-leading-zero);
    font-size: 15px; font-weight: 800; color: var(--accent);
    flex: 0 0 auto; padding-top: 2px;
  }
  .binge-item h3 { font-size: 15px; margin-bottom: 4px; }
  .binge-item p { font-size: 13px; color: var(--text-sub); }

  /* ---------- Experience ---------- */
  .exp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .exp-item {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px;
    transition: border-color .2s;
  }
  .exp-item:hover { border-color: var(--accent); }
  .exp-item h3 { font-size: 16px; margin-bottom: 8px; }
  .exp-item p { font-size: 14px; color: var(--text-sub); }
  .exp-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
  .exp-shots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

  /* ---------- Download ---------- */
  .download {
    background: linear-gradient(135deg, #0f1f26, #101822);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .download h2 { font-size: 24px; margin-bottom: 12px; }
  .download p { color: var(--text-sub); font-size: 15px; max-width: 560px; margin: 0 auto 26px; }
  .download-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .download-actions .btn { min-width: 150px; padding: 14px 26px; }

  /* ---------- Footer ---------- */
  .site-footer {
    border-top: 1px solid var(--line); padding: 40px 0 30px;
    background: #080d12; color: var(--text-sub); font-size: 13px;
  }
  .footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-bottom: 28px; }
  .footer-col h4 { font-size: 14px; color: var(--text-main); margin-bottom: 10px; font-weight: 600; }
  .footer-col a { display: block; padding: 4px 0; color: var(--text-sub); transition: color .2s; }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom {
    border-top: 1px solid var(--line); padding-top: 20px;
    display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.7;
  }
  .footer-bottom a { color: var(--text-sub); }
  .footer-bottom a:hover { color: var(--accent); }
  .footer-bottom time { color: #6f7f8f; }

  /* ---------- Breakpoints ---------- */
  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .menu-toggle { display: none; }
    .header-download { display: inline-flex; }
    .hero { padding: 76px 0 64px; }
    .hero h1 { font-size: 40px; }
    .hero-grid { flex-direction: row; align-items: center; gap: 40px; }
    .hero-copy { flex: 1 1 52%; }
    .hero-visual { flex: 1 1 48%; }
    .hero-actions .btn { flex: 0 0 auto; }
    .show-card { flex: 0 0 178px; }
    .genre-grid { grid-template-columns: repeat(3, 1fr); }
    .mood-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-shots { grid-template-columns: repeat(4, 1fr); }
    .featured { flex-direction: row; }
    .featured-img { width: 42%; aspect-ratio: auto; height: 100%; object-fit: cover; }
    .featured-body { width: 58%; padding: 34px 32px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
    .sec-head h2 { font-size: 28px; }
  }

  @media (min-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .show-card { flex: 0 0 196px; }
    .genre-grid { grid-template-columns: repeat(4, 1fr); }
    .mood-grid { grid-template-columns: repeat(3, 1fr); }
    .exp-grid { grid-template-columns: repeat(3, 1fr); }
    .rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    section { padding: 68px 0; }
  }