* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #0b0f19; color: #e8edf5; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 通用容器 */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; font-weight: 800; letter-spacing: 1px; }
.section-title p { color: #94a3b8; font-size: 0.95rem; margin-top: 8px; }

/* 头部 */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11, 15, 25, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.brand img { height: 32px; width: 32px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 20px; font-size: 0.9rem; color: #cbd5e1; }
.nav-links a { transition: color 0.2s; position: relative; }
.nav-links a:hover { color: #ff4d6d; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #ff4d6d; transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* 首屏 */
.hero { background: linear-gradient(135deg, #1a1025 0%, #0b0f19 100%); padding: 60px 0 80px; position: relative; }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1 1 400px; }
.hero-text h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; font-weight: 900; }
.hero-text h1 span { background: linear-gradient(90deg, #ff4d6d, #ff9a3c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }
.hero-stats { display: flex; gap: 20px; margin-bottom: 30px; }
.stat-item { background: rgba(255,255,255,0.05); padding: 10px 18px; border-radius: 8px; text-align: center; }
.stat-item strong { display: block; font-size: 1.2rem; color: #ff4d6d; }
.stat-item span { font-size: 0.8rem; color: #94a3b8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 77, 109, 0.3); }
.btn-primary { background: linear-gradient(90deg, #ff4d6d, #ff7e5f); color: #fff; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-outline:hover { border-color: #ff4d6d; color: #ff4d6d; }

.hero-gallery { flex: 1 1 400px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hero-gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.3s; }
.hero-gallery img:hover { transform: scale(1.05); }

/* 跑马灯 */
.marquee-wrap { overflow: hidden; white-space: nowrap; background: #000; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.marquee { display: inline-block; animation: marquee 20s linear infinite; }
.marquee span { font-size: 1rem; font-weight: 600; background: linear-gradient(90deg, #ff4d6d, #ff9a3c, #00e5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0 20px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 同款魔改 */
.magic-zone { background: #111827; padding: 80px 0; }
.magic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.magic-card { background: #1f2937; border-radius: 16px; overflow: hidden; transition: transform 0.3s; position: relative; }
.magic-card:hover { transform: translateY(-6px); }
.magic-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.magic-card .info { padding: 16px; }
.magic-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.magic-card p { font-size: 0.85rem; color: #94a3b8; }
.magic-card .tag { position: absolute; top: 12px; right: 12px; background: #ff4d6d; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; font-weight: bold; }

/* 完结魔改剧 */
.finished-zone { background: #0b0f19; padding: 80px 0; }
.finished-layout { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.finished-sidebar { flex: 1 1 300px; }
.finished-sidebar img { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
.finished-list { flex: 2 1 500px; display: flex; flex-direction: column; gap: 16px; }
.finished-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.finished-item:hover { background: rgba(255,255,255,0.06); }
.finished-item h4 { font-size: 1rem; font-weight: 500; }
.finished-item span { font-size: 0.8rem; color: #ff4d6d; font-weight: 600; }

/* 本周热播榜 */
.rank-zone { background: #1a1025; padding: 80px 0; }
.rank-list { display: grid; gap: 12px; }
.rank-row { display: flex; align-items: center; gap: 16px; background: #0b0f19; padding: 16px 20px; border-radius: 12px; border-left: 4px solid #2d3748; }
.rank-row:nth-child(1) { border-left-color: #ff4d6d; }
.rank-row:nth-child(2) { border-left-color: #ff9a3c; }
.rank-row:nth-child(3) { border-left-color: #ffd700; }
.rank-num { font-size: 1.5rem; font-weight: 900; color: #4a5568; width: 40px; }
.rank-row:nth-child(1) .rank-num { color: #ff4d6d; }
.rank-row:nth-child(2) .rank-num { color: #ff9a3c; }
.rank-row:nth-child(3) .rank-num { color: #ffd700; }
.rank-title { flex: 1; font-weight: 600; font-size: 1rem; }
.rank-score { color: #ff4d6d; font-weight: bold; font-size: 0.9rem; }

/* 用户神评 */
.review-zone { background: #0d1117; padding: 80px 0; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: #161b22; padding: 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.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 .name { font-weight: 600; font-size: 0.95rem; }
.review-head .time { font-size: 0.75rem; color: #64748b; }
.review-card p { font-size: 0.9rem; color: #cbd5e1; }

/* 会员权益 */
.vip-zone { background: #111827; padding: 80px 0; }
.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.vip-card { background: linear-gradient(145deg, #1f2937, #111827); padding: 24px; border-radius: 16px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.vip-card h3 { font-size: 1.1rem; color: #ffd700; margin-bottom: 12px; }
.vip-card p { font-size: 0.85rem; color: #94a3b8; }

/* 隐私安全 */
.privacy-zone { background: #0b0f19; padding: 80px 0; }
.privacy-content { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.privacy-text { flex: 1 1 400px; }
.privacy-text h2 { font-size: 1.8rem; margin-bottom: 20px; color: #ff4d6d; }
.privacy-text ul { display: flex; flex-direction: column; gap: 12px; }
.privacy-text li { background: rgba(255,255,255,0.03); padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; color: #cbd5e1; border-left: 3px solid #38bdf8; }
.privacy-img { flex: 1 1 300px; }
.privacy-img img { border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }

/* 常见问题 */
.faq-zone { background: #1a1025; padding: 80px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { background: #0b0f19; border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); }
.faq-item h3 { font-size: 1rem; color: #ff4d6d; margin-bottom: 8px; }
.faq-item p { font-size: 0.9rem; color: #cbd5e1; }

/* 下载专区 */
.download-zone { background: linear-gradient(180deg, #0b0f19, #111827); padding: 80px 0; }
.download-box { background: rgba(255,255,255,0.03); border-radius: 24px; padding: 40px; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; border: 1px solid rgba(255,255,255,0.05); }
.download-box img { flex: 0 0 200px; width: 200px; border-radius: 16px; }
.download-info { flex: 1; }
.download-info h2 { font-size: 2rem; margin-bottom: 16px; }
.download-info p { color: #94a3b8; margin-bottom: 24px; font-size: 0.95rem; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step { font-size: 0.85rem; color: #cbd5e1; display: flex; gap: 8px; }
.step span { color: #ff4d6d; font-weight: bold; }

/* 页脚 */
.footer { background: #05080f; padding: 48px 0 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: #fff; }
.footer-col p { font-size: 0.85rem; color: #64748b; margin-bottom: 8px; }
.footer-col a { color: #64748b; font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: #ff4d6d; }
.footer-bottom { text-align: center; font-size: 0.75rem; color: #475569; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom a { color: #475569; margin-left: 8px; }
.footer-bottom a:hover { color: #ff4d6d; }

/* 浮动按钮 */
.float-btn { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 999; background: linear-gradient(90deg, #ff4d6d, #ff7e5f); padding: 12px 24px; border-radius: 30px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px rgba(255, 77, 109, 0.4); color: #fff; font-weight: 600; font-size: 0.9rem; transition: transform 0.2s; }
.float-btn:hover { transform: translateX(-50%) scale(1.05); }
.float-btn img { width: 24px; height: 24px; border-radius: 50%; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-gallery img { height: 200px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: #0b0f19; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero { padding: 40px 0 60px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 1rem; }
  .hero-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-gallery img { height: 140px; }
  .finished-layout { flex-direction: column; }
  .finished-sidebar { flex: 1 1 100%; }
  .download-box { padding: 24px; flex-direction: column; text-align: center; }
  .download-box img { flex: 0 0 auto; width: 160px; }
  .download-actions { justify-content: center; }
  .steps { align-items: center; }
  .float-btn { padding: 10px 20px; font-size: 0.85rem; }
}