:root {
  --bg-color: #0c0c0f;
  --surface-color: #16161c;
  --surface-hover: #1f1f26;
  --text-primary: #f2f2f5;
  --text-secondary: #a3a3b0;
  --accent-color: #d9384a;
  --accent-hover: #f24e62;
  --border-color: #2a2a35;
  --nav-height: 64px;
  --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
section { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
.section-label {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title { font-size: 2.2rem; margin-bottom: 16px; }
.section-desc { color: var(--text-secondary); max-width: 600px; font-size: 1.05rem; }

/* 导航 */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-height);
  background: rgba(12, 12, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(12, 12, 15, 0.95);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: none; gap: 24px; font-size: 0.95rem; color: var(--text-secondary); }
.nav-links a { transition: var(--transition); }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent-color); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--text-secondary); background: var(--surface-hover); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.menu-toggle { display: block; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; width: 100%; height: calc(100vh - var(--nav-height));
  background: var(--bg-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 999;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.mobile-menu .btn { width: 100%; margin-top: 10px; }

/* 首屏 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  opacity: 0.25;
  filter: grayscale(40%) contrast(120%);
  z-index: 0;
  transform: scale(1.05);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(12,12,15,0.4) 0%, rgba(12,12,15,0.9) 80%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.tagline {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(217, 56, 74, 0.15);
  color: var(--accent-color);
  border: 1px solid rgba(217, 56, 74, 0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.hero h1 { font-size: 3rem; margin-bottom: 24px; letter-spacing: -1px; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 60px; }
.hero-btns .btn { padding: 14px 32px; font-size: 1.1rem; border-radius: 30px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; color: var(--text-secondary); font-size: 0.9rem; }
.hero-stats span { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { color: var(--text-primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }

/* 滚动文字带 */
.marquee-wrap {
  background: var(--surface-color);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
}
.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
}
.marquee-content span { margin: 0 24px; font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 1px; }
.marquee-content span::after { content: '✦'; margin-left: 24px; color: var(--accent-color); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 优势 */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 32px; }
.feature-item { display: flex; gap: 20px; }
.feature-num { font-size: 2rem; font-weight: 800; color: var(--accent-color); line-height: 1; opacity: 0.8; }
.feature-text h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature-text p { color: var(--text-secondary); }
.feature-image { position: relative; border-radius: 16px; overflow: hidden; }
.feature-image img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.5s ease; }
.feature-image:hover img { transform: scale(1.05); }

/* 热播剧场 */
.theater { background: var(--bg-color); }
.theater-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.scroll-container::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 280px;
  background: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.card:hover { transform: translateY(-8px); background: var(--surface-hover); }
.card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600;
}
.card-info { padding: 16px; }
.card-info h3 { font-size: 1.1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.6em; }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-secondary); }
.card-btn { color: var(--accent-color); font-weight: 600; }

/* 追剧日历 */
.calendar { background: var(--surface-color); }
.timeline { max-width: 800px; margin: 40px auto 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border-color);
}
.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: var(--accent-color); border: 2px solid var(--surface-color); box-shadow: 0 0 0 4px var(--surface-color);
}
.timeline-date { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--accent-color); }
.timeline-list { display: flex; flex-direction: column; gap: 12px; }
.timeline-list li { color: var(--text-secondary); font-size: 0.95rem; }

/* 精选专题 */
.topics { position: relative; overflow: hidden; }
.topics-slider { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.topic-slide { min-width: 100%; padding: 0 10px; }
.topic-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
.topic-card img { width: 100%; height: 100%; object-fit: cover; }
.topic-content {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.topic-content h3 { font-size: 2rem; margin-bottom: 10px; }
.topic-content p { color: #ccc; margin-bottom: 20px; max-width: 500px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--accent-color); transform: scale(1.2); }

/* 留言墙 */
.comments { background: var(--surface-color); }
.comments-wall {
  height: 400px; overflow: hidden; position: relative; mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.comments-track { display: flex; flex-direction: column; gap: 16px; animation: scrollUp 20s linear infinite; }
.comments-track:hover { animation-play-state: paused; }
.comment {
  background: var(--bg-color); padding: 16px 20px; border-radius: 12px; border: 1px solid var(--border-color);
}
.comment-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; }
.comment-user { color: var(--accent-color); font-weight: 600; }
.comment-time { color: var(--text-secondary); }
.comment-text { font-size: 0.95rem; color: var(--text-secondary); }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

/* App 体验 */
.app-experience { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.mockups { position: relative; height: 400px; display: flex; justify-content: center; }
.mockup { width: 180px; height: 360px; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: absolute; border: 4px solid var(--border-color); transition: var(--transition); }
.mockup img { width: 100%; height: 100%; object-fit: cover; }
.mockup-1 { transform: translateX(-80px) rotate(-10deg); z-index: 1; }
.mockup-2 { transform: translateY(20px); z-index: 3; }
.mockup-3 { transform: translateX(80px) rotate(10deg); z-index: 2; }
.mockups:hover .mockup-1 { transform: translateX(-120px) rotate(-5deg); }
.mockups:hover .mockup-3 { transform: translateX(120px) rotate(5deg); }
.mockups:hover .mockup-2 { transform: translateY(0) scale(1.05); }
.bubble { position: absolute; top: 20px; right: -20px; background: var(--accent-color); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; animation: float 3s ease-in-out infinite; z-index: 4; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.app-features { display: flex; flex-direction: column; gap: 24px; }
.app-feature { display: flex; gap: 16px; }
.app-feature-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(217, 56, 74, 0.1); color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* 下载区 */
.download-section { background: var(--surface-color); }
.download-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.qr-code { background: #fff; padding: 20px; border-radius: 16px; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.qr-code img { width: 100%; height: 100%; object-fit: contain; }
.steps h3 { font-size: 1.2rem; margin-bottom: 16px; color: var(--accent-color); }
.steps ol { padding-left: 20px; color: var(--text-secondary); }
.steps li { margin-bottom: 12px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 24px 0; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.faq-item p { color: var(--text-secondary); }

/* 底部 CTA */
.bottom-cta { text-align: center; padding: 100px 20px; background: linear-gradient(rgba(12,12,15,0.9), rgba(12,12,15,1)), url('images/01KZ7QD98D4EGH71955798JJAZ.webp') center/cover; }
.bottom-cta h2 { font-size: 2.5rem; margin-bottom: 20px; }
.bottom-cta p { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.1rem; }
.bottom-cta .hero-btns { margin-bottom: 0; }

/* 页脚 */
.footer { padding: 40px 20px; text-align: center; border-top: 1px solid var(--border-color); font-size: 0.85rem; color: var(--text-secondary); }
.footer p { margin-bottom: 10px; }
.footer a { color: var(--text-secondary); text-decoration: underline; }
.footer a:hover { color: var(--text-primary); }

/* 响应式 */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .hero h1 { font-size: 4rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .qr-code { margin: 0; }
  .app-experience { grid-template-columns: 1fr 1fr; }
  .topic-content h3 { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
  .section-title { font-size: 2.5rem; }
}
/* 滚动动画 */
.reveal { transform: translateY(30px); transition: transform 0.8s ease; }
.reveal.active { transform: translateY(0); }