:root {
    --bg: #0a0a0c;
    --bg-soft: #141418;
    --card: #1b1b21;
    --pink: #ff2e74;
    --pink-soft: #ff6b9e;
    --yellow: #ffd400;
    --text: #f2f2f5;
    --muted: #9a9aa5;
    --line: #2a2a33;
    --radius: 14px;
  }
  * { 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;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 92%; max-width: 1180px; margin: 0 auto; }

  /* 顶部导航 */
  .site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(10,10,12,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .brand span { color: var(--pink); }
  .nav-toggle {
    display: none; background: var(--pink); color: #fff; border: none;
    padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .main-nav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
  .main-nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
  .main-nav a:hover { color: var(--pink-soft); }

  /* 小水果下落 */
  .fruit-field { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
  .fruit {
    position: absolute; top: -60px; font-size: 20px; opacity: .45;
    animation: fall linear infinite;
  }
  .fruit:nth-child(1){ left: 6%;  animation-duration: 13s; animation-delay: 0s; font-size: 18px;}
  .fruit:nth-child(2){ left: 18%; animation-duration: 17s; animation-delay: 2s; font-size: 24px;}
  .fruit:nth-child(3){ left: 31%; animation-duration: 12s; animation-delay: 5s; font-size: 16px;}
  .fruit:nth-child(4){ left: 44%; animation-duration: 19s; animation-delay: 1s; font-size: 22px;}
  .fruit:nth-child(5){ left: 57%; animation-duration: 15s; animation-delay: 7s; font-size: 20px;}
  .fruit:nth-child(6){ left: 70%; animation-duration: 14s; animation-delay: 3s; font-size: 26px;}
  .fruit:nth-child(7){ left: 84%; animation-duration: 18s; animation-delay: 6s; font-size: 18px;}
  .fruit:nth-child(8){ left: 93%; animation-duration: 11s; animation-delay: 9s; font-size: 22px;}
  @keyframes fall {
    0% { transform: translateY(-80px) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(320deg); }
  }

  main { position: relative; z-index: 2; }

  /* 首屏 */
  .hero { padding: 54px 0 30px; }
  .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
  .hero-tag {
    display: inline-block; font-size: 13px; color: var(--pink-soft);
    border: 1px solid rgba(255,46,116,.45); border-radius: 999px; padding: 3px 12px; margin-bottom: 16px;
  }
  .hero h1 { font-size: 42px; line-height: 1.25; font-weight: 900; margin-bottom: 16px; letter-spacing: 1px; }
  .hero h1 em { font-style: normal; color: var(--pink); }
  .hero p { color: var(--muted); font-size: 16px; margin-bottom: 24px; max-width: 540px; }
  .btn-download {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--yellow); color: #1a1a1a; font-weight: 900; font-size: 18px;
    padding: 15px 34px; border-radius: 999px; box-shadow: 0 8px 26px rgba(255,212,0,.28);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn-download:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,212,0,.4); }
  .update-time { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }

  /* 轮播 */
  .carousel { position: relative; padding: 10px 0 30px; }
  .deck { position: relative; height: 400px; perspective: 1100px; }
  .deck-track { position: absolute; inset: 0; }
  .deck-card {
    position: absolute; top: 50%; left: 50%; width: 230px; height: 330px;
    border-radius: 16px; overflow: hidden; cursor: pointer;
    transform-origin: center center;
    transition: transform .55s cubic-bezier(.25,.8,.3,1), opacity .5s;
    box-shadow: 0 18px 44px rgba(0,0,0,.6); border: 2px solid rgba(255,46,116,.35);
    background: var(--card);
  }
  .deck-card img { width: 100%; height: 100%; object-fit: cover; }
  .play-btn {
    position: absolute; left: 50%; top: 50%; width: 54px; height: 54px;
    margin: -27px 0 0 -27px; border-radius: 50%;
    background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.7);
    backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .play-btn::after {
    content: ""; border-style: solid; border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff; margin-left: 4px;
  }
  .deck-card:hover .play-btn { background: rgba(255,46,116,.55); }
  .carousel-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

  /* 滚动横幅 */
  .ticker { background: var(--pink); color: #fff; overflow: hidden; padding: 10px 0; border-top: 1px solid #ff5c92; border-bottom: 1px solid #ff5c92; }
  .ticker-track { display: flex; gap: 60px; white-space: nowrap; animation: ticker 26s linear infinite; width: max-content; }
  .ticker-track span { font-size: 14px; font-weight: 700; letter-spacing: 1px; }
  .ticker-track span::before { content: "◆"; margin-right: 10px; color: var(--yellow); font-size: 11px; }
  @keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* 通用区块 */
  section { padding: 58px 0; position: relative; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 28px; font-weight: 900; letter-spacing: .5px; }
  .sec-head h2 span { color: var(--pink); }
  .sec-head p { color: var(--muted); margin-top: 8px; max-width: 720px; font-size: 15px; }

  /* 片库 */
  .grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .poster-card {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); cursor: pointer; transition: transform .22s, border-color .22s;
  }
  .poster-card:hover { transform: translateY(-5px); border-color: rgba(255,46,116,.55); }
  .poster-thumb { position: relative; aspect-ratio: 3/4; overflow: hidden; }
  .poster-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .poster-card:hover .poster-thumb img { transform: scale(1.05); }
  .poster-cap { padding: 12px 14px 14px; }
  .poster-cap h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
  .poster-cap p { font-size: 13px; color: var(--muted); line-height: 1.5; }

  /* 特色观点 */
  .feature-block {
    background: linear-gradient(135deg, #1e1017, #14141a 60%);
    border: 1px solid rgba(255,46,116,.25); border-radius: 20px; padding: 38px;
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center;
  }
  .feature-block img { border-radius: 14px; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .feature-text h2 { font-size: 26px; font-weight: 900; margin-bottom: 16px; }
  .feature-text h2 span { color: var(--pink); }
  .feature-text h3 { font-size: 17px; margin: 18px 0 6px; color: var(--pink-soft); }
  .feature-text p { color: #c6c6d0; font-size: 15px; }

  /* 横滑区 */
  .scroller { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
  .scroller::-webkit-scrollbar { height: 6px; }
  .scroller::-webkit-scrollbar-thumb { background: #3a3a45; border-radius: 4px; }
  .scroll-item {
    flex: 0 0 200px; scroll-snap-align: start; background: var(--card);
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer;
  }
  .scroll-item .poster-thumb { aspect-ratio: 3/4; }
  .scroll-item .poster-cap h3 { font-size: 14px; }
  .scroll-item .poster-cap p { font-size: 12px; }

  /* 排行榜 */
  .rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rank-item {
    display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 12px; align-items: center; cursor: pointer;
    transition: border-color .2s;
  }
  .rank-item:hover { border-color: rgba(255,46,116,.55); }
  .rank-item img { width: 74px; height: 98px; object-fit: cover; border-radius: 8px; flex: none; }
  .rank-no { font-size: 22px; font-weight: 900; color: var(--pink); width: 30px; flex: none; text-align: center; }
  .rank-info h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
  .rank-info .stats { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
  .rank-info .stats b { color: var(--yellow); font-weight: 800; }

  /* 界面演示 */
  .demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .demo-card { background: var(--card); border-radius: var(--radius); padding: 12px; border: 1px solid var(--line); cursor: pointer; }
  .demo-card .poster-thumb { aspect-ratio: 9/16; border-radius: 10px; }
  .demo-card p { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

  /* 弹幕播放器 */
  .danmu-stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; }
  .danmu-stage > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .55; }
  .danmu-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .danmu {
    position: absolute; white-space: nowrap; font-size: 15px; font-weight: 700;
    color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9); animation: danmu linear infinite;
  }
  .danmu:nth-child(1){ top: 12%; animation-duration: 12s; animation-delay: 0s; color: #ffe066;}
  .danmu:nth-child(2){ top: 24%; animation-duration: 15s; animation-delay: 2s; color: #ff8fb8;}
  .danmu:nth-child(3){ top: 36%; animation-duration: 11s; animation-delay: 4s;}
  .danmu:nth-child(4){ top: 48%; animation-duration: 16s; animation-delay: 1s; color: #8fd3ff;}
  .danmu:nth-child(5){ top: 60%; animation-duration: 13s; animation-delay: 6s;}
  .danmu:nth-child(6){ top: 72%; animation-duration: 14s; animation-delay: 3s; color: #ffe066;}
  .danmu:nth-child(7){ top: 84%; animation-duration: 12s; animation-delay: 8s; color: #ff8fb8;}
  @keyframes danmu { 0% { transform: translateX(100%); } 100% { transform: translateX(-120%); } }
  .danmu-stage .play-btn { width: 70px; height: 70px; margin: -35px 0 0 -35px; }

  /* 历程 */
  .timeline { border-left: 2px solid rgba(255,46,116,.4); padding-left: 28px; display: grid; gap: 26px; }
  .tl-item h3 { font-size: 17px; font-weight: 800; color: var(--pink-soft); margin-bottom: 6px; position: relative; }
  .tl-item h3::before {
    content: ""; position: absolute; left: -36px; top: 8px; width: 12px; height: 12px;
    background: var(--pink); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,46,116,.18);
  }
  .tl-item p { color: #c6c6d0; font-size: 15px; }

  /* FAQ */
  .faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
  .faq-list details {
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px;
    transition: border-color .2s;
  }
  .faq-list details[open] { border-color: rgba(255,46,116,.5); }
  .faq-list summary {
    list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
  }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: "+"; color: var(--pink); font-size: 20px; font-weight: 400; }
  .faq-list details[open] summary::after { content: "−"; }
  .faq-list details p { color: var(--muted); font-size: 14px; padding: 0 0 16px; }

  /* 网友热议 */
  .hot-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
  .comment-list { display: grid; gap: 14px; }
  .comment { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
  .comment img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #222; }
  .comment-body b { display: block; font-size: 14px; color: var(--pink-soft); margin-bottom: 2px; }
  .comment-body p { font-size: 14px; color: #d0d0da; }
  .comment-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
  .comment-form h3 { font-size: 17px; margin-bottom: 12px; }
  .comment-form textarea {
    width: 100%; min-height: 110px; resize: vertical; border-radius: 10px; padding: 12px;
    background: #101014; color: var(--text); border: 1px solid var(--line); font-size: 14px;
    font-family: inherit; outline: none;
  }
  .comment-form textarea:focus { border-color: var(--pink); }
  .comment-form button {
    margin-top: 12px; background: var(--pink); color: #fff; border: none; border-radius: 999px;
    padding: 10px 26px; font-size: 15px; font-weight: 800; cursor: pointer;
  }

  /* 页脚 */
  .site-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; background: #08080a; position: relative; z-index: 2; }
  .footer-inner { display: grid; gap: 12px; font-size: 13px; color: var(--muted); }
  .footer-inner a { color: var(--muted); }
  .footer-inner a:hover { color: var(--pink-soft); }
  .footer-inner .update-time { margin-top: 0; }
  .site-about { border-top: 1px solid var(--line); padding-top: 12px; max-width: 100%; }
  .site-about summary {
    list-style: none; cursor: pointer; font-size: 12px; color: #6f6f7a; display: inline-block;
  }
  .site-about summary::-webkit-details-marker { display: none; }
  .site-about summary:focus-visible { outline: 1px dashed var(--pink); outline-offset: 3px; }
  .about-links { margin-top: 10px; font-size: 12px; line-height: 2.1; color: #62626d; }
  .about-links a { margin-right: 14px; color: #62626d; }

  /* 弹窗 */
  .modal-mask {
    position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 500;
    display: none; align-items: center; justify-content: center; padding: 20px;
  }
  .modal-mask.open { display: flex; }
  .modal-box {
    background: #16161b; border: 1px solid rgba(255,46,116,.45); border-radius: 18px;
    max-width: 400px; width: 100%; padding: 30px 26px; text-align: center;
    animation: pop .25s ease;
  }
  @keyframes pop { from { transform: scale(.9); } to { transform: scale(1); } }
  .modal-box h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
  .modal-box p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
  .modal-box .btn-download { font-size: 16px; padding: 12px 28px; }
  .modal-close {
    display: block; margin: 16px auto 0; background: none; border: none; color: var(--muted);
    font-size: 13px; cursor: pointer; text-decoration: underline;
  }

  @media (max-width: 1024px) {
    .hero h1 { font-size: 34px; }
    .hero-inner { grid-template-columns: 1fr; gap: 26px; }
    .deck { height: 360px; }
    .deck-card { width: 200px; height: 288px; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .feature-block { grid-template-columns: 1fr; padding: 26px; }
    .feature-block img { max-width: 320px; margin: 0 auto; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    .nav-toggle { display: inline-block; }
    .main-nav {
      position: absolute; left: 0; right: 0; top: 100%; background: #101014;
      border-bottom: 1px solid var(--line); display: none; padding: 10px 4%;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #1e1e26; font-size: 15px; }
    .hero { padding: 34px 0 20px; }
    .hero h1 { font-size: 27px; }
    .btn-download { font-size: 16px; padding: 13px 26px; width: 100%; justify-content: center; }
    .deck { height: 300px; }
    .deck-card { width: 158px; height: 228px; }
    .play-btn { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
    .play-btn::after { border-width: 8px 0 8px 13px; }
    section { padding: 40px 0; }
    .sec-head h2 { font-size: 22px; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .rank-list { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .timeline { padding-left: 22px; }
    .tl-item h3::before { left: -30px; }
    .danmu { font-size: 12px; }
    .comment-form textarea { min-height: 90px; }
  }