:root {
  --bg-deep: #0d0e15;
  --bg-card: #171927;
  --bg-card-hover: #1f2235;
  --accent: #ffb84d;
  --accent-glow: rgba(255, 184, 77, 0.3);
  --text-main: #f0f2f8;
  --text-sub: #9aa1b8;
  --border: rgba(255, 255, 255, 0.08);
  --font-stack: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-stack);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 21, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--text-sub);
}
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: none; }
@media (min-width: 1024px) {
  .nav-actions { display: flex; gap: 12px; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #ffb84d, #ff8a00);
  color: #1a1000;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 77, 0.5);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 80px 20px 60px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 184, 77, 0.1) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #ffd099);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 900px;
}
.hero p {
  color: var(--text-sub);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 40px;
}
.download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.download-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}
.download-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.download-btn .icon { font-size: 1.5rem; }
.download-btn .text { text-align: left; }
.download-btn .text span { display: block; font-size: 0.75rem; color: var(--text-sub); }
.download-btn .text strong { display: block; font-size: 1rem; color: var(--text-main); }
.hero-media {
  width: 100%;
  max-width: 1000px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
}
.hero-media img { width: 100%; height: auto; max-height: 500px; object-fit: cover; }

/* Common Section Styles */
section { padding: 80px 20px; }
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.section-subtitle {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 48px;
  font-size: 1rem;
}
.grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

/* AI 漫剧专区 */
.ai-drama-section { background: var(--bg-deep); }
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.drama-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.drama-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  border-color: rgba(255, 184, 77, 0.3);
}
.drama-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.drama-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.drama-card:hover .drama-card-img img { transform: scale(1.05); }
.drama-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.drama-info { padding: 16px; }
.drama-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.drama-info p {
  color: var(--text-sub);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.drama-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #666;
}

/* 安装步骤 - 步骤条风格 */
.install-section { background: #11121c; }
.install-steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}
.step-item:last-child { padding-bottom: 0; }
.step-item::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step-item:last-child::before { display: none; }
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  z-index: 1;
}
.step-content {
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-grow: 1;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-main); }
.step-content p { color: var(--text-sub); font-size: 0.95rem; }

/* 常见问题 - 折叠面板风格 */
.faq-section { background: var(--bg-deep); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(255,255,255,0.2); }
.faq-q {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-q::before {
  content: 'Q';
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}
.faq-a {
  color: var(--text-sub);
  font-size: 0.95rem;
  padding-left: 26px;
}

/* 用户热评 - 卡片瀑布 */
.reviews-section { background: #11121c; }
.review-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2c42, #1f2235);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-text {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
}
.review-stars { color: #ffb84d; font-size: 0.8rem; }

/* 隐私安全 - 左右分栏 */
.privacy-section { background: var(--bg-deep); }
.privacy-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) {
  .privacy-container { grid-template-columns: 1fr 1fr; }
}
.privacy-text h2 { font-size: 1.8rem; margin-bottom: 20px; }
.privacy-text p {
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.8;
}
.privacy-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.privacy-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.privacy-features li::before {
  content: '盾';
  background: rgba(255, 184, 77, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}
.privacy-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* 创作者计划 */
.creator-section { background: #11121c; }
.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.creator-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}
.creator-icon { font-size: 2.5rem; margin-bottom: 16px; }
.creator-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.creator-card p { color: var(--text-sub); font-size: 0.9rem; }

/* 交流社区 */
.community-section { background: var(--bg-deep); }
.community-banner {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255,184,77,0.15), rgba(23,25,39,1));
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.community-banner h2 { font-size: 2rem; margin-bottom: 16px; color: var(--accent); }
.community-banner p { color: var(--text-sub); max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem; }
.community-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.community-tag {
  background: rgba(255,255,255,0.05);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.9rem;
  color: var(--text-sub);
  border: 1px solid var(--border);
}

/* 底部下载区 */
.bottom-download {
  background: linear-gradient(to bottom, var(--bg-deep), #000);
  padding: 80px 20px;
  text-align: center;
}
.bottom-download h2 { font-size: 2rem; margin-bottom: 16px; }
.bottom-download p { color: var(--text-sub); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.dl-group-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.install-note {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.install-note h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--text-main); }
.install-note p { color: var(--text-sub); font-size: 0.9rem; line-height: 1.8; }

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: #666;
  font-size: 0.8rem;
  background: #000;
}
.footer p { margin-bottom: 8px; }
.footer a { color: #888; }
.footer a:hover { color: var(--text-sub); }
.update-time { color: #555; font-size: 0.75rem; }

/* Responsive */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 60px 16px 40px; }
  .section-title { font-size: 1.6rem; }
  section { padding: 60px 16px; }
  .download-group, .dl-group-bottom { flex-direction: column; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
  .download-btn { width: 100%; justify-content: center; }
  .step-item { gap: 16px; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
  .step-item::before { left: 19px; top: 40px; }
  .community-banner { padding: 40px 20px; }
}