:root {
    --bg: #141118;
    --bg-soft: #1d1922;
    --card: #241f2b;
    --line: rgba(255,255,255,.08);
    --text: #f2eef5;
    --sub: #a89fb0;
    --accent: #ff6b8a;
    --accent-2: #ffb26b;
    --radius: 16px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, 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 20px; }

  /* 导航 */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(20,17,24,.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 62px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .5px; flex-shrink: 0; }
  .brand img { height: 32px; width: 32px; border-radius: 8px; object-fit: cover; }
  .nav-links { display: none; gap: 22px; font-size: 14px; color: var(--sub); }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    display: inline-block; padding: 8px 16px; border-radius: 999px;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #1a1116; font-weight: 700; font-size: 14px; white-space: nowrap;
  }

  /* Hero */
  .hero { padding: 44px 0 40px; position: relative; }
  .hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(circle at 80% 0%, rgba(255,107,138,.20), transparent 55%),
      radial-gradient(circle at 10% 30%, rgba(255,178,107,.10), transparent 50%);
  }
  .hero-grid { position: relative; display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
  .hero h1 { font-size: 30px; line-height: 1.32; margin-bottom: 16px; letter-spacing: .5px; }
  .hero h1 span { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p { color: var(--sub); font-size: 15px; max-width: 34em; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
  .hero-tags span {
    font-size: 12px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #ddd4e2;
  }
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #1a1116; box-shadow: 0 10px 26px rgba(255,107,138,.25); }
  .btn-ghost { border: 1px solid rgba(255,255,255,.22); color: var(--text); }
  .hero-visual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-visual img {
    width: 100%; border-radius: 14px; aspect-ratio: 3/4; object-fit: cover;
    border: 1px solid var(--line);
  }
  .hero-visual img:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16/9; }

  /* 通用区块 */
  section { padding: 46px 0; }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
  .sec-head h2 { font-size: 22px; letter-spacing: .4px; }
  .sec-head p { color: var(--sub); font-size: 13px; }
  .sec-head h3 { font-size: 16px; color: var(--accent-2); }

  /* 心情标签 + 横滑 */
  .mood-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .mood-row button {
    flex: 0 0 auto; font-family: inherit; font-size: 13px; cursor: pointer;
    padding: 8px 18px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: var(--card); color: #d9d1e0;
    transition: all .18s ease;
  }
  .mood-row button:hover { border-color: var(--accent); color: #fff; }
  .mood-row button.active { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #1a1116; border-color: transparent; font-weight: 700; }

  .rail {
    display: flex; gap: 14px; overflow-x: auto; padding: 20px 0 10px;
    scroll-snap-type: x mandatory;
  }
  .rail::-webkit-scrollbar { height: 6px; }
  .rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 4px; }
  .rail-card { flex: 0 0 172px; scroll-snap-align: start; }
  .rail-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
  .rail-card strong { display: block; font-size: 14px; margin-top: 9px; }
  .rail-card small { color: var(--sub); font-size: 12px; }

  /* 卡片网格 */
  .grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
  }
  .card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .card-body { padding: 12px 13px 15px; }
  .card-body strong { font-size: 14px; display: block; margin-bottom: 4px; }
  .card-body small { color: var(--sub); font-size: 12px; }
  .badge {
    display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 6px;
    background: rgba(255,107,138,.16); color: var(--accent); margin-bottom: 6px;
  }

  /* 演员 */
  .actor-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; }
  .actor { flex: 0 0 150px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
  .actor img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
  .actor strong { display: block; font-size: 14px; }
  .actor small { color: var(--sub); font-size: 12px; line-height: 1.5; display: block; }

  /* 权益 */
  .perks { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .perk {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px 20px;
  }
  .perk .ico { font-size: 24px; line-height: 1; }
  .perk strong { display: block; font-size: 16px; margin-bottom: 4px; }
  .perk p { color: var(--sub); font-size: 13px; }

  /* 日历 */
  .calendar { display: grid; gap: 10px; }
  .cal-item {
    display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: center;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  }
  .cal-date { text-align: center; color: var(--accent-2); font-weight: 700; font-size: 13px; border-right: 1px solid var(--line); }
  .cal-date b { display: block; font-size: 20px; color: var(--text); }
  .cal-item p { font-size: 14px; }
  .cal-item p small { color: var(--sub); font-size: 12px; display: block; }

  /* 详情速览 */
  .detail-card {
    display: grid; grid-template-columns: 1fr; gap: 20px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  }
  .detail-card img { width: 100%; border-radius: 12px; object-fit: cover; }
  .detail-body h3 { font-size: 19px; margin-bottom: 8px; }
  .detail-body .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .detail-body .meta span { font-size: 12px; color: var(--sub); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
  .detail-body p { font-size: 14px; color: #d4ccdb; margin-bottom: 10px; }

  /* 榜单 */
  .rank-list { display: grid; gap: 8px; }
  .rank-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border-radius: 12px; background: var(--bg-soft);
    border: 1px solid var(--line); font-size: 14px;
  }
  .rank-num { width: 26px; text-align: center; font-weight: 800; color: var(--sub); flex-shrink: 0; }
  .rank-item:nth-child(1) .rank-num { color: #ff6b8a; }
  .rank-item:nth-child(2) .rank-num { color: #ffb26b; }
  .rank-item:nth-child(3) .rank-num { color: #c9a7ff; }
  .rank-name { flex: 1; }
  .rank-heat { font-size: 12px; color: var(--sub); flex-shrink: 0; }

  /* 攻略 */
  .guide-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
  .guide {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; display: grid; grid-template-columns: 1fr; gap: 12px;
  }
  .guide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
  .guide h3 { font-size: 16px; margin-bottom: 6px; }
  .guide p { font-size: 13px; color: var(--sub); }

  /* 下载 */
  .download-sec { background: linear-gradient(160deg, #241a24, #19141d); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .dl-box { display: grid; gap: 18px; grid-template-columns: 1fr; text-align: center; }
  .dl-box h2 { font-size: 22px; }
  .dl-box p { color: var(--sub); font-size: 14px; }
  .dl-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

  /* 页脚 */
  .site-footer { padding: 34px 0 40px; border-top: 1px solid var(--line); background: #110e14; }
  .foot-inner { display: grid; gap: 18px; }
  .foot-searches { font-size: 12px; color: #6f6779; line-height: 1.9; }
  .foot-searches span { margin-right: 10px; }
  .foot-meta { font-size: 12px; color: #6f6779; }
  .foot-meta a { color: #8b8197; }
  .foot-meta a:hover { color: var(--text); }
  .foot-line { margin-top: 6px; }

  /* 断点 */
  @media (min-width: 768px) {
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }
    .nav-links { display: flex; }
    .grid-cards { grid-template-columns: repeat(3, 1fr); }
    .perks { grid-template-columns: repeat(3, 1fr); }
    .detail-card { grid-template-columns: 260px 1fr; align-items: start; }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .dl-box { text-align: left; grid-template-columns: 1fr auto; align-items: center; }
    .dl-actions { justify-content: flex-end; margin-top: 0; }
    .calendar { grid-template-columns: repeat(2, 1fr); }
    .rail-card { flex-basis: 190px; }
  }
  @media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
    .hero h1 { font-size: 46px; }
    .hero { padding: 64px 0 56px; }
    section { padding: 58px 0; }
    .grid-cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .guide-grid { grid-template-columns: repeat(3, 1fr); }
    .calendar { grid-template-columns: repeat(3, 1fr); }
    .detail-card { grid-template-columns: 320px 1fr; gap: 28px; }
    .sec-head h2 { font-size: 26px; }
    .rail-card { flex-basis: 210px; }
  }