:root {
  --brand-main: #ff4d4f;
  --brand-grad: linear-gradient(90deg, #ff4d4f, #ff7a45, #ffc53d, #73d13d, #40a9ff, #9254de, #ff4d4f);
  --text-dark: #1f1f1f;
  --text-light: #595959;
  --bg-1: #fff1f0;
  --bg-2: #f6ffed;
  --bg-3: #e6f7ff;
  --bg-4: #f9f0ff;
  --bg-5: #fffbe6;
  --bg-6: #fff0f6;
  --bg-footer: #141414;
  --radius: 12px;
  --gap: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: var(--text-dark); line-height: 1.6; background: #fff; overflow-x: hidden; padding-bottom: 90px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn-download { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; background: var(--brand-main); color: #fff; border-radius: 30px; font-weight: bold; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-download:hover { background: #fff; color: var(--brand-main); border-color: var(--brand-main); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3); }
.btn-outline { background: transparent; color: var(--brand-main); border: 2px solid var(--brand-main); }
.btn-outline:hover { background: var(--brand-main); color: #fff; }

/* Header */
header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #f0f0f0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: var(--text-dark); }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: none; gap: 20px; }
.nav-links a { font-size: 15px; color: var(--text-light); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--brand-main); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--brand-main); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn { display: block; font-size: 24px; background: none; border: none; color: var(--text-dark); cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; background: #fff; padding: 16px; border-bottom: 1px solid #f0f0f0; }
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 10px 0; border-bottom: 1px solid #f5f5f5; color: var(--text-dark); }
.mobile-menu a:last-child { border-bottom: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #fff1f0 0%, #f6ffed 100%); padding: 60px 0; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.hero-text { flex: 1; text-align: center; }
.hero-text h1 { font-size: 32px; line-height: 1.3; margin-bottom: 16px; color: var(--text-dark); font-weight: 800; }
.hero-text h1 span { color: var(--brand-main); }
.hero-text p { font-size: 16px; color: var(--text-light); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-visual { position: relative; width: 100%; max-width: 400px; height: 450px; margin: 0 auto; }
.hero-card { position: absolute; width: 180px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: all 0.5s ease; }
.hero-card img { width: 100%; height: 260px; object-fit: cover; }
.hero-card:nth-child(1) { top: 10%; left: 0; transform: rotate(-6deg); z-index: 1; }
.hero-card:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); z-index: 2; box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.hero-card:nth-child(3) { top: 15%; right: 0; transform: rotate(6deg); z-index: 1; }
.hero-card:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); z-index: 3; width: 140px; }
.hero-card:nth-child(4) img { height: 200px; }

/* Marquee */
.marquee-wrap { background: #fff; padding: 12px 0; border-bottom: 1px solid #f0f0f0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 18px; font-weight: bold; background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-right: 40px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
section { padding: 60px 0; }
.section-title { font-size: 26px; font-weight: bold; text-align: center; margin-bottom: 30px; color: var(--text-dark); }
.section-desc { text-align: center; color: var(--text-light); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.grid-layout { display: grid; gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.05); transition: transform 0.3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-info h3 { font-size: 18px; margin-bottom: 8px; }
.card-info .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.card-info .tag { font-size: 12px; background: var(--bg-1); color: var(--brand-main); padding: 2px 8px; border-radius: 4px; }
.card-info .date { font-size: 12px; color: #999; margin-top: auto; }
.card-info p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }

/* Section 1: 真人短剧 (Timeline vertical) */
.bg-zhenren { background-color: var(--bg-2); }
.timeline-v { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-v::before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px; background: #d9f7be; }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: 14px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #52c41a; border: 3px solid #fff; box-shadow: 0 0 0 2px #d9f7be; }
.timeline-time { font-size: 18px; font-weight: bold; color: #52c41a; margin-bottom: 10px; }
.timeline-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.05); display: flex; gap: 16px; align-items: flex-start; }
.timeline-card img { width: 100px; height: 140px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.timeline-card-content { flex: 1; }
.timeline-card-content h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-card-content p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.timeline-card-content .meta { font-size: 12px; color: #999; }

/* Section 2: 完结魔改剧 (Left image right text) */
.bg-mogai { background-color: var(--bg-4); }
.mogai-layout { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.mogai-img { flex: 1; max-width: 300px; width: 100%; }
.mogai-img img { width: 100%; border-radius: var(--radius); height: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.mogai-list { flex: 2; display: grid; gap: 16px; }
.mogai-item { background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.2s; }
.mogai-item:hover { transform: translateX(5px); }
.mogai-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-dark); }
.mogai-item p { font-size: 14px; color: var(--text-light); }

/* Section 3: 本周热播榜 (Horizontal list + rankings) */
.bg-rebo { background-color: var(--bg-3); }
.rank-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.rank-item { display: flex; align-items: center; gap: 16px; background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.rank-num { font-size: 24px; font-weight: bold; color: #faad14; width: 30px; text-align: center; flex-shrink: 0; }
.rank-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 16px; margin-bottom: 4px; }
.rank-info p { font-size: 13px; color: var(--text-light); }
.rank-info .date { font-size: 12px; color: #999; margin-top: 4px; display: block; }

/* Section 4: 热门点评 (Masonry-ish) */
.bg-dianping { background-color: var(--bg-5); }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0,0,0,0.05); display: flex; gap: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-body h4 { font-size: 15px; margin-bottom: 4px; color: var(--text-dark); }
.review-body p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.review-body .review-meta { font-size: 12px; color: #999; }

/* Section 5: 会员权益 (Cards horizontal) */
.bg-huiyuan { background-color: var(--bg-6); }
.vip-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.vip-card { background: linear-gradient(135deg, #fff, #fff0f6); padding: 24px; border-radius: var(--radius); text-align: center; border: 1px solid #ffd6e7; }
.vip-card h3 { font-size: 18px; color: #eb2f96; margin-bottom: 12px; }
.vip-card p { font-size: 14px; color: var(--text-light); }

/* Section 6: 隐私安全 (Horizontal steps) */
.bg-yinsi { background-color: #fafafa; }
.privacy-steps { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.privacy-step { display: flex; gap: 16px; background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.step-icon { width: 40px; height: 40px; background: #e6f7ff; color: #1890ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; flex-shrink: 0; }
.step-content h3 { font-size: 16px; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-light); }

/* Section 7: 意见反馈 (FAQ style) */
.bg-fankui { background-color: var(--bg-1); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.faq-q { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: var(--text-dark); }
.faq-a { font-size: 14px; color: var(--text-light); }

/* Section 8: 常见问题 (Two columns) */
.bg-changjian { background-color: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.faq-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.faq-card h3 { font-size: 16px; margin-bottom: 8px; color: #389e0d; }
.faq-card p { font-size: 14px; color: var(--text-light); }

/* Section 9: 未成年保护 (Vertical timeline) */
.bg-weicheng { background-color: var(--bg-4); }
.teen-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.teen-timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 2px; background: #efdbff; }
.teen-item { position: relative; padding-left: 60px; margin-bottom: 30px; }
.teen-item::before { content: ''; position: absolute; left: 14px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #722ed1; border: 3px solid #fff; box-shadow: 0 0 0 2px #efdbff; }
.teen-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.teen-card h3 { font-size: 16px; margin-bottom: 8px; color: #531dab; }
.teen-card p { font-size: 14px; color: var(--text-light); }

/* Download Section */
.bg-download { background: #fff; }
.download-layout { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.download-text { flex: 1; text-align: center; }
.download-text h2 { font-size: 28px; margin-bottom: 16px; }
.download-text p { color: var(--text-light); margin-bottom: 24px; }
.download-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-img { flex: 1; max-width: 300px; width: 100%; }
.download-img img { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.install-steps { display: grid; gap: 16px; text-align: left; margin-top: 24px; background: #fafafa; padding: 20px; border-radius: var(--radius); }
.install-steps h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-dark); }
.install-steps ol { padding-left: 20px; font-size: 14px; color: var(--text-light); }
.install-steps li { margin-bottom: 6px; }

/* Footer */
footer { background: var(--bg-footer); color: #888; padding: 40px 0 20px; font-size: 13px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer-brand p { margin-bottom: 8px; }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #888; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-copyright { border-top: 1px solid #333; padding-top: 20px; width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-copyright a { color: #888; }
.footer-copyright a:hover { color: #fff; }
.update-time { font-size: 12px; color: #555; }

/* Floating Download */
.floating-download { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 12px 20px; border-radius: 50px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 16px; z-index: 999; width: calc(100% - 40px); max-width: 600px; border: 1px solid #f0f0f0; }
.float-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.float-info { flex: 1; min-width: 0; }
.float-info h4 { font-size: 14px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-info p { font-size: 12px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-btns { display: flex; gap: 8px; flex-shrink: 0; }
.float-btns a { padding: 8px 16px; font-size: 13px; border-radius: 20px; background: var(--brand-main); color: #fff; transition: background 0.2s; }
.float-btns a:hover { background: #d9363e; }

/* Responsive */
@media (min-width: 768px) {
  .hero-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .hero-text { text-align: left; }
  .hero-text p { margin-left: 0; }
  .hero-btns { justify-content: flex-start; }
  .hero-visual { width: 45%; height: 500px; }
  .hero-card { width: 200px; }
  .hero-card img { height: 280px; }
  .hero-card:nth-child(4) { width: 160px; }
  .hero-card:nth-child(4) img { height: 220px; }

  .grid-layout { grid-template-columns: repeat(2, 1fr); }
  .rank-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }

  .mogai-layout { flex-direction: row; align-items: flex-start; }
  .mogai-img { position: sticky; top: 100px; }

  .download-layout { flex-direction: row; text-align: left; }
  .download-text { text-align: left; }
  .download-btns { justify-content: flex-start; }

  .floating-download { bottom: 30px; padding: 16px 28px; gap: 20px; }
  .float-info h4 { font-size: 16px; }
  .float-info p { font-size: 13px; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .section-title { font-size: 32px; }
  .hero-text h1 { font-size: 44px; }
  .hero-visual { width: 50%; height: 550px; }
  .hero-card { width: 240px; }
  .hero-card img { height: 340px; }
  .hero-card:nth-child(4) { width: 180px; }
  .hero-card:nth-child(4) img { height: 250px; }
  .grid-layout { grid-template-columns: repeat(3, 1fr); }
  .rank-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .vip-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: repeat(3, 1fr); }
}