:root {
    --bg-color: #FFFDF0;
    --primary-color: #E63946;
    --primary-hover: #C1121F;
    --text-main: #2B2D42;
    --text-muted: #6C757D;
    --card-bg: #FFFFFF;
    --border-color: #F0E6C8;
    --nav-bg: rgba(255, 253, 240, 0.95);
    --yellow-light: #FFF3C4;
    --radius: 12px;
  }

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

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

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

  /* 导航条 */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }

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

  .logo-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }

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

  .logo-group span {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
  }

  .nav-links {
    display: none;
    gap: 20px;
    font-size: 15px;
    font-weight: 500;
  }

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

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
  }

  /* 首屏 */
  .hero {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--yellow-light) 0%, var(--bg-color) 100%);
  }

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

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

  .download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
  }

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

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

  /* 滚动横幅 */
  .marquee-banner {
    background-color: var(--text-main);
    color: var(--yellow-light);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
  }

  .marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
  }

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

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

  /* 轮播图 */
  .carousel-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 1;
  }

  .carousel-slide.active {
    z-index: 2;
    opacity: 1;
  }

  .carousel-slide.hide {
    opacity: 0;
    z-index: 1;
  }

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

  /* 栏目通用 */
  .section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 8px auto 0;
  }

  /* 老司机推荐 */
  .recommend-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .recommend-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .recommend-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
  }

  .recommend-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    transition: transform 0.3s ease;
  }

  .recommend-card:hover img {
    transform: scale(1.05);
  }

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: all 0.3s ease;
  }

  .recommend-card:hover .play-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }

  .play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
  }

  /* 更多剧集墙 */
  .wall-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .wall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .wall-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
  }

  /* 网友评论 */
  .reviews-section {
    padding: 40px 20px;
    background-color: var(--yellow-light);
  }

  .reviews-container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card {
    background: var(--card-bg);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

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

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

  .review-name {
    font-weight: bold;
    font-size: 14px;
  }

  .review-text {
    font-size: 14px;
    color: var(--text-main);
  }

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

  .modal.show {
    display: flex;
  }

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

  .modal-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

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

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

  /* 页脚 */
  footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
  }
  
  footer p {
    margin-bottom: 8px;
  }

  /* 响应式 768px */
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
    }
    .nav-toggle {
      display: none;
    }
    .hero h1 {
      font-size: 36px;
    }
    .carousel-section {
      padding: 60px 20px;
    }
    .recommend-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .wall-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .review-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* 响应式 1024px */
  @media (min-width: 1024px) {
    .hero {
      padding: 80px 20px;
    }
    .hero h1 {
      font-size: 48px;
    }
    .wall-grid {
      grid-template-columns: repeat(5, 1fr);
    }
    .review-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }