:root {
  --bg: #0E0E12;
  --card: #17171F;
  --gold: #F5C451;
  --red: #E5484D;
  --text: #F2F2F5;
  --text-muted: #9E9EA8;
  --border: #2A2A35;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 导航 */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s, backdrop-filter 0.3s;
  background-color: transparent;
}
.header.scrolled {
  background-color: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-box { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 32px; width: auto; border-radius: 6px; }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.nav-links { display: none; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-gold { background-color: var(--gold); color: #000; }
.btn-gold:hover { background-color: #E0B040; transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* 菜单按钮 */
.hamburger { display: block; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background-color: var(--text); margin: 5px 0; transition: 0.3s; }

/* 首屏 */
.hero {
  padding: 120px 20px 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 { font-size: 32px; line-height: 1.3; margin-bottom: 20px; }
.hero-sub { color: var(--text-muted); font-size: 16px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }
.stats-row { display: flex; justify-content: center; gap: 40px; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 24px; font-weight: 700; color: var(--gold); }
.stat-desc { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; background-color: var(--border); }

/* 通用区块 */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 26px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.section-desc { color: var(--text-muted); text-align: center; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* 平台介绍 */
.intro-section { display: flex; flex-direction: column; gap: 40px; }
.intro-text h2 { font-size: 24px; margin-bottom: 24px; }
.intro-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }
.intro-text strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 600; }
.intro-img { border-radius: var(--radius); overflow: hidden; background: var(--card); }

/* 功能特色 */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature-card {
  background-color: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(245, 196, 81, 0.4); }
.feature-icon { width: 32px; height: 32px; margin-bottom: 16px; color: var(--gold); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

/* 分类 */
.category-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.category-tag {
  padding: 8px 20px;
  background-color: var(--card);
  border-radius: 99px;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.category-tag:hover, .category-tag.active {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(245, 196, 81, 0.1);
}
.category-img-box { border-radius: var(--radius); overflow: hidden; background: var(--card); }

/* 热门推荐 */
.movie-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.movie-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.movie-cover-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #2A2A35, #17171F);
}
.movie-cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.movie-card:hover .movie-cover-wrap img { transform: scale(1.05); }
.movie-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.movie-badge span { font-size: 12px; padding: 2px 6px; border-radius: 4px; font-weight: 500; }
.badge-year { background: rgba(0,0,0,0.6); color: #fff; backdrop-filter: blur(4px); }
.badge-type { background: var(--red); color: #fff; }
.movie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 18, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.movie-card:hover .movie-overlay { opacity: 1; }
.movie-overlay span { border: 1px solid var(--gold); color: var(--gold); padding: 8px 24px; border-radius: 99px; font-size: 14px; font-weight: 600; }

/* 使用步骤 */
.steps-container { display: flex; flex-direction: column; gap: 32px; align-items: center; position: relative; }
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; width: 100%; max-width: 280px; }
.step-num { font-size: 40px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 12px; font-family: monospace; }
.step-text { font-size: 15px; color: var(--text-muted); }
.step-divider { display: none; }

/* 常见问题 */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.faq-icon { position: relative; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--gold);
  transition: transform 0.3s;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.active .faq-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-item.active .faq-icon::before { transform: translateY(-50%) rotate(180deg); }
.faq-item.active .faq-icon::after { opacity: 0; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-content p { padding-bottom: 20px; color: var(--text-muted); font-size: 14px; }

/* 底部 CTA */
.cta-section { text-align: center; padding: 80px 20px; }
.cta-section h2 { font-size: 28px; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); margin-bottom: 32px; }

/* 页脚 */
.footer { border-top: 1px solid var(--border); padding: 60px 20px 20px; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; }
.footer-col p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 20px; color: #666; font-size: 12px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-bottom a { color: #666; text-decoration: underline; }
.time-text { font-size: 12px; color: #555; }

/* 动画 */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* 断点适配 */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-sub { font-size: 18px; }
  .stats-row { gap: 60px; }
  .stat-num { font-size: 32px; }
  .intro-section { flex-direction: row; align-items: center; }
  .intro-text { flex: 1; }
  .intro-img { flex: 1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps-container { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .step-divider {
    display: block;
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    border-top: 1px dashed var(--border);
    z-index: 1;
  }
  .step-item { max-width: 300px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}