:root {
    --bg-dark: #0d0f1a;
    --bg-card: #181c2b;
    --accent: #ff4d6d;
    --accent2: #6c5ce7;
    --text-main: #e8eaf6;
    --text-sub: #9aa0b5;
    --radius: 16px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* 头部导航 */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(13, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .brand-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 15px; white-space: nowrap;
  }
  .brand-logo img { height: 32px; width: auto; border-radius: 6px; object-fit: contain; }
  .nav-links {
    display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
  }
  .nav-links a {
    padding: 6px 12px; font-size: 13px; color: var(--text-sub);
    border-radius: 20px; transition: all 0.25s ease; position: relative;
  }
  .nav-links a:hover {
    color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,77,109,0.3);
  }
  /* 移动端折叠菜单 */
  .menu-toggle {
    display: none; background: none; border: 1px solid rgba(255,255,255,0.2);
    color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 14px; cursor: pointer;
  }

  /* 首屏 hero */
  .hero {
    position: relative; padding: 50px 20px 30px;
    background: radial-gradient(circle at 20% 20%, #2a1a2e 0%, var(--bg-dark) 60%);
    overflow: hidden;
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  }
  .hero-text h1 {
    font-size: 34px; line-height: 1.3; margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #ffb3c1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .hero-text p {
    font-size: 15px; color: var(--text-sub); margin-bottom: 24px; max-width: 500px;
  }
  .hero-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
  }
  .btn-download {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 30px; font-weight: 600; font-size: 14px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #fff; transition: all 0.3s ease; border: none; cursor: pointer;
    box-shadow: 0 6px 20px rgba(255,77,109,0.25);
  }
  .btn-download:hover {
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,92,231,0.4);
  }
  .btn-download.hollow {
    background: transparent; border: 1px solid var(--accent);
    color: var(--accent); box-shadow: none;
  }
  .btn-download.hollow:hover {
    background: var(--accent); color: #fff;
  }

  /* 首屏轮播图 */
  .hero-carousel {
    position: relative; height: 380px; border-radius: var(--radius);
    overflow: hidden; display: flex; gap: 12px;
    padding: 10px; background: rgba(255,255,255,0.03);
  }
  .hero-carousel img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
    transition: transform 0.6s ease; flex: 1; min-width: 0;
  }
  .hero-carousel img:hover { transform: scale(1.02); }

  /* 跑马灯 */
  .marquee-bar {
    width: 100%; overflow: hidden; white-space: nowrap;
    background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05); padding: 12px 0; margin-top: 30px;
  }
  .marquee-content {
    display: inline-block; animation: marquee 18s linear infinite;
    font-weight: 700; font-size: 18px;
    background: linear-gradient(90deg, #ff4d6d, #ffb3c1, #6c5ce7, #00d2ff, #ff4d6d);
    background-size: 300% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* 通用区块 */
  section { padding: 60px 20px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-title { font-size: 26px; margin-bottom: 8px; }
  .section-desc { color: var(--text-sub); margin-bottom: 32px; font-size: 14px; }

  /* 区块 - 同款小说魔改 */
  .novel-section {
    background: #121528;
  }
  .novel-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start;
  }
  .novel-img-wrap {
    position: relative; border-radius: var(--radius); overflow: hidden;
    height: 500px;
  }
  .novel-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
  }
  .novel-tag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(0,0,0,0.6); padding: 4px 10px; border-radius: 6px; font-size: 12px;
    color: #ffb3c1;
  }
  .novel-list {
    display: flex; flex-direction: column; gap: 14px;
  }
  .novel-item {
    background: var(--bg-card); padding: 14px 16px; border-radius: 12px;
    border-left: 3px solid var(--accent);
    transition: transform 0.2s ease, background 0.2s;
  }
  .novel-item:hover { background: #1f2438; transform: translateX(4px); }
  .novel-item h3 { font-size: 15px; margin-bottom: 4px; color: #fff; }
  .novel-item p { font-size: 13px; color: var(--text-sub); }

  /* AI短剧 时间轴 */
  .ai-section {
    background: #0e161e;
  }
  .timeline {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 30px; position: relative;
  }
  .timeline-item {
    background: #182530; border-radius: 14px; padding: 20px;
    position: relative; border-top: 3px solid #00d2ff;
  }
  .timeline-item .time {
    font-size: 20px; font-weight: 700; color: #00d2ff;
    margin-bottom: 8px; display: block;
  }
  .timeline-item h3 { font-size: 15px; margin-bottom: 6px; color: #fff; }
  .timeline-item p { font-size: 13px; color: #8fa0b0; }

  /* 完结魔改剧 卡片网格 */
  .finished-section {
    background: #1a1224;
  }
  .finished-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  }
  .finished-card {
    background: var(--bg-card); border-radius: var(--radius);
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s;
  }
  .finished-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255,77,109,0.15);
  }
  .finished-card img {
    width: 100%; height: 220px; object-fit: cover;
  }
  .finished-info { padding: 14px; }
  .finished-info h3 { font-size: 16px; margin-bottom: 6px; color: #fff; }
  .finished-info p { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .tags span {
    background: rgba(108,92,231,0.15); color: #b8b0ff;
    font-size: 11px; padding: 2px 8px; border-radius: 4px;
  }

  /* 本周热播榜 */
  .hot-section {
    background: #0f121c;
  }
  .hot-list {
    display: flex; flex-direction: column; gap: 16px;
  }
  .hot-item {
    display: flex; gap: 20px; background: var(--bg-card); padding: 16px;
    border-radius: var(--radius); align-items: center;
    border: 1px solid rgba(255,255,255,0.04);
  }
  .hot-item img {
    width: 80px; height: 110px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
  }
  .hot-content { flex: 1; }
  .hot-content h3 { font-size: 16px; margin-bottom: 4px; color: #fff; }
  .hot-content p { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }
  .hot-meta { display: flex; gap: 12px; font-size: 12px; color: #ffb3c1; }

  /* 会员权益 */
  .vip-section {
    background: linear-gradient(135deg, #2a1a2e 0%, #1a1224 100%);
  }
  .vip-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  .vip-card {
    background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px;
    text-align: center; transition: background 0.3s;
  }
  .vip-card:hover { background: rgba(255,255,255,0.1); }
  .vip-card h3 { font-size: 15px; margin-bottom: 6px; color: #ffb3c1; }
  .vip-card p { font-size: 12px; color: var(--text-sub); }

  /* 隐私安全 & 意见反馈 左右结构 */
  .split-section {
    background: #0e161e;
  }
  .split-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start;
  }
  .split-container {
    background: var(--bg-card); border-radius: var(--radius); padding: 24px;
  }
  .split-container h2 { font-size: 22px; margin-bottom: 16px; }
  .faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06); padding: 12px 0;
  }
  .faq-item:last-child { border-bottom: none; }
  .faq-item h3 { font-size: 15px; margin-bottom: 6px; color: #00d2ff; }
  .faq-item p { font-size: 13px; color: var(--text-sub); }

  /* 下载专区 */
  .download-section {
    background: linear-gradient(180deg, #1a1224 0%, #0d0f1a 100%);
    text-align: center;
  }
  .download-flex {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px;
  }
  .download-flex .btn-download {
    padding: 14px 32px; font-size: 15px;
  }

  /* 评论区 */
  .comment-section {
    background: #121528;
  }
  .comment-list {
    display: flex; flex-direction: column; gap: 16px; margin-top: 20px;
  }
  .comment-item {
    display: flex; gap: 12px; background: var(--bg-card); padding: 16px;
    border-radius: 12px;
  }
  .comment-item img {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1);
  }
  .comment-content { flex: 1; }
  .comment-content h3 { font-size: 14px; margin-bottom: 4px; color: #ffb3c1; }
  .comment-content p { font-size: 13px; color: var(--text-sub); }

  /* 浮动下载窗口 */
  .floating-download {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(24, 28, 43, 0.95); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,77,109,0.3);
    padding: 10px 20px; border-radius: 40px; z-index: 999;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .floating-download img {
    width: 32px; height: 32px; border-radius: 6px; object-fit: contain;
  }
  .floating-download .fd-text { font-size: 12px; color: var(--text-sub); line-height: 1.2; }
  .floating-download .fd-text strong { display: block; color: #fff; font-size: 13px; }
  .floating-download .fd-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
    white-space: nowrap;
  }

  /* 页脚 */
  .site-footer {
    background: #090a10; padding: 30px 20px 40px; font-size: 12px; color: #555a6e;
    text-align: center; border-top: 1px solid rgba(255,255,255,0.04);
  }
  .site-footer a { color: #6c5ce7; }
  .site-footer a:hover { text-decoration: underline; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-carousel { height: 300px; }
    .novel-grid { grid-template-columns: 1fr; }
    .novel-img-wrap { height: 350px; }
    .finished-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .vip-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .menu-toggle { display: block; }
    .nav-links {
      display: none; width: 100%; flex-direction: column; margin-top: 12px;
      background: var(--bg-card); border-radius: 12px; padding: 10px;
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 10px; font-size: 14px; }
    .hero { padding: 30px 16px 20px; }
    .hero-text h1 { font-size: 24px; }
    .hero-carousel { height: 220px; gap: 8px; padding: 6px; }
    .marquee-content { font-size: 14px; }
    .section-title { font-size: 20px; }
    section { padding: 40px 16px; }
    .finished-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .vip-grid { grid-template-columns: 1fr; }
    .hot-item { flex-direction: column; align-items: flex-start; }
    .hot-item img { width: 100%; height: 160px; }
    .floating-download { bottom: 12px; padding: 8px 14px; width: calc(100% - 32px); }
  }