:root {
  --bg-dark: #0f1015;
  --bg-card: #181a22;
  --bg-light: #f4f5f9;
  --primary: #ff3b5c;
  --primary-hover: #e63550;
  --text-main: #1d1f26;
  --text-light: #8a8d9a;
  --border: #e2e4eb;
  --gradient-pink: linear-gradient(90deg, #ff3b5c, #ff8a3c, #ff3b5c);
}
* { 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-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px; }
.logo-wrap img { height: 32px; border-radius: 6px; }
.nav-menu { display: flex; gap: 24px; font-weight: 500; font-size: 15px; }
.nav-link { position: relative; padding: 4px 0; color: var(--text-main); transition: color 0.3s; }
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; background: none; border: none; color: var(--text-main); }

/* Hero Section */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content h1 { font-size: 42px; line-height: 1.2; margin-bottom: 16px; font-weight: 800; }
.hero-content p { font-size: 18px; color: #aeb3c2; margin-bottom: 30px; }
.download-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 30px;
  font-weight: 600; font-size: 15px; transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-gallery { display: flex; gap: 16px; justify-content: center; align-items: center; }
.hero-gallery img {
  width: 120px; height: 180px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-gallery img:hover { transform: translateY(-8px); }

/* Marquee */
.marquee {
  background: var(--gradient-pink);
  background-size: 200% 200%;
  animation: gradShift 3s linear infinite;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.marquee-inner { display: inline-block; animation: scrollLeft 20s linear infinite; }
.marquee-inner span { margin-right: 40px; }
@keyframes gradShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* General Section */
.section { padding: 80px 20px; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; text-align: center; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 40px; }

/* AI 魔改 */
.ai-mod { background: #eef0f7; }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.ai-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--primary);
}
.ai-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.ai-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--primary); }
.ai-card p { font-size: 15px; color: #555; }

/* 魔改短剧 */
.drama-list { background: #fff; }
.drama-row { display: flex; gap: 30px; margin-bottom: 40px; align-items: flex-start; }
.drama-row:nth-child(even) { flex-direction: row-reverse; }
.drama-img { width: 240px; flex-shrink: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.drama-info { flex: 1; }
.drama-info h3 { font-size: 24px; margin-bottom: 10px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: #f0f2f5; padding: 4px 12px; border-radius: 20px; font-size: 13px; color: #666; font-weight: 500; }
.drama-desc { color: #555; line-height: 1.7; margin-bottom: 16px; }
.drama-meta { font-size: 13px; color: #999; }

/* 热播魔改剧 */
.hot-dramas { background: #fdf6f7; }
.hot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.hot-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.hot-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hot-card-content { padding: 12px; }
.hot-card-content h3 { font-size: 16px; margin-bottom: 4px; }
.hot-card-content p { font-size: 12px; color: var(--text-light); }

/* 今日热播榜 */
.timeline-section { background: #20222a; color: #fff; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--primary); }
.timeline-item { margin-bottom: 30px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -24px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.time-label { font-size: 18px; font-weight: bold; color: var(--primary); margin-bottom: 4px; }
.time-desc { font-size: 15px; color: #aeb3c2; }

/* 会员权益 & 隐私安全 & 意见反馈 & FAQ */
.vip { background: #fff; }
.vip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.vip-item { text-align: center; padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.vip-item h3 { font-size: 18px; margin-bottom: 8px; color: #d4a017; }
.vip-item p { font-size: 14px; color: #666; }

.privacy { background: #f0f4f8; }
.privacy-content { display: flex; gap: 40px; align-items: center; }
.privacy-text { flex: 1; }
.privacy-text h3 { font-size: 22px; margin-bottom: 16px; }
.privacy-text ul { display: flex; flex-direction: column; gap: 12px; }
.privacy-text li { display: flex; align-items: flex-start; gap: 10px; color: #555; }
.privacy-img { width: 300px; flex-shrink: 0; border-radius: 16px; overflow: hidden; }

.feedback { background: #fff; }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.feedback-form { background: #f9f9f9; padding: 24px; border-radius: 12px; }
.feedback-form h3 { margin-bottom: 16px; }
.feedback-form p { color: #666; font-size: 14px; margin-bottom: 20px; }
.feedback-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feedback-item { display: flex; gap: 12px; background: #f9f9f9; padding: 16px; border-radius: 12px; }
.feedback-item img { width: 40px; height: 40px; border-radius: 50%; }

.faq { background: #f4f5f9; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-main); }
.faq-item p { font-size: 15px; color: #666; }

/* Download */
.download-area { background: var(--bg-dark); color: #fff; text-align: center; }
.steps { display: flex; justify-content: center; gap: 30px; margin: 40px 0; flex-wrap: wrap; }
.step { max-width: 200px; }
.step-num { display: inline-block; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: var(--primary); font-weight: bold; margin-bottom: 12px; }

/* Footer */
.footer { background: #181a22; color: #8a8d9a; padding: 40px 20px 80px; font-size: 13px; text-align: center; }
.footer p { margin-bottom: 10px; }
.footer a { color: #8a8d9a; transition: color 0.2s; }
.footer a:hover { color: #fff; }

/* Floating Download */
.floating-dl {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px; padding: 8px 20px;
  z-index: 999; border: 1px solid var(--border);
  transition: opacity 0.3s;
}
.floating-dl img { width: 32px; height: 32px; border-radius: 6px; }
.floating-dl div h4 { font-size: 14px; font-weight: bold; color: var(--text-main); }
.floating-dl div p { font-size: 11px; color: var(--text-light); }
.floating-dl .btn { padding: 8px 16px; font-size: 13px; border-radius: 20px; }

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .download-btns { justify-content: center; }
  .hero-gallery { margin-top: 30px; }
  .privacy-content { flex-direction: column; }
  .privacy-img { width: 100%; max-width: 400px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .drama-row { flex-direction: column !important; align-items: center; text-align: center; }
  .drama-img { width: 100%; max-width: 300px; }
  .tags { justify-content: center; }
  .drama-meta { text-align: center; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border); }
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: block; }
  .header-container { position: relative; }
  .hero-content h1 { font-size: 28px; }
  .hero-gallery img { width: 80px; height: 120px; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 15px; }
  .section-title { font-size: 24px; }
  .floating-dl { width: calc(100% - 30px); bottom: 15px; padding: 8px 15px; justify-content: space-between; }
}