:root {
  --brand: #ff4d4d;
  --brand-dark: #d93636;
  --bg-dark: #121212;
  --text-main: #333333;
  --text-light: #f5f5f5;
  --gray-light: #f9f9f9;
  --border: #eaeaea;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background-color: var(--gray-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header */
header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo-box { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: var(--text-main); }
.logo-box img { height: 32px; border-radius: 6px; }
.nav-links { display: flex; gap: 20px; overflow-x: auto; white-space: nowrap; }
.nav-links a { font-size: 15px; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.mobile-menu-btn { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }

/* Hero */
.hero { background-color: var(--bg-dark); color: var(--text-light); padding: 60px 20px; text-align: center; position: relative; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 32px; margin-bottom: 20px; font-weight: 800; line-height: 1.3; }
.hero p { font-size: 16px; color: #aaa; margin-bottom: 30px; }
.hero-gallery { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-gallery img { width: 140px; height: 200px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: transform 0.3s; }
.hero-gallery img:hover { transform: translateY(-10px); }
.download-btns { display: flex; justify-content: center; gap: 20px; }
.btn { padding: 12px 30px; border-radius: 30px; font-weight: bold; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.3s; }
.btn-android { background-color: var(--brand); color: #fff; }
.btn-android:hover { background-color: var(--brand-dark); }
.btn-ios { background-color: #fff; color: var(--text-main); }
.btn-ios:hover { background-color: #eee; }

/* Marquee */
.marquee-wrap { background: linear-gradient(90deg, #ff4d4d, #ff7676); color: #fff; padding: 10px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; font-weight: bold; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections Global */
section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 26px; font-weight: bold; margin-bottom: 30px; text-align: center; }
.section-title h2 { margin-bottom: 10px; }
.section-title p { font-size: 15px; color: #666; font-weight: normal; }

/* Section Colors */
.sec-zhenren { background-color: #fff; }
.sec-mogai { background-color: #f0f4f8; }
.sec-rebo { background-color: #fff4e6; }
.sec-dianping { background-color: #fdf2f8; }
.sec-huiyuan { background-color: #eef2ff; }
.sec-yinsi { background-color: #f0fdf4; }

/* Zhenren Section (Cards) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.drama-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s; }
.drama-card:hover { transform: translateY(-5px); }
.drama-card img { width: 100%; height: 300px; object-fit: cover; }
.card-info { padding: 15px; }
.card-info h3 { font-size: 16px; margin-bottom: 8px; }
.card-tags { font-size: 12px; color: var(--brand); margin-bottom: 8px; }
.card-desc { font-size: 13px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-date { font-size: 12px; color: #999; margin-top: 8px; }

/* Mogai Section (Left Image Right Text) */
.split-layout { display: flex; gap: 40px; align-items: center; }
.split-img { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.split-text { flex: 1; }
.split-list li { margin-bottom: 15px; padding-left: 20px; position: relative; }
.split-list li::before { content: "•"; color: var(--brand); font-size: 20px; position: absolute; left: 0; top: -2px; }
.split-list h3 { font-size: 15px; margin-bottom: 4px; }
.split-list p { font-size: 13px; color: #555; }

/* Timeline */
.timeline-list { position: relative; padding-left: 30px; }
.timeline-list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #ffd1d1; }
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; }
.timeline-time { font-weight: bold; color: var(--brand); font-size: 14px; margin-bottom: 5px; }

/* Reviews */
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-item { background: #fff; padding: 15px; border-radius: 12px; display: flex; gap: 15px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-content h4 { font-size: 14px; margin-bottom: 5px; }
.review-content p { font-size: 13px; color: #555; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 10px; padding: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.faq-q { font-weight: bold; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: #666; }

/* Download Area */
.download-area { background: #222; color: #fff; text-align: center; padding: 60px 20px; }
.steps { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; text-align: left; }
.step-box { background: #333; padding: 20px; border-radius: 12px; width: 300px; }
.step-box h4 { margin-bottom: 10px; color: var(--brand); }
.step-box ol { padding-left: 20px; font-size: 14px; color: #ccc; }

/* Footer */
footer { background: #111; color: #777; padding: 40px 20px 80px; font-size: 13px; text-align: center; }
footer a { color: #777; }
footer a:hover { color: #fff; }

/* Floating Download */
.float-download { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 40px; padding: 8px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); z-index: 1000; }
.float-download img { height: 28px; border-radius: 6px; }
.float-text { font-size: 12px; color: #333; display: none; }
.float-btns { display: flex; gap: 10px; }
.float-btns a { font-size: 13px; padding: 6px 12px; border-radius: 20px; font-weight: bold; }
.float-btns .btn-android { background: var(--brand); color: #fff; }
.float-btns .btn-ios { background: #333; color: #fff; }

@media (min-width: 768px) {
  .hero h1 { font-size: 40px; }
  .float-text { display: block; max-width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .split-layout { flex-direction: column; }
  .review-list { grid-template-columns: 1fr; }
  .hero-gallery { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; }
  .hero-gallery img { flex: 0 0 auto; }
  .download-btns { flex-direction: column; align-items: center; }
  .download-btns .btn { width: 100%; max-width: 300px; }
}