:root {
  --bg-dark: #0a0812;
  --bg-card: #151022;
  --bg-card-hover: #1d1730;
  --primary: #ff7a45;
  --primary-glow: rgba(255, 122, 69, 0.4);
  --secondary: #9d6bff;
  --text-main: #f4f1fa;
  --text-muted: #a59fba;
  --border-color: #2a2240;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(157, 107, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 122, 69, 0.1) 0%, transparent 40%);
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 8, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #fff; }
.brand img { height: 32px; border-radius: 6px; }
.nav-links { display: none; gap: 24px; font-size: 15px; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.header-actions { display: flex; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff5e3a);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 60px 0 80px;
  position: relative;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.hero-text { text-align: center; max-width: 600px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(157, 107, 255, 0.15);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(157, 107, 255, 0.3);
}
.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #dcd4f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.download-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: left;
}
.dl-btn:hover { background: var(--bg-card-hover); border-color: var(--primary); transform: translateY(-2px); }
.dl-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--primary);
}
.dl-text { display: flex; flex-direction: column; }
.dl-text span:first-child { font-size: 12px; color: var(--text-muted); }
.dl-text span:last-child { font-size: 15px; font-weight: 600; color: #fff; }

.hero-visual { display: none; }

/* Common Section */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #fff;
}
.section-header p { color: var(--text-muted); font-size: 15px; }

/* AI Short Drama */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.drama-card:hover { transform: translateY(-5px); border-color: var(--secondary); }
.drama-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.drama-card:hover .drama-cover img { transform: scale(1.05); }
.drama-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 4px 10px; border-radius: 4px; font-size: 12px;
  backdrop-filter: blur(4px);
}
.drama-info { padding: 16px; }
.drama-info h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.drama-info .desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drama-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #6e6685; }
.drama-meta .status { color: var(--primary); background: rgba(255,122,69,0.1); padding: 2px 8px; border-radius: 4px; }

/* Hot Drama */
.hot-list { display: flex; flex-direction: column; gap: 16px; }
.hot-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  align-items: center;
}
.hot-rank { font-size: 24px; font-weight: 800; color: var(--border-color); font-style: italic; width: 40px; text-align: center; }
.hot-item:nth-child(1) .hot-rank { color: #ff4d4f; }
.hot-item:nth-child(2) .hot-rank { color: #ff9f1c; }
.hot-item:nth-child(3) .hot-rank { color: #ffd700; }
.hot-img { width: 60px; height: 80px; border-radius: 6px; object-fit: cover; }
.hot-detail { flex: 1; }
.hot-detail h3 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.hot-detail p { font-size: 13px; color: var(--text-muted); }

/* Install Steps */
.steps-container { display: grid; gap: 20px; grid-template-columns: 1fr; }
.step-card {
  background: linear-gradient(145deg, var(--bg-card), #120e1d);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}
.step-num {
  position: absolute; top: -12px; right: 20px;
  background: var(--primary); color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 10px var(--primary-glow);
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; padding-right: 30px; }
.step-card p { font-size: 14px; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-q::after { content: '-'; transform: rotate(180deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.active .faq-a { padding: 0 20px 20px; max-height: 200px; }

/* Reviews */
.review-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.review-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--secondary);
}
.review-text { font-size: 14px; font-style: italic; margin-bottom: 12px; color: var(--text-main); }
.review-user { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--border-color); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }

/* Privacy */
.privacy-wrap { display: grid; gap: 20px; grid-template-columns: 1fr; }
.privacy-item {
  background: rgba(157, 107, 255, 0.05);
  border: 1px solid rgba(157, 107, 255, 0.2);
  padding: 20px;
  border-radius: var(--radius-md);
}
.privacy-item h3 { font-size: 16px; color: var(--secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.privacy-item h3::before { content: '✓'; background: var(--secondary); color: #fff; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.privacy-item p { font-size: 14px; color: var(--text-muted); }

/* Creator */
.creator-box {
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.1), rgba(157, 107, 255, 0.1));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}
.creator-box h2 { font-size: 24px; margin-bottom: 16px; color: #fff; }
.creator-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.creator-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.creator-features span { background: rgba(255,255,255,0.05); padding: 6px 16px; border-radius: 20px; font-size: 14px; color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); }

/* Community */
.community-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.comm-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}
.comm-card h3 { font-size: 18px; margin-bottom: 12px; color: #fff; }
.comm-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* Bottom Download */
.bottom-cta {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at center, rgba(255, 122, 69, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  margin: 0 20px;
}
.bottom-cta h2 { font-size: 28px; margin-bottom: 16px; color: #fff; }
.bottom-cta p { color: var(--text-muted); margin-bottom: 30px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: #6e6685;
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: #6e6685; text-decoration: underline; }
.site-footer a:hover { color: var(--primary); }
.update-time { font-size: 12px; color: #4a445e; margin-top: 10px; }

/* Media Queries */
@media (min-width: 768px) {
  .hero-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .hero-text { text-align: left; max-width: 50%; }
  .download-group { justify-content: flex-start; }
  .hero h1 { font-size: 48px; }
  .hero-visual { display: block; width: 45%; position: relative; }
  .hero-visual img { border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0,0,0,0.4); transform: perspective(1000px) rotateY(-10deg); transition: transform 0.3s; }
  .hero-visual img:hover { transform: perspective(1000px) rotateY(-5deg); }
  
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  
  .drama-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-wrap { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 56px; }
  .drama-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-container { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .privacy-wrap { grid-template-columns: repeat(3, 1fr); }
  .community-grid { grid-template-columns: repeat(4, 1fr); }
}