:root {
  --bg-dark: #0a0b10;
  --bg-card: #151720;
  --bg-card-hover: #1e202c;
  --text-main: #f0f2f5;
  --text-sub: #a0a5b5;
  --accent: #ff3366;
  --accent-glow: rgba(255, 51, 102, 0.3);
  --accent-gradient: linear-gradient(135deg, #ff3366, #ff6b3b);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 20px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; color: #fff; }
.main-nav ul { display: flex; gap: 24px; font-size: 0.95rem; }
.main-nav a { color: var(--text-sub); transition: color 0.3s; }
.main-nav a:hover { color: var(--text-main); }
.nav-download-btn {
  background: var(--accent-gradient); color: #fff;
  padding: 6px 16px; border-radius: 20px; font-weight: 600;
  font-size: 0.9rem; transition: transform 0.3s;
}
.nav-download-btn:hover { transform: scale(1.05); }

/* Hero Section */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(255,51,102,0.15) 0%, transparent 60%);
}
.hero h1 {
  font-size: 2.8rem; font-weight: 800;
  margin-bottom: 20px; line-height: 1.3;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.1rem; color: var(--text-sub);
  max-width: 700px; margin: 0 auto 40px;
}
.download-group { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.dl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 30px; font-weight: 700;
  font-size: 1rem; transition: all 0.3s; cursor: pointer;
  border: none;
}
.dl-btn-android { background: #2ecc71; color: #fff; box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
.dl-btn-ios { background: #3498db; color: #fff; box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); }
.dl-btn-other { background: transparent; border: 1px solid var(--text-sub); color: var(--text-main); }
.dl-btn:hover { transform: translateY(-3px); opacity: 0.9; }
.hero-decor {
  margin-top: 50px; font-size: 0.9rem; color: var(--text-sub);
  display: flex; justify-content: center; gap: 20px;
}

/* Common section styles */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.section-title { font-size: 2rem; margin-bottom: 40px; text-align: center; font-weight: 700; }
.section-title span { color: var(--accent); }

/* Hot Dramas */
.hot-dramas { background: rgba(255,255,255,0.02); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.drama-card {
  background: var(--bg-card); border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, background 0.3s;
  border: 1px solid rgba(255,255,255,0.03);
}
.drama-card:hover { transform: translateY(-8px); background: var(--bg-card-hover); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.poster-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.drama-card:hover .poster-wrap img { transform: scale(1.05); }
.tag-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600;
}
.drama-info { padding: 16px; }
.drama-info h3 { font-size: 1.1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-desc { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drama-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #777; }

/* Rankings */
.ranking-list { display: flex; flex-direction: column; gap: 16px; }
.rank-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg-card); padding: 16px; border-radius: 12px;
  transition: transform 0.3s;
}
.rank-item:hover { transform: translateX(10px); background: var(--bg-card-hover); }
.rank-num { font-size: 1.5rem; font-weight: 900; color: var(--accent); width: 40px; text-align: center; }
.rank-cover { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
.rank-text { flex: 1; }
.rank-text h3 { font-size: 1.1rem; margin-bottom: 4px; }
.rank-text p { font-size: 0.85rem; color: var(--text-sub); }
.rank-score { font-weight: 700; color: #f1c40f; }

/* Install Details */
.install-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.install-steps { background: var(--bg-card); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.step-item { display: flex; gap: 16px; margin-bottom: 24px; }
.step-item:last-child { margin-bottom: 0; }
.step-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,51,102,0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.step-text h4 { font-size: 1rem; margin-bottom: 4px; }
.step-text p { font-size: 0.85rem; color: var(--text-sub); }
.install-visual { text-align: center; }
.install-visual img { max-width: 260px; margin: 0 auto; border-radius: 24px; border: 4px solid var(--bg-card); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-card { background: var(--bg-card); padding: 24px; border-radius: 12px; }
.faq-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--accent); }
.faq-card p { font-size: 0.9rem; color: var(--text-sub); }

/* Reviews */
.reviews { background: rgba(255,255,255,0.02); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.review-card { background: var(--bg-card); padding: 24px; border-radius: 12px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #333; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-user { font-weight: 600; font-size: 0.95rem; }
.review-stars { color: #f1c40f; font-size: 0.8rem; }
.review-body { font-size: 0.9rem; color: var(--text-sub); }

/* Privacy */
.privacy-wrap { display: flex; flex-direction: column; gap: 20px; }
.privacy-item { display: flex; gap: 20px; background: var(--bg-card); padding: 24px; border-radius: 12px; align-items: flex-start; }
.privacy-icon { font-size: 1.5rem; color: var(--accent); }
.privacy-text h3 { font-size: 1.1rem; margin-bottom: 8px; }
.privacy-text p { font-size: 0.9rem; color: var(--text-sub); }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: rgba(255,51,102,0.2); transform: translateX(-50%);
}
.tl-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; width: 100%; }
.tl-item:nth-child(even) { flex-direction: row-reverse; }
.tl-content { width: 45%; background: var(--bg-card); padding: 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.tl-time { width: 10%; text-align: center; font-weight: 700; color: var(--accent); font-size: 1.1rem; }

/* Platform News */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; justify-content: space-between; background: var(--bg-card); padding: 20px; border-radius: 10px; transition: background 0.3s; }
.news-item:hover { background: var(--bg-card-hover); }
.news-title { font-weight: 600; }
.news-date { font-size: 0.85rem; color: var(--text-sub); }

/* Footer */
.site-footer {
  background: #050608; padding: 40px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center; color: #666; font-size: 0.85rem;
}
.footer-logo { font-size: 1.2rem; font-weight: 700; color: #aaa; margin-bottom: 10px; }
.footer-links { margin-bottom: 20px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.footer-links a { color: #888; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-bottom: 8px; }
.footer-beian a { color: #666; }
.footer-beian a:hover { color: #999; }
.footer-time { font-size: 0.75rem; color: #444; margin-top: 10px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.2rem; }
  .install-guide { grid-template-columns: 1fr; }
  .install-visual { display: none; }
  .timeline::before { left: 20px; }
  .tl-item, .tl-item:nth-child(even) { flex-direction: column; align-items: flex-start; margin-left: 40px; width: auto; position: relative; }
  .tl-item::before {
    content: ''; position: absolute; left: -24px; top: 20px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  }
  .tl-content { width: 100%; }
  .tl-time { width: auto; text-align: left; margin-bottom: 8px; }
  .faq-grid, .reviews-grid { grid-template-columns: 1fr; }
  .main-nav ul { display: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .drama-info { padding: 12px; }
  .drama-info h3 { font-size: 0.95rem; }
  .drama-desc { font-size: 0.75rem; -webkit-line-clamp: 1; }
  .rank-item { gap: 10px; padding: 10px; }
  .rank-cover { width: 40px; height: 54px; }
  .download-group { flex-direction: column; align-items: center; }
  .dl-btn { width: 80%; }
}