:root {
  --c-bg: #0f0c1b;
  --c-card: #1a1528;
  --c-accent: #ff4d6d;
  --c-accent2: #7b2cbf;
  --c-text: #e6e1f0;
  --c-muted: #9a92b0;
  --c-border: #2e2444;
  --radius: 12px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* 头部 & 导航 */
.site-header {
  position: sticky; top:0; z-index:100;
  background: rgba(15,12,27,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  max-width: 1200px; margin:0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width:32px; border-radius: 8px; object-fit: cover; }
.brand span { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.5px; }
.nav-toggle {
  display: none; background:none; border:none; color: var(--c-text); font-size: 1.4rem; cursor:pointer;
}
.main-nav ul { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  padding: 6px 10px; border-radius: 20px; font-size: 0.82rem; color: var(--c-muted);
  transition: color 0.25s, background 0.25s;
}
.main-nav a:hover { color: #fff; background: var(--c-accent2); }

/* 首屏 */
.hero {
  position: relative; padding: 56px 16px 0;
  background: radial-gradient(circle at 20% 10%, #2b1a4a 0%, var(--c-bg) 60%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin:0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items:center;
}
.hero-text h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem); line-height:1.25; margin-bottom: 16px;
  background: linear-gradient(90deg,#ff4d6d,#ffb86b);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-text p { color: var(--c-muted); margin-bottom: 20px; font-size: 0.95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items:center; justify-content:center;
  padding: 10px 18px; border-radius: 30px; font-size: 0.88rem; font-weight:600;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  color:#fff; transition: transform 0.2s, box-shadow 0.2s;
  border:none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,77,109,0.35); }
.btn.ghost { background: transparent; border:1px solid var(--c-accent2); color: #d9c9ff; }
.btn.ghost:hover { background: rgba(123,44,191,0.2); box-shadow:none; }

/* 首屏图片轮播 */
.hero-gallery { position: relative; height: 320px; }
.hero-gallery img {
  position:absolute; top:0; left:0; width:100%; height:100%; object-fit: cover;
  border-radius: var(--radius); opacity:0; transition: opacity 1s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.hero-gallery img.active { opacity:1; }
.gallery-dots {
  position:absolute; bottom: -22px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px;
}
.gallery-dots span {
  width:8px; height:8px; border-radius:50%; background: var(--c-border); cursor:pointer;
  transition: background 0.3s;
}
.gallery-dots span.active { background: var(--c-accent); }

/* 跑马灯 */
.marquee {
  margin-top: 32px; padding: 10px 0; overflow: hidden; white-space: nowrap;
  background: linear-gradient(90deg, #2b1a4a, #3d1466);
  border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
}
.marquee-track { display: inline-block; animation: scroll 20s linear infinite; }
.marquee-track span {
  display:inline-block; margin: 0 18px; font-weight:600;
  background: linear-gradient(90deg, #ff4d6d, #ffb86b); -webkit-background-clip:text; background-clip:text; color:transparent;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 通用 section */
.section { padding: 64px 16px; }
.section-inner { max-width: 1200px; margin:0 auto; }
.section-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 12px; }
.section-desc { color: var(--c-muted); margin-bottom: 32px; font-size: 0.92rem; max-width: 720px; }

/* AI魔改 */
.ai-section { background: #1a1528; }
.ai-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.ai-card {
  background: linear-gradient(160deg, #241b3a, #171126);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px; transition: border-color 0.25s, transform 0.25s;
}
.ai-card:hover { border-color: var(--c-accent); transform: translateY(-3px); }
.ai-card h3 { font-size: 1rem; margin-bottom: 8px; color: #ffb86b; }
.ai-card p { font-size: 0.86rem; color: var(--c-muted); }

/* 魔改短剧 - 左侧竖图右侧文本 */
.mg-section { background: #151226; }
.split {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start;
}
.side-img {
  position: sticky; top: 76px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-border);
}
.side-img img { width:100%; height:auto; object-fit:cover; }
.text-list li {
  padding: 10px 0; border-bottom: 1px dashed var(--c-border); font-size: 0.9rem; color: var(--c-text);
}
.text-list li strong { color: #ffb86b; margin-right: 6px; }

/* 热播魔改剧 图片墙 */
.hot-section { background: linear-gradient(180deg, #1b1430, #0f0c1b); }
.filter-chips { display:flex; flex-wrap:wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem;
  background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-muted);
  cursor: pointer; transition: all 0.25s;
}
.chip.active, .chip:hover { background: var(--c-accent2); color:#fff; border-color: var(--c-accent2); }
.poster-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px;
}
.poster-card {
  background: var(--c-card); border-radius: var(--radius); overflow: hidden;
  border:1px solid var(--c-border); transition: transform 0.25s, box-shadow 0.25s;
}
.poster-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.5); }
.poster-card img { width:100%; aspect-ratio: 3/4; object-fit: cover; }
.poster-info { padding: 10px; }
.poster-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.poster-info p { font-size: 0.75rem; color: var(--c-muted); margin-bottom: 6px; }
.tag {
  display:inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem;
  background: rgba(255,77,109,0.15); color: #ff8fa3;
}

/* 今日热播榜 */
.rank-section { background: #22132a; }
.timeline-list { position: relative; padding-left: 28px; }
.timeline-list::before {
  content:''; position:absolute; left: 8px; top: 4px; bottom: 4px; width:2px;
  background: linear-gradient(var(--c-accent), var(--c-accent2));
}
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-item::before {
  content:''; position:absolute; left:-26px; top: 5px; width:12px; height:12px; border-radius:50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px rgba(255,77,109,0.18);
}
.timeline-time { font-size: 0.8rem; color: #ffb86b; font-weight:600; margin-bottom: 4px; }
.timeline-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.85rem; color: var(--c-muted); }

/* 会员权益 */
.vip-section { background: #14122b; }
.vip-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px;
}
.vip-card {
  background: rgba(255,255,255,0.04); border-radius: var(--radius);
  padding: 20px; border: 1px solid rgba(255,255,255,0.06);
}
.vip-card h3 { font-size: 1rem; margin-bottom: 8px; color: #c9b6ff; }
.vip-card p { font-size: 0.85rem; color: var(--c-muted); }

/* 隐私安全 */
.privacy-section { background: #16241f; }
.faq-q { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-q h3 { font-size: 0.98rem; margin-bottom: 6px; }
.faq-q p { font-size: 0.86rem; color: #9fb8ab; }

/* 意见反馈 */
.feedback-section { background: #2a1e12; }
.feedback-list { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.feedback-card { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 18px; }
.feedback-card h3 { font-size: 0.98rem; margin-bottom: 6px; color: #ffcf8b; }
.feedback-card p { font-size: 0.85rem; color: #cdbfa8; }

/* 常见问题 */
.faq-section { background: #1d1a2a; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-btn {
  width:100%; text-align:left; background:none; border:none; color: var(--c-text);
  padding: 16px 0; font-size: 0.95rem; font-weight:600; cursor:pointer; display:flex; justify-content: space-between; align-items:center;
}
.faq-btn::after { content:'+'; font-size: 1.2rem; color: var(--c-accent); }
.faq-item.open .faq-btn::after { content:'−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 0.86rem; color: var(--c-muted); }
.faq-a p { padding-bottom: 14px; }

/* 下载专区 */
.download-section { background: radial-gradient(circle at 80% 0%, #33196b, #0f0c1b 70%); }
.steps { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-bottom: 32px; }
.step-card { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 18px; }
.step-card h3 { font-size: 1rem; margin-bottom: 6px; color:#ffb86b; }
.step-card p { font-size: 0.85rem; color: var(--c-muted); }
.dl-buttons { display:flex; flex-wrap:wrap; gap: 12px; }

/* 评论 */
.comment-section { background: #101a24; }
.comment-list { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.comment-card { background: rgba(255,255,255,0.04); border-radius: var(--radius); padding: 16px; display:flex; gap: 12px; }
.comment-card img { width:36px; height:36px; border-radius:50%; object-fit:cover; }
.comment-body h4 { font-size: 0.85rem; margin-bottom: 4px; }
.comment-body p { font-size: 0.82rem; color: var(--c-muted); }

/* 底部下载 & 页脚 */
.footer { background: #0a0812; padding: 40px 16px 90px; border-top: 1px solid var(--c-border); }
.footer-inner { max-width: 1200px; margin:0 auto; }
.footer-brand { font-size: 0.9rem; font-weight:600; margin-bottom: 8px; }
.footer-text { font-size: 0.78rem; color: #7a7290; margin-bottom: 6px; }
.footer-nav { display:flex; flex-wrap:wrap; gap: 12px; margin: 16px 0; }
.footer-nav a { font-size: 0.78rem; color: #8a82a0; }
.footer-nav a:hover { color: var(--c-accent); }
.footer-bottom { font-size: 0.72rem; color: #5c5570; line-height:1.8; }
.footer-bottom a { color: #5c5570; }

/* 浮动下载 */
.float-dl {
  position: fixed; bottom: 16px; left:50%; transform: translateX(-50%);
  z-index: 200; display:flex; align-items:center; gap: 12px;
  background: linear-gradient(135deg, #2a1840, #1a0f2b);
  border: 1px solid var(--c-accent2); border-radius: 40px;
  padding: 8px 18px 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  max-width: calc(100% - 32px);
}
.float-dl img { width:36px; height:36px; border-radius:50%; object-fit:cover; }
.float-dl-text .t { font-size: 0.82rem; font-weight:600; }
.float-dl-text .s { font-size: 0.68rem; color: var(--c-muted); }
.float-dl .btn { padding: 6px 14px; font-size: 0.78rem; white-space: nowrap; }

/* 复制弹窗 */
.copy-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 999;
  display: none; align-items:center; justify-content:center; padding: 20px;
}
.copy-modal.show { display:flex; }
.copy-box {
  background: var(--c-card); border-radius: var(--radius); padding: 24px; max-width: 340px; width:100%;
  text-align:center; border: 1px solid var(--c-border);
}
.copy-box p { font-size: 0.85rem; margin-bottom: 14px; color: var(--c-text); }
.copy-box input {
  width:100%; padding: 10px; border-radius: 8px; border: 1px solid var(--c-border);
  background: #0f0c1b; color: var(--c-muted); font-size: 0.78rem; margin-bottom: 14px;
}
.copy-box button {
  width:100%; padding: 10px; border-radius: 8px; border:none; cursor:pointer;
  background: var(--c-accent); color:#fff; font-size: 0.88rem; margin-bottom: 8px;
}
.copy-box .close-btn { background: transparent; color: var(--c-muted); }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-gallery { height: 260px; max-width: 480px; margin: 0 auto; width:100%; }
  .split { grid-template-columns: 1fr; }
  .side-img { position: static; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 56px; left:0; right:0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-border);
    padding: 12px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 8px 10px; }
  .hero { padding-top: 36px; }
  .hero-gallery { height: 220px; }
  .section { padding: 44px 16px; }
  .btn { padding: 9px 14px; font-size: 0.82rem; }
  .float-dl { padding: 6px 12px 6px 6px; gap: 8px; bottom: 12px; }
  .float-dl img { width: 32px; height: 32px; }
  .float-dl-text .s { display: none; }
  .float-dl-text .t { font-size: 0.76rem; }
}