:root {
  --bg-main: #f7f8fa;
  --text-main: #1a1a1a;
  --text-muted: #555;
  --brand-color: #ff4d4f;
  --brand-gradient: linear-gradient(135deg, #ff6b6b, #c0392b);
  --card-bg: #ffffff;
  --border-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-group { display: flex; align-items: center; gap: 8px; }
.logo-group img { height: 32px; width: auto; border-radius: 6px; }
.logo-group span { font-weight: bold; font-size: 18px; color: #333; }
.nav-links { display: flex; gap: 20px; font-size: 14px; }
.nav-links a:hover { color: var(--brand-color); }

/* Hero Section */
.hero-section {
  padding: 100px 20px 40px;
  background: linear-gradient(180deg, #fff0f0 0%, #f7f8fa 100%);
  text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.download-btn {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(255, 77, 79, 0.3);
  transition: transform 0.2s;
}
.download-btn:hover { transform: translateY(-2px); }

/* Marquee */
.marquee-wrap {
  max-width: 1200px;
  margin: 30px auto 0;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  border-radius: 20px;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  display: inline-block;
  margin: 0 15px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, #ff4e50, #f9d423);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Common Section */
.section-wrap {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.section-header {
  margin-bottom: 24px;
  text-align: center;
}
.section-header h2 {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}
.section-header p {
  font-size: 14px;
  color: #666;
}

/* Watchlist Section (今日上新) */
.daily-update { background: #ffffff; padding: 40px 0; border-radius: 24px; }
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.movie-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.movie-card img { width: 100%; height: 180px; object-fit: cover; }
.movie-info { padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.movie-title { font-size: 15px; font-weight: bold; margin-bottom: 6px; }
.movie-tags { font-size: 12px; color: #888; margin-bottom: 8px; }
.movie-desc { font-size: 12px; color: #555; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.movie-meta { font-size: 11px; color: #aaa; margin-top: 8px; text-align: right; }

/* Interactive Section (互动短剧) */
.interactive-section { background: #f0f4ff; padding: 40px 20px; border-radius: 24px; }
.interactive-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.interactive-item {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid #4a90e2;
}
.interactive-item h3 { font-size: 16px; margin-bottom: 6px; color: #333; }
.interactive-item p { font-size: 13px; color: #666; }

/* Schedule Section (排片时间轴) */
.schedule-section { background: #fffcf0; padding: 40px 20px; border-radius: 24px; }
.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid #e0e0e0;
  margin: 20px 0 0 10px;
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--brand-color);
  border-radius: 50%;
  border: 2px solid #fff;
}
.timeline-time { font-size: 14px; font-weight: bold; color: var(--brand-color); margin-bottom: 4px; }
.timeline-content {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.timeline-content h4 { font-size: 15px; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: #666; }

/* Creation Section (创作者激励) */
.incentive-section { background: #f7f3ff; padding: 40px 20px; border-radius: 24px; }
.incentive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.incentive-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.incentive-card h3 { font-size: 16px; margin-bottom: 6px; color: #5c3cbf; }
.incentive-card p { font-size: 13px; color: #555; }

/* QA Section (常见问题) */
.faq-section { background: #eef8f5; padding: 40px 20px; border-radius: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 8px; padding: 16px; }
.faq-q { font-size: 15px; font-weight: bold; color: #222; margin-bottom: 8px; }
.faq-a { font-size: 13px; color: #666; }

/* Comment Wall */
.comment-section { background: #fff; padding: 40px 20px; border-radius: 24px; }
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { background: #fafafa; padding: 16px; border-radius: 12px; border-left: 3px solid #ffb703; }
.comment-user { font-size: 14px; font-weight: bold; color: #333; margin-bottom: 6px; }
.comment-text { font-size: 13px; color: #555; }

/* Footer */
.site-footer {
  background: #222;
  color: #888;
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
}
.site-footer a { color: #aaa; }
.site-footer a:hover { color: #fff; }

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 77, 79, 0.4);
  z-index: 999;
  white-space: nowrap;
}
.floating-download img { width: 24px; height: 24px; border-radius: 4px; }


/* Responsive */
@media (min-width: 768px) {
  .hero-content h1 { font-size: 40px; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .movie-card img { height: 220px; }
  .incentive-grid { grid-template-columns: repeat(2, 1fr); }
  .interactive-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: flex; }
}

@media (min-width: 1024px) {
  .hero-content h1 { font-size: 48px; }
  .grid-cards { grid-template-columns: repeat(5, 1fr); }
  .movie-card img { height: 260px; }
  .incentive-grid { grid-template-columns: repeat(3, 1fr); }
  .interactive-list { grid-template-columns: repeat(3, 1fr); }
  .hero-section { padding-top: 120px; }
}