:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --red-main: #e53935;
    --red-dark: #b71c1c;
    --yellow-btn: #ffca28;
    --yellow-hover: #ffb300;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    --border-color: #333333;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* 导航条 */
  header {
    position: sticky;
    top: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
  }
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-group { display: flex; align-items: center; gap: 10px; }
  .logo-group img { height: 32px; width: auto; border-radius: 6px; }
  .logo-group span { font-size: 20px; font-weight: bold; color: var(--red-main); letter-spacing: 1px; }
  .nav-links { display: flex; gap: 20px; overflow-x: auto; }
  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
  }
  .nav-links a:hover { color: var(--yellow-btn); background: rgba(229, 57, 53, 0.1); }

  /* 首屏 */
  .hero {
    padding: 60px 20px 40px;
    text-align: center;
    background: radial-gradient(circle at center, #2a0808 0%, var(--bg-dark) 70%);
    border-bottom: 1px solid var(--border-color);
  }
  .hero h1 { font-size: 36px; margin-bottom: 15px; color: #fff; }
  .hero h1 span { color: var(--red-main); }
  .hero p { font-size: 16px; color: var(--text-muted); max-width: 700px; margin: 0 auto 30px; }
  .btn-download {
    display: inline-block;
    background-color: var(--yellow-btn);
    color: #000;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 40px;
    border-radius: 50px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 15px rgba(255, 202, 40, 0.3);
  }
  .btn-download:hover { background-color: var(--yellow-hover); transform: translateY(-2px); }
  .update-time { font-size: 13px; color: var(--text-muted); margin-top: 15px; display: block; }

  /* 滚动横幅 */
  .ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--red-dark);
    padding: 10px 0;
    border-bottom: 1px solid #000;
  }
  .ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
    font-size: 14px;
    color: #fff;
  }
  .ticker span { margin-right: 40px; }
  @keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }

  /* 通用区块 */
  section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
  .section-title { font-size: 26px; margin-bottom: 30px; text-align: center; color: #fff; }
  .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--red-main);
    margin: 10px auto 0;
  }

  /* 轮播图 */
  .carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--red-main);
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.2);
  }
  .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
  }
  .carousel-item.active { opacity: 1; z-index: 1; }
  .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
  
  /* 播放按钮 */
  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }
  .play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 6px;
  }

  /* 映欲速递 */
  .grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 20px; }
  .card { background: var(--bg-card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); }
  .card-img-wrap { position: relative; cursor: pointer; aspect-ratio: 3/4; }
  .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
  .card-img-wrap:hover img { transform: scale(1.05); }
  .card-desc { padding: 15px; font-size: 14px; color: var(--text-muted); }
  .delivery-intro { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-size: 15px; }

  /* 映欲高能 */
  .grid-5 { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .high-energy-item { display: flex; flex-direction: column; background: var(--bg-card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); }
  .high-energy-item .card-img-wrap { aspect-ratio: 16/9; }
  .high-energy-item .card-desc { font-size: 15px; color: var(--text-main); }

  /* 热播排名 */
  .rank-list { display: flex; flex-direction: column; gap: 15px; }
  .rank-item { display: flex; background: var(--bg-card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); align-items: center; }
  .rank-item .card-img-wrap { width: 120px; flex-shrink: 0; aspect-ratio: 3/4; }
  .rank-info { padding: 15px; flex-grow: 1; }
  .rank-info h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
  .rank-stats { font-size: 13px; color: var(--red-main); font-weight: bold; display: flex; gap: 15px; }

  /* 网友热议 */
  .faq-section { max-width: 800px; margin: 0 auto; }
  .faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
  .faq-item { background: var(--bg-card); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
  .faq-q { padding: 15px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .faq-q::after { content: '+'; font-size: 20px; color: var(--red-main); }
  .faq-item.active .faq-q::after { content: '-'; }
  .faq-a { display: none; padding: 0 15px 15px; color: var(--text-muted); font-size: 14px; }
  .faq-item.active .faq-a { display: block; }

  /* 评论框 */
  .comment-box { display: flex; flex-direction: column; gap: 15px; }
  .comment-box textarea {
    width: 100%; height: 100px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 8px; padding: 15px; color: #fff; resize: vertical; font-family: inherit;
  }
  .comment-box textarea:focus { outline: none; border-color: var(--red-main); }
  .comment-box button {
    align-self: flex-end; background: var(--red-main); color: #fff; border: none;
    padding: 10px 30px; border-radius: 4px; font-size: 16px; cursor: pointer; transition: background 0.3s;
  }
  .comment-box button:hover { background: var(--red-dark); }

  /* 弹窗 */
  .modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    z-index: 1000; justify-content: center; align-items: center;
  }
  .modal.active { display: flex; }
  .modal-content {
    background: var(--bg-card); padding: 40px 30px; border-radius: 12px;
    text-align: center; max-width: 90%; width: 400px; border: 1px solid var(--red-main);
  }
  .modal-content h3 { font-size: 20px; margin-bottom: 15px; color: #fff; }
  .modal-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 14px; }
  .modal-content .btn-download { font-size: 16px; padding: 10px 30px; }
  .modal-close { margin-top: 15px; color: #666; cursor: pointer; font-size: 14px; }
  .modal-close:hover { color: #fff; }

  /* 页脚 */
  footer {
    text-align: center; padding: 30px 20px; border-top: 1px solid var(--border-color);
    font-size: 12px; color: #666; margin-top: 40px;
  }
  footer a { color: #666; transition: color 0.3s; }
  footer a:hover { color: var(--text-muted); }
  footer p { margin-bottom: 8px; }

  /* 响应式 768px */
  @media (min-width: 768px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .rank-list { flex-direction: row; flex-wrap: wrap; }
    .rank-item { flex: 1 1 calc(50% - 10px); }
    .hero h1 { font-size: 48px; }
  }
  /* 响应式 1024px */
  @media (min-width: 1024px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .rank-list { flex-wrap: nowrap; }
    .rank-item { flex: 1; flex-direction: column; }
    .rank-item .card-img-wrap { width: 100%; aspect-ratio: 3/4; }
  }