:root {
    --bg: #120B22;
    --panel-1: #221641;
    --panel-2: #2E2058;
    --primary: #A46BFF;
    --secondary: #6E4BD6;
    --highlight: #4FE3B0;
    --text-main: #F0EBFF;
    --text-muted: #A99FC8;
    --border: rgba(190, 175, 255, 0.10);
    --border-strong: rgba(190, 175, 255, 0.20);
    --gold: #FFCE86;
  }

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

  body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: var(--primary);
  }

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

  /* 导航栏 */
  .site-header {
    position: sticky;
    top: 0;
    background-color: rgba(18, 11, 34, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 10px 0;
  }

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

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

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

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

  .nav-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
  }

  .nav-links a:hover {
    color: var(--highlight);
    background: var(--panel-2);
  }

  .mobile-menu-toggle {
    display: none;
    background: var(--panel-1);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
  }

  /* 首屏 Hero */
  .hero-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-top {
    text-align: center;
  }

  .hero-top h1 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .hero-top p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
  }

  .hero-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hero-gallery img {
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    transition: transform 0.3s;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
  }

  .hero-gallery img:hover {
    transform: scale(1.02);
    border-color: var(--primary);
  }

  .download-buttons-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
  }

  .dl-btn {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--gold);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid var(--border-strong);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
  }

  .dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(164, 107, 255, 0.4);
  }

  /* 跑马灯 */
  .marquee-wrap {
    background: var(--panel-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .marquee-text {
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: var(--highlight);
    font-weight: bold;
    font-size: 0.95rem;
  }

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

  /* 通用板块 */
  .section-block {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    text-align: center;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--highlight);
    margin: 10px auto 0;
    border-radius: 2px;
  }

  /* 真人短剧 - 列表结构 */
  .real-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }

  .real-card {
    display: flex;
    gap: 15px;
    background: var(--panel-1);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 12px;
    align-items: flex-start;
    transition: border-color 0.3s;
  }

  .real-card:hover {
    border-color: var(--primary);
  }

  .real-card img {
    width: 80px;
    border-radius: 8px;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .real-info h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .real-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .tag-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
  }

  .tag {
    background: rgba(164, 107, 255, 0.15);
    color: var(--primary);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
  }

  /* 完结魔改剧 - 交错布局 */
  .magic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .magic-card {
    background: var(--panel-2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid var(--border);
  }

  .magic-card img {
    width: 100px;
    border-radius: 8px;
  }

  .magic-text h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .magic-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  /* 本周热播榜 - 带数字 */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    background: var(--panel-1);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
  }

  .rank-num {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--highlight);
    margin-right: 20px;
    width: 30px;
    text-align: center;
  }

  .rank-title {
    flex: 1;
    font-size: 1rem;
  }

  .rank-score {
    color: var(--gold);
  }

  /* 热门点评 - 卡片 */
  .review-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .review-card {
    background: var(--panel-2);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
  }

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

  .review-header img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
  }

  .review-author {
    color: var(--gold);
    font-weight: bold;
    font-size: 0.9rem;
  }

  .review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
  }

  .review-content {
    font-size: 0.95rem;
    color: var(--text-main);
  }

  /* 会员权益 */
  .vip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .vip-item {
    display: flex;
    gap: 10px;
    background: var(--panel-1);
    padding: 15px;
    border-radius: 10px;
    align-items: center;
    border: 1px solid var(--border);
  }

  .vip-icon {
    width: 10px;
    height: 10px;
    background: var(--highlight);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* 隐私与未成年 */
  .info-text-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
  }

  .info-text-item {
    background: var(--panel-1);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  /* 时间轴 */
  .timeline-container {
    position: relative;
    padding-left: 30px;
  }

  .timeline-container::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-strong);
  }

  .time-node {
    position: relative;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--panel-2);
    border-radius: 8px;
  }

  .time-node::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 20px;
    width: 10px;
    height: 10px;
    background: var(--highlight);
    border-radius: 50%;
    border: 2px solid var(--bg);
  }

  .time-label {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
  }

  /* FAQ */
  .faq-item {
    background: var(--panel-1);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .faq-q {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gold);
    background: rgba(0,0,0,0.2);
  }

  .faq-a {
    padding: 0 15px 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  /* 下载专区 */
  .download-section {
    text-align: center;
    background: var(--panel-2);
    border-radius: 20px;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1000px;
    border: 1px solid var(--border-strong);
  }

  .download-section h2 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.8rem;
  }

  .download-section p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .dl-step {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .dl-step-item {
    background: var(--panel-1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 0.9rem;
  }

  /* 浮动下载窗（仅手机端） */
  .float-dl {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--panel-2), var(--panel-1));
    border: 1px solid var(--primary);
    padding: 10px 15px;
    border-radius: 30px;
    align-items: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    width: 90%;
    max-width: 340px;
    justify-content: space-between;
  }

  .float-dl img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .float-dl-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.2;
    flex: 1;
  }

  .float-dl-text strong {
    display: block;
    color: var(--gold);
    font-size: 0.9rem;
  }

  .float-dl-btn {
    background: var(--highlight);
    color: #120B22;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* 页脚 */
  .site-footer {
    border-top: 1px solid var(--border);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 80px; /* 给浮动窗留空间 */
  }

  .footer-nav {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .footer-nav a {
    color: var(--text-muted);
  }

  .footer-nav a:hover {
    color: var(--text-main);
  }

  .footer-copy {
    margin-bottom: 10px;
  }

  .footer-copy a {
    color: var(--text-muted);
    text-decoration: none;
  }

  /* 遮罩层（用于复制地址提示） */
  .copy-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }

  .copy-modal {
    background: var(--panel-2);
    padding: 30px;
    border-radius: 15px;
    width: 85%;
    max-width: 350px;
    text-align: center;
    border: 1px solid var(--border-strong);
  }

  .copy-modal p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
  }

  .copy-modal input {
    width: 100%;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--highlight);
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.85rem;
  }

  .copy-modal button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
  }

  /* 响应式 */
  @media (min-width: 768px) {
    .hero-gallery {
      grid-template-columns: repeat(4, 1fr);
    }
    .magic-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .review-wrap {
      grid-template-columns: repeat(2, 1fr);
    }
    .vip-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .float-dl {
      display: none;
    }
    .site-footer {
      margin-bottom: 0;
    }
  }

  @media (min-width: 1024px) {
    .hero-section {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    .hero-top {
      text-align: left;
      flex: 1;
    }
    .hero-gallery {
      flex: 1;
      min-width: 500px;
    }
    .download-buttons-wrap {
      justify-content: flex-start;
    }
    .magic-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .review-wrap {
      grid-template-columns: repeat(3, 1fr);
    }
    .vip-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .download-section .dl-step {
      flex-wrap: nowrap;
    }
    .float-dl {
      display: flex;
    }
    .site-footer {
      margin-bottom: 0;
    }
  }

  @media (max-width: 767px) {
    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      padding-top: 10px;
    }
    .nav-links.active {
      display: flex;
    }
    .mobile-menu-toggle {
      display: block;
    }
    .hero-top h1 {
      font-size: 1.5rem;
    }
    .float-dl {
      display: flex;
    }
    .magic-grid {
      grid-template-columns: 1fr;
    }
  }