:root {
    --bg: #11131a;
    --bg-soft: #191c26;
    --card: #1e222e;
    --orange: #f6731a;
    --orange-soft: #ff8f45;
    --white: #ffffff;
    --gray: #aaaaaa;
    --line: #2a2f3d;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--gray);
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
  .orange { color: var(--orange); }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(17,19,26,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; gap: 24px;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .brand img { height: 34px; width: auto; }
  .brand-name { color: var(--white); font-size: 17px; font-weight: 700; letter-spacing: .5px; }
  .nav-main { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
  .nav-main a { font-size: 14px; color: #c9ccd6; transition: color .2s; white-space: nowrap; }
  .nav-main a:hover { color: var(--orange); }
  .nav-main a.hot { color: var(--orange); font-weight: 600; }
  .header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
  .search-box {
    display: flex; align-items: center; gap: 6px;
    background: #1a1e29; border: 1px solid var(--line);
    border-radius: 999px; padding: 6px 14px;
    transition: border-color .2s;
  }
  .search-box:focus-within { border-color: var(--orange); }
  .search-box input {
    background: none; border: none; outline: none;
    color: var(--white); font-size: 13px; width: 130px;
  }
  .search-box input::placeholder { color: #6c7284; }
  .search-box span { color: #6c7284; font-size: 13px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f6731a, #ff9a3d);
    color: #fff; font-weight: 600; font-size: 14px;
    padding: 9px 22px; border-radius: 8px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(246,115,26,.25);
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(246,115,26,.4); }
  .btn-ghost {
    background: transparent; border: 1px solid var(--orange); color: var(--orange);
    box-shadow: none;
  }
  .btn-ghost:hover { background: rgba(246,115,26,.12); box-shadow: none; }

  /* ---------- Hero ---------- */
  .hero { padding: 34px 0 10px; }
  .hero-card {
    position: relative; overflow: hidden;
    border-radius: 22px;
    background:
      radial-gradient(900px 420px at 18% 10%, rgba(246,115,26,.42), transparent 70%),
      radial-gradient(700px 380px at 85% 90%, rgba(255,143,69,.22), transparent 70%),
      linear-gradient(120deg, #2a1408, #191b25 60%);
    border: 1px solid rgba(246,115,26,.22);
    display: grid; grid-template-columns: 1.15fr .85fr;
    min-height: 360px;
  }
  .hero-copy { padding: 48px 40px 46px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(246,115,26,.16); border: 1px solid rgba(246,115,26,.5);
    color: var(--orange-soft); font-size: 13px; font-weight: 600;
    padding: 5px 14px; border-radius: 999px; width: fit-content;
  }
  .hero h1 {
    color: var(--white); font-size: 40px; line-height: 1.25; letter-spacing: 1px;
  }
  .hero h1 em { color: var(--orange); font-style: normal; }
  .hero-desc { color: #c3c7d2; font-size: 15px; max-width: 460px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
  .hero-visual { position: relative; overflow: hidden; }
  .hero-visual img {
    width: 100%; height: 100%; object-fit: cover;
    mask-image: linear-gradient(to left, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #000 60%, transparent 100%);
  }

  /* ---------- Section titles ---------- */
  .sec { padding: 44px 0 8px; }
  .sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
  .sec-head h2 { color: var(--white); font-size: 23px; font-weight: 700; }
  .sec-head h2::before {
    content: ""; display: inline-block; width: 5px; height: 20px;
    background: var(--orange); border-radius: 3px; margin-right: 10px;
    vertical-align: -3px;
  }
  .sec-head span { color: #767d90; font-size: 13px; }

  /* ---------- Layout grid ---------- */
  .content-grid {
    display: grid; grid-template-columns: 1fr 320px; gap: 34px;
    align-items: start;
  }

  /* ---------- Movie cards ---------- */
  .movie-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .movie-card {
    position: relative; overflow: hidden; border-radius: 14px;
    background: var(--card); border: 1px solid var(--line);
    transition: transform .25s, border-color .25s;
  }
  .movie-card:hover { transform: translateY(-4px); border-color: rgba(246,115,26,.55); }
  .movie-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .movie-info { padding: 14px 16px 16px; }
  .movie-info h3 { color: var(--white); font-size: 18px; margin-bottom: 4px; }
  .movie-info p { font-size: 13px; color: var(--gray); }

  /* ---------- Poster grids ---------- */
  .block-title { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 16px; }
  .block-title h3 { color: var(--white); font-size: 19px; }
  .block-title h3::before {
    content: ""; display: inline-block; width: 4px; height: 16px;
    background: var(--orange); border-radius: 2px; margin-right: 9px; vertical-align: -2px;
  }
  .block-title a { font-size: 13px; color: #767d90; margin-left: auto; transition: color .2s; }
  .block-title a:hover { color: var(--orange); }

  .poster-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  }
  .poster-card {
    position: relative; overflow: hidden; border-radius: 10px;
    background: var(--card); border: 1px solid transparent;
    transition: transform .22s, border-color .22s;
  }
  .poster-card:hover { transform: translateY(-4px); border-color: rgba(246,115,26,.6); }
  .poster-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .poster-card .cap {
    padding: 9px 10px 11px;
  }
  .poster-card .cap strong { display: block; color: #e9ebf2; font-size: 14px; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .poster-card .cap small { color: #7f8698; font-size: 12px; }
  .badge {
    position: absolute; top: 8px; left: 8px;
    background: rgba(17,19,26,.82); color: var(--orange-soft);
    border: 1px solid rgba(246,115,26,.5);
    font-size: 11px; padding: 2px 7px; border-radius: 5px;
  }
  .badge.right { left: auto; right: 8px; }

  /* ---------- Ranking ---------- */
  .rank-panel {
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: 14px; padding: 20px 18px;
  }
  .rank-panel h2 { color: var(--white); font-size: 18px; margin-bottom: 14px; }
  .rank-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .rank-list li { display: flex; align-items: center; gap: 12px; padding: 9px 6px;
    border-radius: 8px; transition: background .2s; }
  .rank-list li:hover { background: #232836; }
  .rank-num {
    width: 24px; font-size: 16px; font-weight: 800; font-style: italic;
    text-align: center; color: #545b6d; flex-shrink: 0;
  }
  .rank-num.n1 { color: #ff4d4d; }
  .rank-num.n2 { color: #f6731a; }
  .rank-num.n3 { color: #f5c542; }
  .rank-list a { color: #c9ccd6; font-size: 14px; flex: 1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: color .2s; }
  .rank-list li:hover a { color: var(--orange); }
  .rank-list .hot-mark { font-size: 11px; color: #7f8698; flex-shrink: 0; }
  .rank-note { margin-top: 14px; font-size: 12px; color: #676e81; line-height: 1.6; }

  /* ---------- Download ---------- */
  .download {
    margin-top: 46px;
    border-radius: 20px; padding: 46px 40px;
    background:
      radial-gradient(700px 300px at 80% 20%, rgba(246,115,26,.32), transparent 70%),
      linear-gradient(135deg, #1c1f2a, #14161e);
    border: 1px solid rgba(246,115,26,.25);
    display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center;
  }
  .download h2 { color: var(--white); font-size: 28px; margin-bottom: 12px; }
  .download h2 span { color: var(--orange); }
  .download p { max-width: 520px; margin-bottom: 8px; }
  .download-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 22px; }
  .download-list li { font-size: 14px; color: #c3c7d2; }
  .download-list li::before { content: "✓"; color: var(--orange); margin-right: 7px; }
  .download-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .qr-box {
    background: #fff; border-radius: 14px; padding: 14px; width: 168px;
    margin: 0 auto; text-align: center;
  }
  .qr-box img { width: 100%; border-radius: 6px; }
  .qr-box span { display: block; color: #333; font-size: 12px; margin-top: 8px; }

  /* ---------- Community ---------- */
  .qa-list { display: flex; flex-direction: column; gap: 12px; }
  .qa-item {
    position: relative; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: 12px; padding: 16px 18px 14px 20px;
    transition: transform .22s, border-color .22s;
  }
  .qa-item::before {
    content: ""; position: absolute; left: 0; top: 14px; bottom: 14px;
    width: 3px; border-radius: 2px; background: transparent; transition: background .22s;
  }
  .qa-item:hover { transform: translateX(6px); border-color: rgba(246,115,26,.4); }
  .qa-item:hover::before { background: var(--orange); }
  .qa-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .avatar {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff; background: linear-gradient(135deg, #f6731a, #b8462a);
  }
  .qa-user { font-size: 13px; color: #8f96a8; }
  .qa-label {
    font-size: 11px; padding: 1px 8px; border-radius: 4px;
    background: rgba(246,115,26,.16); color: var(--orange-soft);
  }
  .qa-label.discuss { background: rgba(120,140,255,.14); color: #9aabff; }
  .qa-title { color: #e9ebf2; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
  .qa-item:hover .qa-title { color: var(--orange); }
  .qa-sum { font-size: 13px; color: #8f96a8; margin-bottom: 9px; }
  .qa-meta { display: flex; gap: 18px; font-size: 12px; color: #676e81; }
  .qa-meta b { color: var(--orange-soft); font-weight: 600; }

  /* ---------- Footer notice ---------- */
  .notice {
    margin-top: 44px; border: 1px solid rgba(255,77,77,.4);
    border-radius: 12px; background: rgba(255,77,77,.05);
  }
  .notice-head {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-bottom: 1px solid rgba(255,77,77,.25);
    color: #ff8a8a; font-size: 14px; font-weight: 700;
  }
  .notice-body {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px;
  }
  .notice-col h3 { color: #e9ebf2; font-size: 14px; margin-bottom: 8px; }
  .notice-col p { font-size: 13px; color: #8f96a8; margin-bottom: 6px; }
  .notice-col strong { color: #c9ccd6; font-weight: 600; }

  /* ---------- Footer ---------- */
  .site-footer {
    margin-top: 50px; border-top: 1px solid var(--line);
    padding: 26px 0 32px; font-size: 12px; color: #5f6679;
  }
  .footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
  .footer-inner a { color: #5f6679; transition: color .2s; }
  .footer-inner a:hover { color: var(--orange); }
  .footer-time { color: #4c5263; }

  /* ---------- Float button ---------- */
  .float-dl {
    position: fixed; right: 22px; bottom: 26px; z-index: 60;
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #f6731a, #ff9a3d);
    color: #fff; font-size: 14px; font-weight: 600;
    padding: 12px 20px; border-radius: 999px;
    box-shadow: 0 10px 28px rgba(246,115,26,.4);
    transition: transform .2s;
  }
  .float-dl:hover { transform: translateY(-3px); }

  /* ---------- Responsive ---------- */
  @media (max-width: 1100px) {
    .nav-main { display: none; }
    .content-grid { grid-template-columns: 1fr; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .download { grid-template-columns: 1fr; }
    .qr-box { margin: 0; }
  }
  @media (max-width: 768px) {
    .wrap { padding: 0 15px; }
    .search-box { display: none; }
    .hero-copy { padding: 32px 22px; }
    .hero h1 { font-size: 28px; }
    .movie-row { grid-template-columns: 1fr; }
    .poster-grid { grid-template-columns: 1fr; }
    .notice-body { grid-template-columns: 1fr; }
    .download { padding: 30px 20px; }
    .float-dl { display: none; }
    .sec { padding-top: 34px; }
    .rank-list a { font-size: 13px; }
  }