:root {
    --bg: #121212;
    --bg-light: #1e1e1e;
    --red: #d92121;
    --red-dark: #a31515;
    --yellow: #ffcc00;
    --text: #e0e0e0;
    --text-muted: #888;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; object-fit: cover; }
  
  /* 苹果下落样式 */
  .apple-fall {
    position: fixed;
    top: -50px;
    color: var(--red);
    font-size: 24px;
    animation: fall linear infinite;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
  }
  @keyframes fall {
    to { transform: translateY(110vh) rotate(360deg); }
  }

  /* 导航 */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(18, 18, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
  }
  .logo-area { display: flex; align-items: center; gap: 10px; }
  .logo-area img { height: 36px; }
  .logo-area span { font-size: 20px; font-weight: bold; color: #fff; }
  
  .nav-wrapper { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-light); padding: 20px; border-bottom: 2px solid var(--red); }
  .nav-wrapper.active { display: block; }
  .nav-links { display: flex; flex-direction: column; gap: 15px; }
  .nav-links a { color: var(--text); font-size: 16px; padding: 8px 0; border-bottom: 1px solid #333; }
  .nav-links a:hover { color: var(--yellow); }
  
  .toggle-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }
  
  .download-btn {
    display: inline-block;
    background: var(--yellow);
    color: #000;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
  }
  .download-btn:hover { transform: scale(1.05); background: #ffdb4d; }

  /* 首屏 */
  .hero {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .hero-text { flex: 1; }
  .hero-text h1 { font-size: 28px; color: #fff; margin-bottom: 15px; line-height: 1.3; }
  .hero-text h1 span { color: var(--red); }
  .hero-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 25px; }
  .update-time { display: block; font-size: 12px; color: #666; margin-top: 10px; }
  
  .hero-carousel { flex: 1; position: relative; overflow: hidden; border-radius: 12px; border: 2px solid var(--red-dark); }
  .carousel-track { display: flex; transition: transform 0.5s ease; }
  .carousel-track img { width: 100%; flex-shrink: 0; aspect-ratio: 3/4; }
  
  /* 滚动横幅 */
  .marquee {
    background: var(--red);
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
  }
  .marquee-content {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
  }
  .marquee-content span { margin-right: 30px; }
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* 通用区块 */
  section { padding: 40px 20px; }
  .section-title { font-size: 24px; color: #fff; margin-bottom: 20px; text-align: center; position: relative; }
  .section-title::after {
    content: ''; display: block; width: 40px; height: 3px; background: var(--red); margin: 10px auto 0; border-radius: 2px;
  }

  /*  theatres */
  .theatre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .theatre-card { background: var(--bg-light); border-radius: 8px; overflow: hidden; position: relative; }
  .theatre-card img { aspect-ratio: 3/4; width: 100%; transition: transform 0.3s; }
  .theatre-card:hover img { transform: scale(1.05); }
  .theatre-card p { padding: 10px; font-size: 14px; color: #ccc; text-align: center; }
  
  /* 透明播放按钮 */
  .play-btn {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
  }
  .play-btn::before {
    content: ''; display: block;
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    margin-left: 4px;
  }
  .theatre-card:hover .play-btn, .hot-card:hover .play-btn, .rank-card:hover .play-btn { opacity: 1; }

  /* 优势 */
  .advantage-text {
    background: var(--bg-light); padding: 25px; border-radius: 8px;
    border-left: 4px solid var(--red); font-size: 15px; color: #bbb; text-align: justify;
  }

  /* 热推 */
  .hot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .hot-card { background: var(--bg-light); border-radius: 8px; overflow: hidden; position: relative; }
  .hot-card img { aspect-ratio: 3/4; width: 100%; }
  .hot-info { padding: 12px; }
  .hot-info h3 { font-size: 16px; color: #fff; margin-bottom: 5px; }
  .hot-info p { font-size: 13px; color: #999; }

  /* 排行榜 */
  .rank-list { display: flex; flex-direction: column; gap: 15px; }
  .rank-card { display: flex; background: var(--bg-light); border-radius: 8px; overflow: hidden; position: relative; }
  .rank-card img { width: 100px; height: 133px; }
  .rank-info { padding: 15px; display: flex; flex-direction: column; justify-content: center; }
  .rank-info h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
  .rank-info p { font-size: 13px; color: var(--red); margin-bottom: 4px; }
  .rank-info span { font-size: 13px; color: var(--text-muted); }

  /* 播放互动 */
  .player-box {
    position: relative; width: 100%; max-width: 600px; margin: 0 auto;
    border-radius: 12px; overflow: hidden; border: 2px solid #333;
    aspect-ratio: 16/9; background: #000;
  }
  .player-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
  .danmaku-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
  .danmaku {
    position: absolute; color: #fff; font-weight: bold; text-shadow: 1px 1px 2px #000;
    white-space: nowrap; font-size: 16px;
    animation: danmu-move 8s linear infinite;
  }
  @keyframes danmu-move {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
  }

  /* 产品历史 */
  .history-text { font-size: 15px; color: #bbb; line-height: 1.8; background: var(--bg-light); padding: 25px; border-radius: 8px; }

  /* 常见问题 */
  .faq-list { display: flex; flex-direction: column; gap: 10px; }
  .faq-item { background: var(--bg-light); border-radius: 8px; overflow: hidden; }
  .faq-btn {
    width: 100%; text-align: left; padding: 15px; background: none; border: none;
    color: #fff; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between;
  }
  .faq-btn::after { content: '+'; color: var(--red); font-weight: bold; }
  .faq-btn.active::after { content: '-'; }
  .faq-content { display: none; padding: 0 15px 15px; color: #999; font-size: 14px; }
  .faq-content.show { display: block; }

  /* 网友热议 */
  .comments-section { display: flex; flex-direction: column; gap: 15px; }
  .comment-item { display: flex; gap: 15px; background: var(--bg-light); padding: 15px; border-radius: 8px; }
  .comment-item img { width: 40px; height: 40px; border-radius: 50%; }
  .comment-content h4 { font-size: 14px; color: var(--yellow); margin-bottom: 5px; }
  .comment-content p { font-size: 14px; color: #ccc; }
  
  .comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
  .comment-form textarea {
    width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #333;
    background: var(--bg-light); color: #fff; resize: none; height: 80px;
  }
  .comment-form button {
    align-self: flex-end; background: var(--red); color: #fff; border: none;
    padding: 8px 20px; border-radius: 4px; cursor: pointer;
  }

  /* 弹窗 */
  .modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 1000;
  }
  .modal-overlay.active { display: flex; }
  .modal-content {
    background: var(--bg-light); padding: 30px; border-radius: 12px;
    text-align: center; border: 1px solid var(--red); max-width: 80%;
  }
  .modal-content p { margin-bottom: 20px; font-size: 16px; }
  .modal-content button {
    background: var(--yellow); color: #000; border: none; padding: 10px 20px; border-radius: 6px; font-weight: bold; cursor: pointer;
  }

  /* 页脚 */
  footer {
    padding: 30px 20px; text-align: center; font-size: 12px; color: #666;
    border-top: 1px solid #222; background: #0a0a0a;
  }
  footer p { margin-bottom: 10px; }
  footer a { color: #666; text-decoration: underline; }

  @media (min-width: 768px) {
    .hero { flex-direction: row; align-items: center; padding: 60px 40px; }
    .hero-text h1 { font-size: 36px; }
    .theatre-grid, .hot-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-wrapper { position: static; display: block; background: none; padding: 0; border: none; width: auto; }
    .nav-links { flex-direction: row; gap: 20px; }
    .nav-links a { border-bottom: none; padding: 0; font-size: 14px; }
    .toggle-btn { display: none; }
    .rank-list { flex-direction: row; flex-wrap: wrap; }
    .rank-card { flex: 1 1 calc(50% - 15px); }
    .comments-section { flex-direction: row; flex-wrap: wrap; }
    .comment-item { flex: 1 1 calc(50% - 15px); }
    .comment-form { flex-direction: row; align-items: flex-start; }
    .comment-form textarea { flex: 1; }
  }

  @media (min-width: 1024px) {
    section { padding: 60px 80px; max-width: 1200px; margin: 0 auto; }
    header { padding: 15px 80px; }
    .theatre-grid, .hot-grid { grid-template-columns: repeat(6, 1fr); }
    .rank-card { flex: 1 1 calc(33.333% - 15px); }
    .comment-item { flex: 1 1 calc(33.333% - 15px); }
  }