:root {
    --bg-dark: #0b2e1a;
    --bg-mid: #1e5631;
    --bg-light: #a4c3a2;
    --bg-lightest: #e5f0e6;
    --red: #e63946;
    --red-hover: #d62839;
    --text-dark: #1a1a1a;
    --text-light: #f1faee;
    --text-muted: #5a6e5b;
    --gold: #e9c46a;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 40%, var(--bg-light) 100%);
    min-height: 100vh;
    overflow-x: hidden;
  }

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

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

  /* 滚动横幅 */
  .top-ticker {
    background: rgba(0, 0, 0, 0.4);
    color: var(--gold);
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .ticker-content {
    display: inline-block;
    animation: ticker 20s linear infinite;
  }
  .ticker-content span {
    margin: 0 20px;
  }
  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* 导航条 */
  .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    background: rgba(11, 46, 26, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }
  .nav-links li a {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links li a:hover {
    color: var(--gold);
  }

  /* 首屏 */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
  }
  .hero-text {
    flex: 1;
    color: var(--text-light);
  }
  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  .logo-wrap img {
    height: 36px;
    width: auto;
    border-radius: 8px;
  }
  .logo-wrap h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .hero-text p {
    font-size: 17px;
    line-height: 1.6;
    color: #c9d8c9;
    margin-bottom: 30px;
    max-width: 460px;
  }
  .download-btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: center;
  }
  .download-btn:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(230, 57, 70, 0.5);
  }
  .update-time {
    font-size: 12px;
    color: #8a9f8a;
    margin-top: 14px;
  }

  /* 轮播区域 (首屏右侧) */
  .hero-carousel {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 3px solid rgba(255,255,255,0.1);
    background: #000;
    flex-shrink: 0;
  }
  .carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
  }
  .carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    pointer-events: none;
  }
  .carousel-slide a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-slide a:hover .play-btn-overlay {
    background: rgba(230, 57, 70, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
  }
  .play-btn-overlay::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
  }

  /* 通用区块 */
  section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    text-align: center;
  }
  .section-desc {
    font-size: 15px;
    color: #b0c4b0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 独家自制 */
  .exclusive {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .exclusive-img {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .exclusive-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
  .exclusive-text {
    flex: 1;
    color: var(--text-light);
  }
  .exclusive-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .exclusive-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #c9d8c9;
    margin-bottom: 16px;
  }

  /* 剧场/MAMA剧院/MAMA剧情/MA迷推荐 合并为剧集墙 */
  .theater-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  .drama-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #1a1a1a;
  }
  .drama-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  .drama-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
  }
  .drama-card:hover img {
    opacity: 1;
  }
  .drama-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    pointer-events: none;
  }
  .drama-card:hover .play-icon {
    background: rgba(230, 57, 70, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
  }
  .drama-card .play-icon::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: 2px;
  }
  .drama-card a {
    position: absolute;
    inset: 0;
    z-index: 10;
  }
  .drama-card .card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    z-index: 5;
  }

  /* 安装步骤 & 产品问答 */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
  }
  .step-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-light);
  }
  .step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
  }
  .step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .step-card p {
    font-size: 14px;
    color: #b0c4b0;
    line-height: 1.6;
  }

  /* 网友评论 */
  .comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  .comment-card {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-light);
  }
  .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
  }
  .comment-name {
    font-weight: 600;
    font-size: 14px;
  }
  .comment-stars {
    color: var(--gold);
    font-size: 12px;
    margin-top: 2px;
  }
  .comment-body {
    font-size: 14px;
    line-height: 1.7;
    color: #d0dfd0;
  }

  /* 页脚 */
  footer {
    background: #081f11;
    color: #6b8c6b;
    text-align: center;
    padding: 40px 20px;
    font-size: 12px;
    line-height: 2;
    margin-top: 40px;
  }
  footer a {
    color: #8aa88a;
    transition: color 0.2s;
  }
  footer a:hover {
    color: #fff;
  }

  /* 响应式断点 */
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      padding: 40px 20px;
    }
    .hero-text {
      text-align: center;
    }
    .hero-text p {
      margin: 0 auto 30px;
    }
    .logo-wrap {
      justify-content: center;
    }
    .hero-carousel {
      max-width: 100%;
      width: 100%;
      height: 480px;
      order: 2;
    }
    .exclusive {
      flex-direction: column;
      padding: 24px;
    }
    .exclusive-img {
      width: 100%;
    }
    .steps-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .top-ticker {
      font-size: 11px;
    }
    .navbar {
      padding: 10px 12px;
      overflow-x: auto;
      justify-content: flex-start;
      -webkit-overflow-scrolling: touch;
    }
    .nav-links {
      gap: 16px;
    }
    .nav-links li a {
      font-size: 13px;
      white-space: nowrap;
    }
    .hero {
      padding: 30px 16px;
    }
    .logo-wrap h1 {
      font-size: 24px;
    }
    .hero-text p {
      font-size: 15px;
    }
    .download-btn {
      font-size: 18px;
      padding: 14px 32px;
      width: 100%;
    }
    .hero-carousel {
      height: 400px;
      order: 2;
      margin-top: 20px;
    }
    section {
      padding: 50px 16px;
    }
    .section-title {
      font-size: 24px;
    }
    .theater-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .comments-grid {
      grid-template-columns: 1fr;
    }
    .exclusive-text h2 {
      font-size: 24px;
    }
  }