:root {
  --bg-main: #f7f4ef;
  --text-main: #2c2c2c;
  --text-muted: #666;
  --accent-pink: #ff6b8b;
  --accent-blue: #4a6fa5;
  --accent-gold: #e6a23c;
  --card-bg: #ffffff;
  --border-color: #e8e4dc;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-blue);
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 24px; }
.nav-desktop a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-desktop a:hover { color: var(--accent-pink); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: width 0.2s;
}
.nav-desktop a:hover::after { width: 100%; }
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-main);
  cursor: pointer;
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.nav-mobile.active { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 12px; padding: 10px 0; }
.nav-mobile a { font-size: 1rem; color: var(--text-main); }

@media (min-width: 768px) {
  .nav-desktop { display: block; }
  .mobile-menu-btn { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #fff0f3 0%, #f7f4ef 100%);
  padding: 40px 20px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero-text { text-align: center; }
.hero-text h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #1a1a1a;
}
.hero-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.btn-download {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-blue);
  transition: transform 0.2s, opacity 0.2s;
}
.btn-download:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-download.android { background: #3ddc84; color: #1a1a1a; }
.btn-download.ios { background: #333; }
.btn-download.web { background: var(--accent-pink); }
.btn-download.harmony { background: #007aff; }

.hero-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-img-wrap {
  width: 120px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.hero-img-wrap:hover { transform: scale(1.05); }
.hero-img-wrap img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; }

@media (min-width: 768px) {
  .hero-text h1 { font-size: 2.4rem; }
  .hero-images { gap: 24px; }
  .hero-img-wrap { width: 180px; }
}
@media (min-width: 1024px) {
  .hero-inner { flex-direction: row; align-items: center; text-align: left; gap: 60px; }
  .hero-text { flex: 1; text-align: left; }
  .download-btns { justify-content: flex-start; }
  .hero-images { flex: 1; justify-content: flex-end; }
}

/* Marquee */
.marquee-section {
  background: #1a1a1a;
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marquee 15s linear infinite;
  font-size: 1.1rem;
  font-weight: 700;
}
.marquee-content span {
  margin-right: 30px;
  background: linear-gradient(90deg, #ff6b8b, #e6a23c, #4a6fa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section { padding: 50px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #1a1a1a;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Section 1: Same Novel */
.section-novel { background: #fff; }
.novel-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.novel-card {
  background: #fdfbf7;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border-color);
}
.novel-card h3 { color: var(--accent-blue); margin-bottom: 10px; font-size: 1.1rem; }
.novel-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 8px; }
@media (min-width: 768px) {
  .novel-grid { grid-template-columns: 1fr 1fr; }
}

/* Section 2: AI Short Drama */
.section-ai { background: #eef3f9; }
.ai-layout { display: flex; flex-direction: column; gap: 30px; }
.ai-image { flex: 1; text-align: center; }
.ai-image img { max-width: 260px; margin: 0 auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.ai-content { flex: 1; }
.ai-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-list li { background: #fff; padding: 12px; border-radius: 8px; font-size: 0.9rem; border-left: 3px solid var(--accent-blue); }
@media (min-width: 768px) {
  .ai-layout { flex-direction: row; align-items: center; }
  .ai-image { flex: 0 0 35%; }
  .ai-content { flex: 1; }
}

/* Section 3: Completed Drama */
.section-completed { background: #fdf5e6; }
.completed-list { display: flex; flex-direction: column; gap: 15px; }
.completed-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.completed-item img { width: 100%; height: 180px; object-fit: cover; }
.completed-info { padding: 15px; }
.completed-info h3 { margin-bottom: 8px; font-size: 1.1rem; color: var(--accent-gold); }
.completed-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }
.tag { display: inline-block; padding: 2px 8px; background: #f0f0f0; border-radius: 4px; font-size: 0.8rem; color: #666; margin-right: 5px; margin-top: 5px; }
@media (min-width: 768px) {
  .completed-list { display: grid; grid-template-columns: 1fr 1fr; }
  .completed-item { flex-direction: row; }
  .completed-item img { width: 140px; height: auto; }
}

/* Section 4: Ranking */
.section-ranking { background: #f0f4f8; }
.ranking-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
.ranking-card {
  background: #fff;
  padding: 15px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 15px;
}
.ranking-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #dcdcdc;
  width: 40px;
  text-align: center;
}
.ranking-num.top-3 { color: var(--accent-pink); }
.ranking-info h3 { font-size: 1rem; margin-bottom: 4px; }
.ranking-info p { font-size: 0.85rem; color: var(--text-muted); }
@media (min-width: 768px) {
  .ranking-container { grid-template-columns: 1fr 1fr; }
}

/* Section 5: Benefits */
.section-benefits { background: #fff5f7; }
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.benefit-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent-pink);
}
.benefit-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.benefit-card p { font-size: 0.9rem; color: var(--text-muted); }
@media (min-width: 768px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }

/* Section 6: Privacy */
.section-privacy { background: #f8f6f0; }
.privacy-content { display: flex; flex-direction: column; gap: 20px; }
.privacy-item { background: #fff; padding: 15px; border-radius: var(--radius); border-left: 4px solid #52c41a; }
.privacy-item h3 { font-size: 1rem; margin-bottom: 5px; }
.privacy-item p { font-size: 0.9rem; color: var(--text-muted); }
@media (min-width: 768px) { .privacy-content { display: grid; grid-template-columns: 1fr 1fr; } }

/* Section 7: Feedback */
.section-feedback { background: #e6f7ff; }
.feedback-content { text-align: center; background: #fff; padding: 30px; border-radius: var(--radius); max-width: 600px; margin: 0 auto; }
.feedback-content p { margin-bottom: 15px; color: var(--text-muted); }
.feedback-content .contact-ways { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-weight: 600; color: var(--accent-blue); }

/* Section 8: FAQ */
.section-faq { background: #f9f9f9; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
.faq-question {
  padding: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); transition: transform 0.2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 15px 15px; color: var(--text-muted); font-size: 0.9rem; }
.faq-item.active .faq-answer { display: block; }

/* Section 9: Timeline */
.section-timeline { background: #2c2c2c; color: #fff; }
.section-timeline .section-title { color: #fff; }
.section-timeline .section-subtitle { color: #aaa; }
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline-container::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #555;
}
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.timeline-time { font-size: 0.9rem; color: var(--accent-gold); font-weight: bold; margin-bottom: 4px; }
.timeline-desc { font-size: 0.95rem; color: #ddd; }
@media (min-width: 768px) {
  .timeline-container { padding-left: 50px; }
  .timeline-container::before { left: 20px; }
  .timeline-item::before { left: -36px; }
}

/* Section 10: Comments */
.section-comments { background: #fff; }
.comments-grid { display: grid; grid-template-columns: 1fr; gap: 15px; max-width: 900px; margin: 0 auto; }
.comment-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-color); }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body p { font-size: 0.9rem; margin-bottom: 4px; }
.comment-user { font-size: 0.8rem; color: #999; }
@media (min-width: 768px) { .comments-grid { grid-template-columns: 1fr 1fr; } }

/* Section 11: Download Zone */
.section-downloads { background: #fff0f3; text-align: center; }
.section-downloads h2 { margin-bottom: 10px; }
.section-downloads p { color: var(--text-muted); margin-bottom: 20px; }
.step-list { display: flex; flex-direction: column; gap: 10px; max-width: 600px; margin: 0 auto 30px; text-align: left; }
.step-item { display: flex; gap: 10px; align-items: center; background: #fff; padding: 12px; border-radius: 8px; font-size: 0.95rem; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.step-num { background: var(--accent-pink); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; }

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--accent-pink);
  border-radius: 30px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255,107,139,0.3);
  z-index: 1000;
  max-width: 90%;
  white-space: nowrap;
}
.floating-download img { height: 32px; width: 32px; border-radius: 6px; }
.floating-info { display: flex; flex-direction: column; }
.floating-info span { font-size: 0.75rem; color: #666; line-height: 1.2; }
.floating-btn {
  background: var(--accent-pink);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 5px;
}

/* Baidu Modal */
.baidu-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.baidu-modal.active { display: flex; }
.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  width: 85%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.modal-content p { margin-bottom: 15px; font-size: 1rem; }
.modal-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  background: #f9f9f9;
  color: #333;
  text-align: center;
  outline: none;
}
.modal-close {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #888;
  padding: 30px 20px;
  font-size: 0.85rem;
  text-align: center;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
.footer-nav a { color: #aaa; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin-bottom: 10px; }
.footer-beian a { color: #888; text-decoration: underline; }
.footer-time { margin-top: 10px; font-size: 0.75rem; color: #555; }