:root {
    --primary-red: #fbecec;
    --deep-red: #b32d2d;
    --text-dark: #332222;
    --text-light: #665555;
    --btn-yellow: #ffcc00;
    --btn-yellow-hover: #e6b800;
    --white: #ffffff;
    --border-color: #f0caca;
  }

  * {
    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(--primary-red);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

  /* 滚动横幅 */
  .top-banner {
    background-color: var(--deep-red);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }
  
  .banner-content {
    display: inline-block;
    animation: scrollText 20s linear infinite;
  }

  .banner-content span {
    margin: 0 30px;
  }

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

  /* 导航条 */
  header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
  }

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--deep-red);
  }

  .logo-area img {
    height: 32px;
    border-radius: 6px;
  }

  .nav-links {
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
  }

  .nav-links a:hover {
    color: var(--deep-red);
  }

  /* 首屏区域 */
  .hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--deep-red);
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
  }

  .download-btn {
    display: inline-block;
    background-color: var(--btn-yellow);
    color: var(--text-dark);
    font-size: 20px;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
    transition: transform 0.2s, background-color 0.2s;
    text-align: center;
  }

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

  .update-time {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-light);
  }

  .hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(179, 45, 45, 0.15);
    position: relative;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
  }

  /* 轮播图区域 (手机端第二屏) */
  .carousel-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }

  .carousel-section h2 {
    font-size: 28px;
    color: var(--deep-red);
    margin-bottom: 20px;
    text-align: center;
  }

  .carousel-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
  }

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

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s;
  }

  .carousel-slide:hover .play-btn {
    background-color: rgba(255, 255, 255, 0.7);
  }

  .play-icon {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--deep-red);
    margin-left: 8px;
  }

  .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 30px 20px 20px;
    font-size: 18px;
    font-weight: bold;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .dot {
    width: 10px;
    height: 10px;
    background-color: #d9baba;
    border-radius: 50%;
    cursor: pointer;
  }

  .dot.active {
    background-color: var(--deep-red);
  }

  /* 剧集列表区域 */
  .shows-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }

  .shows-section h2 {
    font-size: 28px;
    color: var(--deep-red);
    margin-bottom: 10px;
  }

  .shows-section .subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .show-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }

  .show-card:hover {
    transform: translateY(-5px);
  }

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

  /* 网友评论区域 */
  .comments-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }

  .comments-section h2 {
    font-size: 28px;
    color: var(--deep-red);
    margin-bottom: 20px;
    text-align: center;
  }

  .comments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .comment-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-red);
    font-weight: bold;
  }

  .user-name {
    font-weight: bold;
    font-size: 15px;
  }

  .comment-text {
    color: var(--text-light);
    font-size: 15px;
  }

  /* 软件安装与问答 */
  .info-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }

  .info-section h2 {
    font-size: 28px;
    color: var(--deep-red);
    margin-bottom: 20px;
  }

  .info-block {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
  }

  .info-block h3 {
    font-size: 20px;
    color: var(--deep-red);
    margin-bottom: 15px;
  }

  .info-block p {
    margin-bottom: 10px;
    color: var(--text-light);
  }

  /* 弹窗 */
  .modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }

  .modal.active {
    display: flex;
  }

  .modal-content {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
  }

  .modal-content h3 {
    font-size: 22px;
    color: var(--deep-red);
    margin-bottom: 20px;
  }

  .modal-content .download-btn {
    font-size: 18px;
    padding: 12px 30px;
  }

  .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
  }

  /* 页脚 */
  footer {
    background-color: #f4e1e1;
    padding: 30px 20px;
    text-align: center;
    color: #886666;
    font-size: 13px;
    margin-top: 60px;
  }

  footer p {
    margin-bottom: 8px;
  }

  footer a {
    color: #886666;
  }

  /* 响应式设计 */
  @media (max-width: 1024px) {
    .grid-container {
      grid-template-columns: repeat(3, 1fr);
    }
    .hero-text h1 {
      font-size: 32px;
    }
    .carousel-slide img {
      height: 350px;
    }
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    .hero {
      flex-direction: column;
      text-align: center;
      margin: 20px auto;
      gap: 20px;
    }
    .hero-text h1 {
      font-size: 28px;
    }
    .hero-text p {
      font-size: 16px;
    }
    .download-btn {
      font-size: 18px;
      padding: 12px 30px;
      width: 100%;
    }
    .carousel-slide img {
      height: 200px;
    }
    .play-btn {
      width: 50px;
      height: 50px;
    }
    .play-icon {
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-left: 16px solid var(--deep-red);
    }
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .comments-grid {
      grid-template-columns: 1fr;
    }
    .modal-content {
      padding: 30px 20px;
    }
  }