:root {
  --bg-base: #0d0b14;
  --bg-panel: #171422;
  --bg-panel-light: #201c2f;
  --accent-pink: #ff3b7c;
  --accent-purple: #8a4fff;
  --accent-cyan: #00e5ff;
  --text-main: #f4f2ff;
  --text-sub: #a9a3c2;
  --border-line: #2f2845;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-glow: 0 8px 30px rgba(255, 59, 124, 0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; aspect-ratio: auto; }

/* 导航 */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(13, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.brand span { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--text-sub); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-pink); }

/* 区块容器 */
.section-wrapper { padding: 70px 20px; }
.container { max-width: 1160px; margin: 0 auto; }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.section-title::before {
  content: "";
  display: inline-block;
  width: 6px; height: 24px;
  background: linear-gradient(to bottom, var(--accent-pink), var(--accent-purple));
  border-radius: 4px;
}
.section-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 36px; }

/* 首屏 */
.hero {
  padding: 140px 20px 80px;
  background: radial-gradient(circle at top right, rgba(138, 79, 255, 0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255, 59, 124, 0.1), transparent 50%);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-text h1 { font-size: 42px; font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.hero-text h1 em { font-style: normal; color: var(--accent-pink); text-shadow: 0 0 20px rgba(255, 59, 124, 0.4); }
.hero-text .hero-sub { font-size: 16px; color: var(--text-sub); margin-bottom: 30px; line-height: 1.8; max-width: 480px; }
.hero-features { display: flex; gap: 15px; margin-bottom: 35px; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255, 59, 124, 0.1);
  color: var(--accent-pink);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 59, 124, 0.3);
}
.hero-download-group { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-glow);
  border: none;
  cursor: pointer;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 59, 124, 0.4); }
.btn-download.outline {
  background: transparent;
  border: 1px solid var(--border-line);
  box-shadow: none;
}
.btn-download.outline:hover { border-color: var(--accent-pink); background: rgba(255, 59, 124, 0.05); }

/* 首屏轮播 */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-line);
  background: var(--bg-panel);
}
.carousel-track { display: flex; height: 100%; transition: transform 0.5s ease-in-out; }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots span.active { background: var(--accent-pink); width: 20px; border-radius: 4px; }

/* 魔改爽剧 (Grid 海报墙) */
.bg-alt { background-color: #120f1a; }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}
.poster-card {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s;
  border: 1px solid transparent;
  position: relative;
}
.poster-card:hover { transform: translateY(-6px); border-color: var(--accent-purple); }
.poster-card .img-box { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.poster-card:hover img { transform: scale(1.05); }
.poster-card .badge {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: bold;
}
.poster-card .info { padding: 12px; }
.poster-card .info h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-card .info p { font-size: 12px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 原创魔改 左右结构 */
.split-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.split-img { position: sticky; top: 90px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); border: 1px solid var(--border-line); }
.split-img img { width: 100%; height: auto; display: block; }
.split-img .tag { position: absolute; top: 15px; right: 15px; background: var(--accent-pink); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.list-creative { display: flex; flex-direction: column; gap: 15px; }
.list-item {
  background: var(--bg-panel);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.list-item:hover { background: var(--bg-panel-light); border-left-color: var(--accent-cyan); }
.list-icon { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.list-text strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--text-main); }
.list-text span { font-size: 13px; color: var(--text-sub); }

/* 魔改日历 纵向时间轴 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent-pink), var(--accent-purple), transparent);
}
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--bg-base);
  border: 3px solid var(--accent-cyan);
  border-radius: 50%;
}
.timeline-time { font-size: 15px; font-weight: bold; color: var(--accent-cyan); margin-bottom: 4px; }
.timeline-card {
  background: var(--bg-panel);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 15px;
}
.timeline-card img { width: 50px; height: 65px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.timeline-card h4 { font-size: 15px; margin-bottom: 2px; }
.timeline-card p { font-size: 13px; color: var(--text-sub); }

/* 魔改心愿榜 & 周榜 */
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.wishlist-card, .rank-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-line);
}
.wishlist-card h3, .rank-card h3 { font-size: 18px; margin-bottom: 20px; color: var(--accent-pink); display: flex; align-items: center; gap: 8px; }
.wish-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-line);
}
.wish-item:last-child { border-bottom: none; }
.wish-item .name { font-size: 14px; font-weight: 500; }
.wish-item .progress { font-size: 12px; color: var(--text-sub); background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 10px; }
.rank-item { display: flex; align-items: center; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--border-line); }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 20px; font-weight: 900; font-style: italic; width: 30px; text-align: center; color: var(--text-sub); }
.rank-num.top { color: var(--accent-pink); text-shadow: 0 0 10px rgba(255,59,124,0.5); }
.rank-item img { width: 45px; height: 60px; object-fit: cover; border-radius: 4px; }
.rank-info h4 { font-size: 14px; margin-bottom: 2px; }
.rank-info p { font-size: 12px; color: var(--text-sub); }

/* 魔改辣评 */
.qa-card {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 2px solid var(--accent-purple);
}
.qa-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.qa-header img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-line); }
.qa-header strong { font-size: 14px; color: var(--accent-pink); }
.qa-header span { font-size: 12px; color: var(--text-sub); }
.qa-text { font-size: 14px; line-height: 1.7; }

/* 隐私安全 */
.privacy-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.privacy-item {
  background: var(--bg-panel-light);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
}
.privacy-item h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent-cyan); }
.privacy-item p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* 常见问题 */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--accent-purple); }
.faq-q { font-size: 16px; font-weight: bold; color: var(--accent-pink); margin-bottom: 8px; display: flex; gap: 8px; }
.faq-a { font-size: 14px; color: var(--text-sub); padding-left: 26px; line-height: 1.7; }

/* 结尾下载 */
.footer-download {
  background: linear-gradient(180deg, var(--bg-base), #1a0f27);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.footer-download::before {
  content: "";
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 59, 124, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.download-panel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.download-panel h2 { font-size: 32px; margin-bottom: 15px; }
.download-panel p { font-size: 15px; color: var(--text-sub); margin-bottom: 30px; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}
.step-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-line);
  padding: 20px;
  border-radius: var(--radius-md);
  position: relative;
}
.step-num {
  font-size: 24px; font-weight: 900; color: var(--accent-purple); opacity: 0.5;
  position: absolute; top: 10px; right: 15px; font-style: italic;
}
.step-item h4 { font-size: 15px; margin-bottom: 6px; }
.step-item p { font-size: 13px; color: var(--text-sub); margin-bottom: 0; }
.download-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* 页脚 */
.site-footer {
  background: #090711;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border-line);
  font-size: 13px;
  color: #6b6584;
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: #6b6584; transition: color 0.2s; }
.site-footer a:hover { color: var(--text-main); }
.footer-meta { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 10px; }

/* 百度App下载弹窗 */
.copy-popup-mask {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.copy-popup-mask.active { display: flex; }
.copy-popup {
  background: #1e1a2b;
  width: 100%; max-width: 340px;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.copy-popup h4 { font-size: 15px; margin-bottom: 15px; line-height: 1.5; color: #fff; }
.copy-input-box {
  display: flex;
  background: #120f1a;
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 15px;
}
.copy-input-box input {
  flex: 1; background: transparent; border: none; color: var(--text-sub);
  padding: 10px; font-size: 13px; outline: none;
}
.copy-input-box button {
  background: var(--accent-pink); color: #fff; border: none;
  padding: 0 16px; border-radius: 6px; font-weight: bold; font-size: 13px; cursor: pointer;
}
.copy-popup .close-btn {
  background: transparent; border: none; color: var(--text-sub);
  font-size: 14px; cursor: pointer; padding: 5px 15px;
}

/* 响应式 1024px */
@media (max-width: 1024px) {
  .hero-inner { gap: 30px; }
  .hero-text h1 { font-size: 36px; }
  .split-layout { grid-template-columns: 260px 1fr; }
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* 响应式 768px */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 100px 15px 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text .hero-sub { margin: 0 auto 25px; }
  .hero-features { justify-content: center; }
  .hero-download-group { justify-content: center; }
  .hero-carousel { max-width: 320px; margin: 0 auto; }
  .section-wrapper { padding: 50px 15px; }
  .section-title { font-size: 22px; }
  .split-layout { grid-template-columns: 1fr; }
  .split-img { position: static; max-width: 280px; margin: 0 auto; }
  .two-cols { grid-template-columns: 1fr; gap: 20px; }
  .privacy-box { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; gap: 15px; }
  .download-panel h2 { font-size: 26px; }
  .timeline { padding-left: 25px; }
  .timeline-item::before { left: -23px; }
}