:root {
  --primary: #ff3b5c;
  --secondary: #7b2cbf;
  --bg-dark: #121212;
  --bg-light: #1e1e24;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --gradient-1: linear-gradient(135deg, #ff3b5c, #ff8a5c);
  --gradient-2: linear-gradient(135deg, #7b2cbf, #3a0ca3);
  --gradient-3: linear-gradient(135deg, #f72585, #7209b7);
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: 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; object-fit: cover; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* 头部导航 */
header {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.logo-area { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 1.2rem; }
.logo-area img { height: 32px; border-radius: 6px; }
.nav-links { display: none; gap: 20px; }
.nav-links a { font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.mobile-menu-btn { display: block; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; background: var(--bg-light); padding: 10px 16px; gap: 10px; border-bottom: 1px solid #333; }
.mobile-nav.active { display: flex; }
.mobile-nav a { color: var(--text-main); padding: 8px 0; border-bottom: 1px solid #333; }

/* 首屏 Hero */
.hero {
  padding: 40px 0;
  background: radial-gradient(circle at top right, #2a0a2a, #121212);
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 16px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-muted); margin-bottom: 24px; font-size: 1rem; }
.hero-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-img-box {
  width: 30%;
  max-width: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-img-box:hover { transform: translateY(-5px); }
.hero-img-box img { width: 100%; height: auto; aspect-ratio: 3/4; }

/* 下载按钮组 */
.download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  color: white;
  background: var(--gradient-1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 59, 92, 0.4); }
.btn-dark { background: var(--gradient-2); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

/* 跑马灯 */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 10px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}
.marquee span {
  font-size: 1rem;
  font-weight: bold;
  margin-right: 30px;
  background: linear-gradient(90deg, #ff3b5c, #f72585, #7b2cbf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 各个板块 */
section { padding: 40px 0; }
.section-title { font-size: 1.5rem; margin-bottom: 24px; text-align: center; color: var(--primary); }
.section-desc { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-size: 0.95rem; }

/* 同款魔改 */
.mod-section { background: #1e1e24; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.mod-card { background: #2a2a35; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.mod-card img { width: 100%; aspect-ratio: 3/4; }
.mod-card .info { padding: 10px; flex: 1; }
.mod-card h3 { font-size: 1rem; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag { background: #444; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; }

/* 完结魔改剧 */
.finish-section { background: #121212; }
.finish-list { display: flex; flex-direction: column; gap: 16px; }
.finish-item { display: flex; background: #1e1e24; border-radius: var(--radius); overflow: hidden; align-items: center; }
.finish-item img { width: 100px; aspect-ratio: 3/4; flex-shrink: 0; }
.finish-content { padding: 12px; flex: 1; }
.finish-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.finish-content p { font-size: 0.85rem; color: var(--text-muted); }
.finish-date { font-size: 0.75rem; color: var(--primary); margin-top: 6px; display: block; }

/* 本周热播榜 */
.hot-section { background: #1a1a24; }
.hot-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hot-item { display: flex; gap: 16px; background: #2a2a35; padding: 12px; border-radius: var(--radius); }
.hot-rank { font-size: 1.5rem; font-weight: bold; color: var(--primary); width: 30px; text-align: center; }
.hot-item img { width: 80px; aspect-ratio: 3/4; border-radius: 8px; }
.hot-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hot-info p { font-size: 0.85rem; color: var(--text-muted); }

/* 用户神评 */
.review-section { background: #121212; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card { background: #1e1e24; padding: 16px; border-radius: var(--radius); display: flex; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.review-avatar img { width: 100%; height: 100%; border-radius: 50%; }
.review-content { flex: 1; }
.review-content h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 4px; }
.review-content p { font-size: 0.85rem; color: var(--text-muted); }

/* 会员权益 */
.vip-section { background: #1a1a24; }
.vip-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.vip-card { background: linear-gradient(135deg, #2a2a35, #1e1e24); padding: 20px; border-radius: var(--radius); border: 1px solid #444; }
.vip-card h3 { color: #ffd700; margin-bottom: 10px; font-size: 1.2rem; }
.vip-card ul { list-style: none; color: var(--text-muted); font-size: 0.9rem; }
.vip-card li { margin-bottom: 8px; display: flex; gap: 8px; }

/* 隐私安全 */
.privacy-section { background: #121212; }
.privacy-content { display: flex; flex-direction: column; gap: 20px; }
.privacy-text { background: #1e1e24; padding: 20px; border-radius: var(--radius); }
.privacy-text h3 { margin-bottom: 10px; color: var(--primary); }
.privacy-text p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.privacy-img { width: 100%; border-radius: var(--radius); max-height: 300px; object-fit: cover; }

/* 意见反馈 & 常见问题 */
.faq-section { background: #1a1a24; }
.faq-item { background: #2a2a35; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; }
.faq-q { padding: 16px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 16px 16px; color: var(--text-muted); font-size: 0.9rem; display: none; }
.faq-item.active .faq-a { display: block; }

/* 下载专区 */
.download-section { background: #121212; text-align: center; }
.download-box { background: #1e1e24; padding: 30px 20px; border-radius: var(--radius); max-width: 600px; margin: 0 auto; }
.download-box img { width: 100%; max-width: 300px; border-radius: var(--radius); margin: 0 auto 20px; }
.step-list { text-align: left; margin-bottom: 24px; }
.step-list p { font-size: 0.9rem; margin-bottom: 8px; color: var(--text-muted); }
.step-list span { color: var(--primary); font-weight: bold; margin-right: 6px; }

/* 悬浮下载窗口 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 36, 0.95);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  width: 90%;
  max-width: 400px;
  justify-content: space-between;
}
.floating-download img { width: 32px; height: 32px; border-radius: 6px; }
.floating-download .fl-text { flex: 1; text-align: left; }
.floating-download .fl-title { font-size: 0.85rem; font-weight: bold; }
.floating-download .fl-desc { font-size: 0.7rem; color: var(--text-muted); }
.floating-download .btn-small { padding: 6px 12px; font-size: 0.8rem; border-radius: 20px; background: var(--primary); color: white; }

/* 页脚 */
footer {
  background: #0a0a0c;
  padding: 30px 16px;
  text-align: center;
  color: #666;
  font-size: 0.8rem;
}
footer a { color: #888; }
footer .footer-links { margin: 10px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
footer .copyright { margin-top: 10px; font-size: 0.75rem; }

/* 弹窗（百度APP提示） */
.overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); z-index: 1000;
  display: none; justify-content: center; align-items: center;
}
.overlay.active { display: flex; }
.modal {
  background: #1e1e24; padding: 24px; border-radius: var(--radius);
  max-width: 90%; width: 400px; text-align: center; color: white;
}
.modal p { margin-bottom: 16px; font-size: 0.95rem; }
.modal input {
  width: 100%; padding: 10px; margin-bottom: 16px; border-radius: 6px;
  border: 1px solid #444; background: #121212; color: #fff; text-align: center;
}
.modal .btn-close { background: #444; border: none; padding: 10px 20px; border-radius: 6px; color: white; cursor: pointer; }

/* 响应式断点 */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.1rem; }
  .hero-img-box { max-width: 200px; }
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .finish-list { flex-direction: row; flex-wrap: wrap; }
  .finish-item { flex: 1 1 45%; }
  .hot-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-content { flex-direction: row; align-items: flex-start; }
  .privacy-text { flex: 1; }
  .privacy-img { flex: 1; width: 50%; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .mod-grid { grid-template-columns: repeat(5, 1fr); }
  .hot-list { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .vip-grid { grid-template-columns: repeat(3, 1fr); }
  .download-group .btn { padding: 12px 30px; font-size: 1.1rem; }
}