:root {
  --bg-deep: #0b0a12;
  --bg-card: #171525;
  --bg-card-hover: #201c33;
  --accent-pink: #ff4d8d;
  --accent-purple: #9b5cff;
  --accent-cyan: #00e5ff;
  --grad-main: linear-gradient(135deg, #ff4d8d 0%, #9b5cff 100%);
  --grad-cyan: linear-gradient(135deg, #00e5ff 0%, #9b5cff 100%);
  --text-main: #f2f0fa;
  --text-sub: #a9a3c2;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* --- Header --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}
.brand span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-sub);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--accent-pink); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--grad-main);
  box-shadow: 0 4px 18px rgba(255,77,141,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(255,77,141,0.55); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}
.btn-outline:hover { background: rgba(0,229,255,0.1); }
.btn-ghost {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
}
.btn-ghost:hover { background: var(--bg-card-hover); }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 60px 20px 40px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(155,92,255,0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 20%, #c4b8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .highlight {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--text-sub);
  font-size: 16px;
}
.download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-tags span {
  font-size: 13px;
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,229,255,0.2);
}

/* --- Sections General --- */
section { padding: 64px 20px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header h2 span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

/* --- AI漫剧 --- */
.ai-section { background: linear-gradient(180deg, var(--bg-deep) 0%, #110e1d 100%); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.drama-card:hover {
  transform: translateY(-6px);
  border-color: rgba(155,92,255,0.5);
  box-shadow: 0 8px 24px rgba(155,92,255,0.15);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0d0b15;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.drama-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  font-size: 11px;
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.card-info { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.card-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #7a7396;
}
.card-tag {
  color: var(--accent-pink);
  background: rgba(255,77,141,0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

/* --- 热播 --- */
.hot-section {
  background: #110e1d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hot-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hot-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  align-items: stretch;
  transition: background .2s;
}
.hot-item:hover { background: var(--bg-card-hover); }
.hot-rank {
  font-size: 32px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  width: 50px;
  text-align: center;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}
.hot-item:nth-child(1) .hot-rank { color: var(--accent-pink); }
.hot-item:nth-child(2) .hot-rank { color: var(--accent-purple); }
.hot-item:nth-child(3) .hot-rank { color: var(--accent-cyan); }
.hot-thumb {
  width: 72px;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.hot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-content { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hot-content h3 { font-size: 15px; margin-bottom: 4px; }
.hot-content p {
  font-size: 12px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.hot-detail { display: flex; gap: 12px; font-size: 11px; color: #7a7396; flex-wrap: wrap; }

/* --- Install Steps --- */
.steps-section { background: var(--bg-deep); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.step-card:hover { border-color: rgba(0,229,255,0.3); }
.step-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--grad-cyan);
}
.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* --- FAQ --- */
.faq-section { background: #110e1d; border-top: 1px solid var(--border); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 22px;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.faq-q::before {
  content: 'Q';
  color: var(--accent-pink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}
.faq-a::before {
  content: 'A';
  color: var(--accent-cyan);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

/* --- Reviews --- */
.review-section { background: var(--bg-deep); }
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.review-card {
  background: linear-gradient(135deg, rgba(255,77,141,0.06) 0%, rgba(155,92,255,0.06) 100%);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; }
.review-stars { color: #ffb800; font-size: 12px; margin-left: auto; }
.review-text { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* --- Privacy --- */
.privacy-section { background: #110e1d; border-top: 1px solid var(--border); }
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.privacy-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.privacy-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-card h3::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}
.privacy-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* --- Creator --- */
.creator-section { background: var(--bg-deep); }
.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.creator-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  position: relative;
}
.creator-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--accent-pink);
}
.creator-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* --- Community --- */
.community-section {
  background: linear-gradient(180deg, #110e1d 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
}
.community-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.community-main {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}
.community-main h3 { font-size: 20px; margin-bottom: 12px; }
.community-main p { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-bottom: 16px; }
.community-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.community-chips span {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(155,92,255,0.1);
  border: 1px solid rgba(155,92,255,0.25);
  color: #cbb8ff;
}
.community-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
}
.side-card h4 { font-size: 15px; margin-bottom: 8px; }
.side-card p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* --- Download End --- */
.download-end {
  text-align: center;
  padding: 80px 20px;
  background: radial-gradient(circle at 50% 100%, rgba(255,77,141,0.12) 0%, transparent 60%);
  border-top: 1px solid var(--border);
}
.download-end h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}
.download-end p {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 16px;
}
.end-tips {
  max-width: 680px;
  margin: 0 auto 36px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.end-tip {
  font-size: 13px;
  color: var(--text-sub);
  background: rgba(255,255,255,0.04);
  padding: 10px 16px;
  border-radius: 10px;
  border-left: 3px solid var(--accent-pink);
}

/* --- Footer --- */
.main-footer {
  padding: 28px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #6b6588;
  line-height: 1.8;
}
.main-footer a {
  color: #6b6588;
  transition: color .2s;
}
.main-footer a:hover { color: var(--text-sub); }
.footer-time { font-size: 11px; color: #55506e; margin-top: 4px; }

/* --- Responsive --- */
@media (min-width: 768px) {
  .nav-links { gap: 24px; font-size: 15px; }
  .hot-list { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .creator-grid { grid-template-columns: 1fr 1fr; }
  .community-layout { grid-template-columns: 2fr 1fr; }
  .ai-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (min-width: 1024px) {
  .hero { padding: 80px 20px 60px; }
  section { padding: 80px 20px; }
  .hot-list { grid-template-columns: 1fr 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: 1fr 1fr 1fr; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .privacy-grid { grid-template-columns: repeat(3, 1fr); }
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .hot-item { flex-direction: column; }
  .hot-rank { width: auto; font-size: 40px; justify-content: flex-start; padding-bottom: 4px; }
  .hot-thumb { width: 100%; aspect-ratio: 16/10; }
}