:root {
    --bg-dark: #121212;
    --bg-panel: #1e1e1e;
    --bg-card: #262626;
    --accent-yellow: #ffc107;
    --accent-yellow-dim: #b8860b;
    --accent-red: #e53935;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --text-dark: #333333;
    --border-color: #333333;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    display: block;
  }

  /* ==== 导航 ==== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(6px);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 1px;
  }

  .brand img {
    height: 32px;
    width: auto;
    border-radius: 6px;
  }

  .nav-list {
    display: flex;
    gap: 24px;
  }

  .nav-list a {
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.2s;
    padding: 4px 0;
    position: relative;
  }

  .nav-list a:hover,
  .nav-list a.active {
    color: var(--accent-yellow);
  }

  .menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 20px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  /* ==== 主视觉 ==== */
  .hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 30px;
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-text h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-main);
  }

  .hero-text h1 span {
    color: var(--accent-yellow);
  }

  .hero-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 480px;
  }

  .btn-download {
    display: inline-block;
    background-color: var(--accent-red);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35);
  }

  .btn-download:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
  }

  .btn-download:active {
    transform: translateY(0);
  }

  /* ==== 轮播图 ==== */
  .hero-carousel {
    flex: 0 0 300px;
    width: 300px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-panel);
  }

  .carousel-track {
    display: flex;
    transition: transform 0.45s ease;
  }

  .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
  }

  .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
  }

  .carousel-indicators button.is-active {
    background: var(--accent-yellow);
  }

  /* ==== 滚动横幅 ==== */
  .marquee-bar {
    background: var(--accent-yellow);
    color: var(--text-dark);
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
  }

  .marquee-track {
    display: inline-block;
    animation: marquee 22s linear infinite;
  }

  .marquee-track span {
    margin: 0 24px;
  }

  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ==== 通用区块 ==== */
  .section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
  }

  .section-title {
    font-size: 26px;
    color: var(--accent-yellow);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--accent-red);
    border-radius: 2px;
  }

  .section-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 760px;
  }

  /* ==== 图片网格 ==== */
  .grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .img-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
  }

  .img-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-yellow-dim);
  }

  .img-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
  }

  .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
  }

  .play-icon::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
    margin-left: 3px;
  }

  .img-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }

  .card-title-text {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-main);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--bg-panel);
  }

  /* ==== 排行 ==== */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-panel);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
  }

  .rank-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-yellow);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
  }

  .rank-num.top3 {
    color: var(--accent-red);
  }

  .rank-thumb {
    width: 50px;
    height: 66px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rank-info {
    flex: 1;
    min-width: 0;
  }

  .rank-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
  }

  .heat-bar-wrap {
    width: 120px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .heat-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-yellow-dim), var(--accent-yellow));
    border-radius: 3px;
  }

  /* ==== 常见问题 ==== */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .faq-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
  }

  .faq-item h3 {
    font-size: 16px;
    color: var(--accent-yellow);
    margin-bottom: 6px;
    font-weight: 600;
  }

  .faq-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ==== 网友热议 ==== */
  .discuss-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
  }

  .accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .acc-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .acc-header {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 15px;
    padding: 14px 18px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
  }

  .acc-header:hover {
    color: var(--accent-yellow);
  }

  .acc-header::after {
    content: "＋";
    font-size: 18px;
    color: var(--accent-yellow);
    transition: transform 0.2s;
  }

  .acc-item.open .acc-header::after {
    content: "－";
  }

  .acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .acc-item.open .acc-body {
    padding-bottom: 14px;
  }

  .comment-form {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
  }

  .comment-form h3 {
    font-size: 18px;
    color: var(--accent-yellow);
    margin-bottom: 14px;
  }

  .comment-form textarea {
    width: 100%;
    min-height: 100px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
  }

  .comment-form textarea:focus {
    border-color: var(--accent-yellow);
  }

  .comment-form .btn-submit {
    margin-top: 12px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
  }

  .comment-form .btn-submit:hover {
    opacity: 0.85;
  }

  /* ==== 页脚 ==== */
  .site-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 40px;
  }

  .site-footer p {
    margin-bottom: 6px;
  }

  .site-footer a {
    color: #888;
    transition: color 0.2s;
  }

  .site-footer a:hover {
    color: var(--accent-yellow);
  }

  /* ==== 弹窗 ==== */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }

  .modal-overlay.show {
    display: flex;
  }

  .modal-box {
    background: var(--bg-card);
    border: 1px solid var(--accent-yellow-dim);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  }

  .modal-box h3 {
    font-size: 20px;
    color: var(--accent-yellow);
    margin-bottom: 12px;
  }

  .modal-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 22px;
  }

  .modal-box .btn-download {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }

  .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
  }

  .modal-box-inner {
    position: relative;
  }

  /* ==== 响应式 ==== */
  @media (max-width: 1024px) {
    .grid-6 {
      grid-template-columns: repeat(3, 1fr);
    }
    .hero {
      flex-direction: column-reverse;
      text-align: center;
      gap: 24px;
    }
    .hero-text p {
      margin-left: auto;
      margin-right: auto;
    }
    .hero-carousel {
      flex: none;
      width: 280px;
    }
    .discuss-layout {
      grid-template-columns: 1fr;
    }
    .rank-meta {
      flex-direction: column;
      gap: 4px;
    }
  }

  @media (max-width: 768px) {
    .header-inner {
      padding: 10px 16px;
    }
    .nav-list {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg-panel);
      flex-direction: column;
      gap: 0;
      border-bottom: 1px solid var(--border-color);
      padding: 8px 0;
    }
    .nav-list.open {
      display: flex;
    }
    .nav-list a {
      padding: 12px 20px;
      display: block;
      border-bottom: 1px solid var(--border-color);
    }
    .nav-list a:last-child {
      border-bottom: none;
    }
    .menu-toggle {
      display: block;
    }
    .brand img {
      height: 28px;
    }
    .hero {
      padding: 28px 16px 20px;
    }
    .hero-text h1 {
      font-size: 26px;
    }
    .hero-carousel {
      width: 240px;
    }
    .section {
      padding: 36px 16px;
    }
    .section-title {
      font-size: 22px;
    }
    .grid-6 {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .rank-item {
      flex-wrap: wrap;
    }
    .heat-bar-wrap {
      width: 100%;
    }
    .modal-box {
      padding: 26px 20px;
    }
  }