:root {
    --bg-deep: #071225;
    --bg-mid: #0c1d3a;
    --bg-card: #10264a;
    --blue: #2f7bff;
    --blue-soft: #5b9bff;
    --text: #eef4ff;
    --muted: #9fb4d4;
    --line: rgba(120, 165, 255, 0.2);
    --red: #e63946;
    --red-dark: #c02634;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: radial-gradient(circle at 20% 0%, #14305e 0%, var(--bg-deep) 55%, #040b17 100%);
    color: var(--text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }

  /* 顶部导航 */
  header.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(6, 16, 32, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav-bar {
    max-width: 1180px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .5px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 38px; border-radius: 9px;
    background: var(--blue); color: #fff; border: none; cursor: pointer;
    font-size: 18px; line-height: 1;
  }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; width: 100%; padding: 8px 0 12px; gap: 4px; }
  .nav-links a {
    display: block; padding: 10px 12px; border-radius: 8px;
    color: var(--muted); font-size: 15px;
  }
  .nav-links a:hover { color: #fff; background: rgba(47, 123, 255, 0.18); }
  .nav-wrap { flex-wrap: wrap; }

  .container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

  /* 首屏 */
  .hero { padding: 22px 0 8px; }
  .hero-top { display: flex; flex-direction: column; gap: 16px; }
  .hero h1 {
    font-size: 26px; line-height: 1.35; font-weight: 800; letter-spacing: .5px;
    background: linear-gradient(90deg, #ffffff, #9fc4ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero p.lead { color: var(--muted); font-size: 15px; max-width: 680px; }
  .download-btn {
    display: inline-block; background: linear-gradient(180deg, #ff4d5a, var(--red-dark));
    color: #fff; font-weight: 700; font-size: 17px;
    padding: 13px 30px; border-radius: 40px;
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.4);
    transition: transform .2s, box-shadow .2s;
  }
  .download-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 57, 70, 0.55); }
  .update-line { margin-top: 10px; font-size: 12px; color: var(--muted); }
  .logo-fall-layer {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  }

  /* 轮播 */
  .carousel-section { position: relative; margin-top: 22px; overflow: hidden; }
  .carousel { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
  .card {
    position: absolute; width: 200px; height: 300px; border-radius: 14px;
    overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: transform .5s ease, opacity .5s ease;
    background: var(--bg-card);
  }
  .card img { width: 100%; height: 100%; object-fit: cover; }
  .card.off { opacity: 0; pointer-events: none; transform: scale(.6); }
  .card.pos-0 { transform: translateX(0) scale(1); z-index: 5; }
  .card.pos-1 { transform: translateX(150px) rotate(7deg) scale(.85); z-index: 4; }
  .card.pos--1 { transform: translateX(-150px) rotate(-7deg) scale(.85); z-index: 4; }
  .card.pos-2 { transform: translateX(270px) rotate(13deg) scale(.7); z-index: 3; opacity: .75; }
  .card.pos--2 { transform: translateX(-270px) rotate(-13deg) scale(.7); z-index: 3; opacity: .75; }
  .play-mask {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(4, 12, 26, 0.25); cursor: pointer; border: none; padding: 0; width: 100%;
  }
  .play-mask::after {
    content: ""; width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.7);
    box-shadow: 0 0 0 0 rgba(255,255,255,.3);
  }
  .play-mask span {
    position: absolute; font-size: 0; width: 0; height: 0;
    border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
    margin-left: 4px;
  }
  .car-arrows { display: flex; justify-content: center; gap: 14px; margin-top: 6px; }
  .car-arrows button {
    width: 44px; height: 36px; border-radius: 9px; cursor: pointer;
    background: rgba(47,123,255,.18); color: #cfe0ff; border: 1px solid var(--line); font-size: 16px;
  }
  .car-arrows button:hover { background: rgba(47,123,255,.35); }

  /* 滚动横幅 */
  .ticker {
    margin: 34px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: rgba(47, 123, 255, 0.08); overflow: hidden; white-space: nowrap;
  }
  .ticker-track { display: inline-block; padding: 9px 0; animation: tickerMove 26s linear infinite; }
  .ticker-track span { color: var(--blue-soft); font-size: 14px; margin: 0 26px; }
  @keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* 通用区块 */
  section { padding: 42px 0 10px; }
  .sec-head { margin-bottom: 20px; }
  .sec-head h2 { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
  .sec-head h2::before {
    content: ""; display: inline-block; width: 6px; height: 20px; border-radius: 3px;
    background: var(--blue); margin-right: 10px; vertical-align: -3px;
  }
  .sec-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }

  .grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-still { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .card-still .thumb { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
  .card-still .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .card-still:hover .thumb img { transform: scale(1.06); }
  .card-still .cap { padding: 10px 12px; font-size: 14px; color: #d7e4ff; }
  .card-still .meta { padding: 0 12px 12px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }

  /* 亮点 */
  .highlight-box {
    background: linear-gradient(160deg, rgba(47,123,255,.16), rgba(16,38,74,.85));
    border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px;
  }
  .highlight-box h3 { font-size: 18px; margin-bottom: 12px; color: #cfe0ff; }
  .highlight-box p { color: #d7e4ff; font-size: 15px; margin-bottom: 10px; }
  .highlight-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .highlight-tags span {
    font-size: 13px; padding: 5px 12px; border-radius: 30px;
    background: rgba(47,123,255,.2); color: #b9d2ff; border: 1px solid var(--line);
  }

  /* 弹幕播放器 */
  .player {
    position: relative; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }
  .player img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
  .danmu-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .danmu {
    position: absolute; white-space: nowrap; font-size: 15px; color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.8); font-weight: 600;
    animation: danmuMove linear infinite;
  }
  @keyframes danmuMove {
    from { transform: translateX(100%); }
    to { transform: translateX(-120%); }
  }
  .player-bar {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: rgba(6, 16, 32, .9); font-size: 13px; color: var(--muted);
  }
  .player-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }

  /* 历史 */
  .history-text p { color: #d7e4ff; font-size: 15px; margin-bottom: 12px; }

  /* FAQ 手风琴 */
  .faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: rgba(16,38,74,.6); }
  .faq-q {
    width: 100%; text-align: left; background: none; border: none; color: var(--text);
    font-size: 15px; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px;
  }
  .faq-q .mark { color: var(--blue-soft); transition: transform .25s; }
  .faq-item.open .mark { transform: rotate(45deg); }
  .faq-a { display: none; padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
  .faq-item.open .faq-a { display: block; }

  /* 评论 */
  .comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .comment-form textarea {
    width: 100%; min-height: 88px; resize: vertical; border-radius: 10px;
    background: rgba(8, 20, 40, .9); border: 1px solid var(--line); color: var(--text);
    padding: 12px; font-size: 14px; font-family: inherit;
  }
  .comment-form textarea:focus { outline: none; border-color: var(--blue-soft); }
  .comment-form button {
    align-self: flex-start; background: var(--blue); color: #fff; border: none;
    padding: 10px 26px; border-radius: 30px; font-size: 14px; cursor: pointer; font-weight: 600;
  }
  .comment-form button:hover { background: #4a8dff; }
  .comment-list { display: flex; flex-direction: column; gap: 16px; }
  .comment-item { display: flex; gap: 12px; align-items: flex-start; }
  .comment-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
  .comment-body .name { font-size: 14px; color: var(--blue-soft); font-weight: 600; }
  .comment-body .text { font-size: 14px; color: #d7e4ff; }

  /* 弹窗 */
  .modal-mask {
    display: none; position: fixed; inset: 0; z-index: 100;
    background: rgba(2, 8, 18, .74); align-items: center; justify-content: center; padding: 20px;
  }
  .modal-mask.show { display: flex; }
  .modal-box {
    background: linear-gradient(160deg, #123059, #0a1a33);
    border: 1px solid rgba(120,165,255,.35); border-radius: 16px;
    padding: 28px 24px; max-width: 360px; width: 100%; text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.7);
  }
  .modal-box h3 { font-size: 18px; margin-bottom: 10px; }
  .modal-box p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
  .modal-box .download-btn { font-size: 15px; padding: 11px 24px; }
  .modal-close {
    margin-top: 14px; background: none; border: none; color: var(--muted);
    font-size: 13px; cursor: pointer; display: block; width: 100%;
  }

  /* 页脚 */
  footer.site-footer {
    margin-top: 50px; padding: 24px 16px 30px;
    border-top: 1px solid rgba(120,165,255,.12);
    text-align: center; font-size: 12px; color: #6c81a3;
  }
  footer.site-footer p { margin-bottom: 8px; }
  footer.site-footer a { color: #7d93b4; }
  footer.site-footer a:hover { color: var(--blue-soft); }
  footer .foot-time { font-size: 12px; color: #5d7192; }

  /* 768 断点 */
  @media (min-width: 768px) {
    .hero h1 { font-size: 34px; }
    .carousel { height: 440px; }
    .carousel .card { width: 230px; height: 345px; }
    .carousel .card.pos-1 { transform: translateX(190px) rotate(7deg) scale(.86); }
    .carousel .card.pos--1 { transform: translateX(-190px) rotate(-7deg) scale(.86); }
    .carousel .card.pos-2 { transform: translateX(345px) rotate(13deg) scale(.7); }
    .carousel .card.pos--2 { transform: translateX(-345px) rotate(-13deg) scale(.7); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    section { padding: 54px 0 12px; }
    .sec-head h2 { font-size: 26px; }
  }

  /* 1024 断点 */
  @media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .nav-links { display: flex !important; flex-direction: row; align-items: center; gap: 2px; width: auto; padding: 0; }
    .nav-links a { padding: 8px 10px; font-size: 14px; }
    .hero-top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .hero h1 { font-size: 40px; }
    .carousel { height: 480px; }
    .carousel .card { width: 250px; height: 375px; }
    .carousel .card.pos-1 { transform: translateX(215px) rotate(7deg) scale(.86); }
    .carousel .card.pos--1 { transform: translateX(-215px) rotate(-7deg) scale(.86); }
    .carousel .card.pos-2 { transform: translateX(390px) rotate(13deg) scale(.7); }
    .carousel .card.pos--2 { transform: translateX(-390px) rotate(-13deg) scale(.7); }
    .grid-6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
    .card-still .cap { font-size: 13px; padding: 8px 10px; }
    .card-still .meta { font-size: 11px; padding: 0 10px 10px; }
    .two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
  }