:root {
  --bg-dark: #100b1e;
  --bg-card: #1a122b;
  --bg-light: #f4f1fa;
  --primary: #ffd23f;
  --text-main: #f0edf6;
  --text-muted: #a8a1b8;
  --text-dark: #2d2640;
  --text-dark-muted: #665f7a;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(16, 11, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.logo-area img { height: 32px; width: 32px; border-radius: 8px; }
.nav-links { display: none; gap: 24px; font-size: 15px; color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: bold; }
.header-btn {
  background: var(--primary);
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s;
}
.header-btn:active { transform: scale(0.95); }

/* Hero */
.hero {
  padding: 100px 5% 60px;
  background: radial-gradient(circle at 80% 20%, rgba(113, 44, 249, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(255, 210, 63, 0.1) 0%, transparent 50%);
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 210, 63, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 210, 63, 0.3);
}
.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fff, #ffd23f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 30px;
}
.download-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-android { background: var(--primary); color: #000; box-shadow: 0 4px 15px rgba(255,210,63,0.3); }
.btn-android:hover { background: #ffe680; transform: translateY(-2px); }
.btn-ios { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-ios:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-other { background: transparent; color: var(--text-muted); border: 1px dashed rgba(255,255,255,0.3); }
.btn-other:hover { border-color: var(--primary); color: var(--primary); }

/* Section Common */
.section-pad { padding: 60px 5%; }
.section-title { font-size: 24px; margin-bottom: 12px; text-align: center; }
.section-desc { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.light-section { background: var(--bg-light); color: var(--text-dark); }
.light-section .section-desc { color: var(--text-dark-muted); }

/* Daily Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,210,63,0.3);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.timeline-time {
  font-weight: bold;
  color: var(--primary);
  font-size: 16px;
  min-width: 50px;
  text-align: right;
  margin-top: 2px;
}
.timeline-content {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  flex: 1;
  border: 1px solid rgba(255,255,255,0.05);
}
.timeline-content h3 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.timeline-content p { font-size: 13px; color: var(--text-muted); }
.dot {
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255,210,63,0.5);
  transform: translateX(-50%);
  left: 11px;
}

/* Card Grid (精品/魔改/原创) */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.drama-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s;
}
.drama-card:hover { transform: translateY(-5px); }
.drama-img-wrap { position: relative; padding-top: 133%; }
.drama-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.drama-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  color: var(--primary); padding: 4px 10px;
  border-radius: 12px; font-size: 12px;
}
.drama-info { padding: 16px; }
.drama-info h3 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.drama-info p { 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; font-size: 12px; color: #8888a0; }

/* Left Right Layout */
.split-section { display: flex; flex-direction: column; gap: 30px; align-items: center; }
.poster-wrap { width: 100%; max-width: 280px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.poster-wrap img { width: 100%; height: auto; display: block; }
.list-box { width: 100%; }
.list-box h3 { font-size: 20px; margin-bottom: 20px; color: var(--primary); }
.text-list { list-style: none; }
.text-list li {
  padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.text-list li::before {
  content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%;
}

/* FAQ */
.faq-item {
  background: var(--bg-card); border-radius: var(--radius); margin-bottom: 15px; padding: 20px; border: 1px solid rgba(255,255,255,0.05);
}
.faq-item h3 { font-size: 16px; margin-bottom: 10px; color: var(--primary); }
.faq-item p { font-size: 14px; color: var(--text-muted); }

/* Reviews */
.review-list { display: grid; grid-template-columns: 1fr; gap: 15px; }
.review-card {
  background: var(--bg-card); padding: 20px; border-radius: var(--radius);
  display: flex; gap: 15px; border: 1px solid rgba(255,255,255,0.05);
}
.review-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; object-fit: cover; border: 2px solid rgba(255,210,63,0.3); }
.review-content h4 { font-size: 14px; margin-bottom: 4px; color: #fff; }
.review-content p { font-size: 13px; color: var(--text-muted); }

/* Privacy & Submit */
.info-block {
  background: rgba(255,210,63,0.05); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; border: 1px solid rgba(255,210,63,0.2);
}
.info-block h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); }
.info-block p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* Platform News */
.news-list { display: flex; flex-direction: column; gap: 15px; }
.news-item { display: flex; gap: 15px; background: var(--bg-card); padding: 15px; border-radius: var(--radius); }
.news-date { font-weight: bold; color: var(--primary); font-size: 16px; min-width: 40px; text-align: center; }
.news-text h4 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.news-text p { font-size: 13px; color: var(--text-muted); }

/* Install Guide */
.guide-steps {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px;
}
.step-card {
  background: #fff; padding: 24px; border-radius: var(--radius); text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--primary); color: #000; border-radius: 50%; font-weight: bold; font-size: 16px; margin-bottom: 12px;
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-dark); }
.step-card p { font-size: 13px; color: var(--text-dark-muted); }

/* Footer */
.site-footer {
  padding: 30px 5%; text-align: center; color: #6b6580; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px;
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: #8b85a0; text-decoration: underline; }
.update-time { font-size: 12px; color: #5c5670; margin-top: 8px; display: block; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px);
}
.modal-box {
  background: #fff; border-radius: 16px; padding: 30px 20px; width: 100%; max-width: 320px; text-align: center; color: var(--text-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.modal-box p { font-size: 14px; margin-bottom: 20px; line-height: 1.5; font-weight: bold; }
.modal-link {
  background: var(--bg-light); padding: 12px; border-radius: 8px; font-size: 12px; word-break: break-all; margin-bottom: 20px; border: 1px solid #e0dce8; color: #555; display: block;
}
.modal-btn {
  background: var(--primary); color: #000; border: none; padding: 12px; width: 100%; border-radius: 8px; font-weight: bold; font-size: 16px; cursor: pointer;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .header-btn { padding: 10px 24px; }
  .hero h1 { font-size: 48px; }
  .download-group { flex-direction: row; justify-content: center; flex-wrap: wrap; max-width: none; }
  .btn-download { padding: 14px 30px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .review-list { grid-template-columns: repeat(2, 1fr); }
  .split-section { flex-direction: row; gap: 40px; align-items: stretch; }
  .poster-wrap { width: 40%; max-width: none; }
  .list-box { width: 60%; }
  .guide-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .review-list { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 56px; }
  .timeline-container { padding-left: 0; }
  .timeline-container::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { flex-direction: row; justify-content: flex-start; align-items: center; width: 50%; margin-bottom: 40px; }
  .timeline-item:nth-child(even) { align-self: flex-end; margin-left: 50%; flex-direction: row-reverse; }
  .timeline-item:nth-child(even) .timeline-time { text-align: left; }
  .timeline-item:nth-child(even) .dot { left: -50%; transform: translateX(-50%); }
  .timeline-item:nth-child(odd) .dot { left: 100%; transform: translateX(-50%); }
  .timeline-time { text-align: right; width: 50px; }
  .timeline-content { width: calc(100% - 70px); margin: 0 20px; }
}