:root {
  --bg-dark: #0f111a;
  --bg-panel: #1a1c29;
  --bg-card: #232536;
  --text-main: #f0f2f5;
  --text-muted: #a0a5b8;
  --accent-pink: #ff3b7f;
  --accent-blue: #3b82f6;
  --accent-gold: #fbbf24;
  --border-color: rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; text-align: center; }
.section-desc { font-size: 0.95rem; color: var(--text-muted); text-align: center; margin-bottom: 40px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 17, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: none; gap: 20px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); }
.nav-toggle { display: block; background: none; border: none; color: var(--text-main); font-size: 1.2rem; cursor: pointer; }

/* Hero */
.hero {
  padding: 60px 0 40px;
  background: radial-gradient(circle at 50% 0%, #2a1b30 0%, var(--bg-dark) 70%);
  position: relative;
  overflow: hidden;
}
.hero-content { text-align: center; position: relative; z-index: 2; }
.hero h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 16px; font-weight: 800; }
.hero h1 span { color: var(--accent-pink); }
.hero-desc { font-size: 1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.btn-download {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 30px; font-size: 1.05rem; font-weight: 700;
  transition: transform 0.2s, opacity 0.2s; width: 100%; max-width: 300px;
}
.btn-download:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-android { background: linear-gradient(135deg, #28a745, #1e7e34); color: #fff; }
.btn-ios { background: linear-gradient(135deg, #333, #111); border: 1px solid #444; color: #fff; }
.btn-other { background: linear-gradient(135deg, var(--accent-blue), #2563eb); color: #fff; }

/* Dynamic Carousel */
.carousel-wrapper { margin-top: 50px; position: relative; overflow: hidden; padding: 10px 0; }
.carousel-track { display: flex; gap: 16px; width: max-content; animation: scrollX 30s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
.poster-card {
  width: 160px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden;
  position: relative; background: var(--bg-card);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.poster-card img { width: 100%; height: 240px; object-fit: cover; }
.poster-card .info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  font-size: 0.85rem; font-weight: 600;
}
@keyframes scrollX { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Daily / Sections Common */
.section { padding: 60px 0; }
.bg-alt { background-color: var(--bg-panel); }
.bg-darker { background-color: #0a0b12; }

/* Daily Section */
.daily-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
.daily-left { position: relative; }
.daily-left img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; max-height: 500px; }
.daily-right { display: flex; flex-direction: column; gap: 16px; }
.daily-item {
  display: flex; align-items: center; gap: 16px; background: var(--bg-card);
  padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border-color);
}
.daily-item img { width: 60px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.daily-item-text { flex: 1; }
.daily-item-text h3 { font-size: 1rem; margin-bottom: 4px; }
.daily-item-text p { font-size: 0.8rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-time { font-size: 0.75rem; color: var(--accent-gold); background: rgba(251,191,36,0.1); padding: 2px 8px; border-radius: 10px; display: inline-block; margin-top: 6px; }

/* Premium Section */
.premium-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.premium-card {
  background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-color); transition: transform 0.2s;
}
.premium-card:hover { transform: translateY(-4px); }
.premium-card img { width: 100%; height: 200px; object-fit: cover; }
.premium-info { padding: 12px; }
.premium-info h3 { font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.premium-info p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.badge-row { display: flex; justify-content: space-between; align-items: center; }
.type-tag { font-size: 0.7rem; background: rgba(255,59,127,0.15); color: var(--accent-pink); padding: 2px 6px; border-radius: 4px; }
.date-tag { font-size: 0.7rem; color: var(--text-muted); }

/* Magic Section (Timeline) */
.timeline-container { position: relative; padding-left: 20px; margin-top: 30px; }
.timeline-container::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--accent-pink), var(--accent-blue));
}
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 20px; }
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent-pink); border: 2px solid var(--bg-dark);
}
.timeline-time { font-size: 0.9rem; font-weight: 700; color: var(--accent-blue); margin-bottom: 4px; }
.timeline-content { background: var(--bg-card); padding: 14px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.timeline-content h3 { font-size: 1rem; margin-bottom: 6px; display: flex; justify-content: space-between; }
.timeline-content p { font-size: 0.85rem; color: var(--text-muted); }

/* Original Section (Split) */
.original-split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.original-left { position: relative; }
.original-left img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.original-right { display: flex; flex-direction: column; gap: 12px; }
.original-item {
  background: var(--bg-card); padding: 16px; border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-blue);
}
.original-item h3 { font-size: 1rem; margin-bottom: 6px; }
.original-item p { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ Section */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-md); padding: 18px; border: 1px solid var(--border-color); }
.faq-q { font-weight: 700; margin-bottom: 8px; color: var(--accent-gold); font-size: 1rem; }
.faq-a { font-size: 0.9rem; color: var(--text-muted); }

/* User Reviews */
.review-wall { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card { background: var(--bg-card); padding: 18px; border-radius: var(--radius-md); display: flex; gap: 14px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #333; }
.review-body { flex: 1; }
.review-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; display: flex; justify-content: space-between; }
.review-stars { color: var(--accent-gold); font-size: 0.8rem; }
.review-text { font-size: 0.85rem; color: var(--text-muted); }

/* Privacy & Submit */
.privacy-content { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.privacy-card { background: var(--bg-card); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.privacy-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--accent-blue); }
.privacy-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.submit-box { background: linear-gradient(135deg, rgba(255,59,127,0.1), rgba(59,130,246,0.1)); border: 1px dashed var(--accent-pink); text-align: center; padding: 40px 20px; border-radius: var(--radius-lg); }

/* Platform News */
.news-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.news-item { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.news-title { font-size: 0.95rem; font-weight: 600; }
.news-date { font-size: 0.8rem; color: var(--text-muted); }

/* Download Bottom */
.download-bottom { background: var(--bg-panel); padding: 60px 0; border-top: 1px solid var(--border-color); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
.step-card { background: var(--bg-card); padding: 20px; border-radius: var(--radius-md); text-align: center; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-pink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 12px; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); }
.bottom-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* Footer */
.site-footer { background: var(--bg-dark); padding: 40px 0 30px; border-top: 1px solid var(--border-color); text-align: center; }
.footer-brand { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer-legal { font-size: 0.75rem; color: #666; display: flex; flex-direction: column; gap: 8px; }
.footer-legal a { color: #888; text-decoration: underline; }
.footer-legal a:hover { color: #aaa; }
.update-time { font-size: 0.75rem; color: #555; }

/* Modal for Baidu Wechat */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 999; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: var(--bg-card); padding: 30px 20px; border-radius: var(--radius-lg); max-width: 400px; width: 100%; text-align: center; position: relative; }
.modal-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.modal-url { background: var(--bg-dark); padding: 12px; border-radius: var(--radius-sm); font-size: 0.85rem; word-break: break-all; margin-bottom: 20px; color: var(--accent-blue); }
.modal-btn { background: var(--accent-pink); color: #fff; border: none; padding: 12px 24px; border-radius: 20px; font-size: 1rem; font-weight: 700; width: 100%; cursor: pointer; }
.modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .daily-layout { grid-template-columns: 1fr 1fr; }
  .original-split { grid-template-columns: 1fr 1fr; }
  .review-wall { grid-template-columns: 1fr 1fr; }
  .privacy-content { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .bottom-actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .premium-grid { grid-template-columns: repeat(5, 1fr); }
  .poster-card { width: 200px; }
  .poster-card img { height: 300px; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .daily-layout { grid-template-columns: 300px 1fr; }
  .original-split { grid-template-columns: 350px 1fr; }
}