:root {
    --grad-main: linear-gradient(135deg, #FFC64D 0%, #FF8A3D 50%, #FF5470 100%);
    --bg: #1A0C08;
    --bg-dark: #1F0E09;
    --panel: #33150E;
    --panel-2: #4A1E13;
    --text: #FFF3EA;
    --text-sec: #C29C8A;
    --border: rgba(255,196,150,.10);
    --border-strong: rgba(255,196,150,.20);
    --glow: radial-gradient(circle at 20% 30%, rgba(255,198,77,.16), transparent 55%),
            radial-gradient(circle at 80% 20%, rgba(255,138,61,.14), transparent 55%),
            radial-gradient(circle at 50% 90%, rgba(255,84,112,.12), transparent 60%);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { overflow-x: hidden; }
  body {
    background-color: var(--bg);
    background-image: var(--glow);
    background-attachment: fixed;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    padding-bottom: 96px;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* 头部与导航 */
  header.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(26,12,8,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .5px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
  .nav-links a { padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--text-sec); transition: all .2s; }
  .nav-links a:hover { color: #FFC64D; background: rgba(255,198,77,.10); }

  /* 手机折叠菜单 */
  .menu-toggle { display: none; background: var(--panel); border: 1px solid var(--border-strong); color: #FFC64D; padding: 6px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; }
  .mobile-nav { display: none; flex-direction: column; background: var(--panel); border-bottom: 1px solid var(--border); }
  .mobile-nav a { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .mobile-nav.active { display: flex; }

  /* 首屏 */
  .hero { padding: 56px 0 40px; position: relative; }
  .hero-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
  .hero-text h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.25; font-weight: 900; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
  .hero-text p.lead { color: var(--text-sec); font-size: 16px; margin-bottom: 24px; max-width: 540px; }
  .hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
  .badge { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: #FFC64D; font-size: 13px; background: rgba(255,198,77,.06); }

  /* 首屏图片轮播 */
  .hero-gallery { position: relative; width: 100%; aspect-ratio: 4/3; max-width: 520px; margin: 0 auto; }
  .hero-gallery .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.55); border: 1px solid var(--border-strong); }
  .hero-gallery .slide.active { opacity: 1; }
  .hero-gallery .slide img { width: 100%; height: 100%; object-fit: cover; }
  .hero-gallery .dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
  .hero-gallery .dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .3s; }
  .hero-gallery .dots span.active { background: #FFC64D; }

  /* 设备下载按钮 */
  .download-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .dl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 14px;
    background: var(--panel); border: 1px solid var(--border-strong); color: var(--text);
    transition: all .2s;
  }
  .dl-btn:hover { transform: translateY(-2px); border-color: #FFC64D; box-shadow: 0 6px 20px rgba(255,138,61,.25); }
  .dl-btn.primary { background: var(--grad-main); color: #1A0C08; border: none; }
  .dl-btn.primary:hover { box-shadow: 0 6px 28px rgba(255,138,61,.5); }

  /* 跑马灯 */
  .marquee { margin-top: 40px; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
  .marquee-track { display: inline-flex; gap: 40px; animation: scroll 26s linear infinite; }
  .marquee-track span { font-size: 18px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
  @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* 通用区块 */
  section.block { padding: 64px 0; position: relative; }
  .section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 900; margin-bottom: 10px; }
  .section-title .accent { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .section-desc { color: var(--text-sec); margin-bottom: 36px; font-size: 15px; max-width: 700px; }

  /* 真人短剧：横向滑动截图墙 */
  .scroll-wall { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
  .scroll-wall::-webkit-scrollbar { height: 8px; }
  .scroll-wall::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
  .wall-card { flex: 0 0 220px; scroll-snap-align: start; background: var(--panel); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
  .wall-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .wall-info { padding: 12px; }
  .wall-info h3 { font-size: 15px; margin-bottom: 6px; color: #FFC64D; }
  .wall-info p { font-size: 12px; color: var(--text-sec); }
  .wall-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .wall-tags span { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: var(--panel-2); color: #FFC64D; }

  /* 完结魔改剧：图文交错 */
  .magic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .magic-card { display: flex; gap: 16px; background: var(--panel); border-radius: 16px; padding: 16px; border: 1px solid var(--border); }
  .magic-card img { width: 120px; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
  .magic-card .mc-body h3 { font-size: 17px; color: #FFC64D; margin-bottom: 8px; }
  .magic-card .mc-body p { font-size: 13px; color: var(--text-sec); margin-bottom: 10px; }
  .mc-meta { font-size: 12px; color: #FF8A3D; }

  /* 本周热播榜：时间轴 + 列表 */
  .rank-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
  .rank-poster img { width: 100%; border-radius: 16px; border: 1px solid var(--border-strong); }
  .rank-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .rank-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel); border-radius: 12px; border: 1px solid var(--border); }
  .rank-list li .num { font-size: 20px; font-weight: 900; color: #FF5470; min-width: 28px; }
  .rank-list li .rname { font-weight: 700; font-size: 15px; }
  .rank-list li .rdesc { font-size: 12px; color: var(--text-sec); }
  .rank-list li:nth-child(1) .num, .rank-list li:nth-child(2) .num, .rank-list li:nth-child(3) .num { color: #FFC64D; }

  /* 排片时间轴 */
  .timeline { margin-top: 40px; position: relative; padding-left: 28px; }
  .timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--grad-main); }
  .tl-item { position: relative; margin-bottom: 22px; }
  .tl-item::before { content: ''; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad-main); box-shadow: 0 0 10px rgba(255,138,61,.6); }
  .tl-time { font-weight: 800; color: #FFC64D; font-size: 15px; }
  .tl-item p { font-size: 13px; color: var(--text-sec); }

  /* 热门点评 */
  .review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .review-card { background: var(--panel); border-radius: 16px; padding: 20px; border: 1px solid var(--border); }
  .review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .review-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .review-head .rv-name { font-weight: 700; font-size: 14px; }
  .review-head .rv-time { font-size: 12px; color: var(--text-sec); }
  .review-card p { font-size: 14px; color: var(--text-sec); }

  /* 会员权益 */
  .benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .benefit-card { background: var(--panel-2); border-radius: 16px; padding: 22px; border: 1px solid var(--border-strong); }
  .benefit-card h3 { font-size: 16px; color: #FFC64D; margin-bottom: 8px; }
  .benefit-card p { font-size: 13px; color: var(--text-sec); }

  /* 问答/双栏区块 */
  .qa-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
  .qa-side img { width: 100%; border-radius: 16px; border: 1px solid var(--border); }
  .qa-list details { background: var(--panel); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; border: 1px solid var(--border); }
  .qa-list summary { cursor: pointer; font-weight: 700; font-size: 15px; color: #FFC64D; list-style: none; }
  .qa-list summary::-webkit-details-marker { display: none; }
  .qa-list details p { margin-top: 8px; font-size: 13px; color: var(--text-sec); }

  /* 隐私/反馈/未成年：三卡 */
  .info-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .info-card { background: var(--panel); border-radius: 16px; padding: 24px; border: 1px solid var(--border); }
  .info-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
  .info-card h3 { font-size: 16px; color: #FFC64D; margin-bottom: 8px; }
  .info-card p { font-size: 13px; color: var(--text-sec); }

  /* 下载专区 */
  .download-zone { background: var(--panel); border-radius: 24px; padding: 40px; border: 1px solid var(--border-strong); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
  .download-zone img { width: 100%; border-radius: 16px; }
  .dz-text h2 { font-size: 26px; margin-bottom: 10px; }
  .dz-text p { color: var(--text-sec); font-size: 14px; margin-bottom: 20px; }
  .install-steps { margin-top: 20px; }
  .install-steps li { font-size: 13px; color: var(--text-sec); margin-bottom: 8px; padding-left: 20px; position: relative; list-style: none; }
  .install-steps li::before { content: '✓'; position: absolute; left: 0; color: #FFC64D; font-weight: 900; }

  /* 浮动下载窗 */
  .float-dl {
    position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
    z-index: 200; display: flex; align-items: center; gap: 12px;
    background: rgba(51,21,14,.96); border: 1px solid var(--border-strong);
    padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.6);
    backdrop-filter: blur(10px); max-width: calc(100vw - 32px);
  }
  .float-dl img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
  .float-dl .fd-info { font-size: 12px; color: var(--text-sec); line-height: 1.4; }
  .float-dl .fd-info strong { color: #FFC64D; font-size: 13px; display: block; }
  .float-dl a { background: var(--grad-main); color: #1A0C08; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; white-space: nowrap; }

  /* 复制弹窗 */
  .copy-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 300; align-items: center; justify-content: center; padding: 20px; }
  .copy-modal.show { display: flex; }
  .copy-box { background: var(--panel-2); border-radius: 16px; padding: 24px; max-width: 360px; width: 100%; text-align: center; border: 1px solid var(--border-strong); }
  .copy-box p { font-size: 14px; margin-bottom: 16px; color: var(--text); }
  .copy-box .url-box { background: var(--bg-dark); border-radius: 8px; padding: 10px; font-size: 12px; color: #FFC64D; word-break: break-all; margin-bottom: 16px; }
  .copy-box button { background: var(--grad-main); color: #1A0C08; border: none; padding: 10px 22px; border-radius: 8px; font-weight: 700; cursor: pointer; }

  /* 页脚 */
  footer.site-footer { padding: 40px 0 24px; border-top: 1px solid var(--border); margin-top: 40px; text-align: center; font-size: 12px; color: var(--text-sec); }
  .footer-nav { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
  .footer-nav a { color: var(--text-sec); }
  .footer-nav a:hover { color: #FFC64D; }
  .footer-copy { margin-bottom: 8px; opacity: .7; }
  .footer-record { margin-bottom: 6px; }
  .footer-record a { color: var(--text-sec); }
  .footer-time { opacity: .55; font-size: 11px; }

  @media (max-width: 1024px) {
    .hero-top { grid-template-columns: 1fr; text-align: center; }
    .hero-text p.lead { margin-left: auto; margin-right: auto; }
    .hero-badges, .download-row { justify-content: center; }
    .hero-gallery { max-width: 420px; }
    .magic-grid, .rank-layout, .review-grid, .benefit-grid, .qa-layout, .info-trio, .download-zone { grid-template-columns: 1fr; }
    .magic-card img { width: 100px; }
    .download-zone { padding: 24px; }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .brand { font-size: 17px; }
    .brand img { height: 28px; }
    .hero { padding: 32px 0 24px; }
    .hero-text h1 { font-size: 26px; word-break: break-word; }
    .dl-btn { flex: 1 1 44%; padding: 12px 8px; font-size: 13px; }
    .wall-card { flex: 0 0 160px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .float-dl .fd-info { display: none; }
    .float-dl { gap: 8px; padding: 8px 12px; }
    section.block { padding: 40px 0; }
    .section-title { font-size: 22px; }
    .download-zone { border-radius: 16px; }
  }