:root {
  --bg-dark: #0a0a10;
  --bg-card: #15151f;
  --bg-card-hover: #1e1e2d;
  --primary: #ff3366;
  --primary-glow: rgba(255, 51, 102, 0.4);
  --secondary: #7a5cff;
  --text-main: #f0f0f5;
  --text-sub: #a0a0b5;
  --border: #2a2a3a;
  --radius: 16px;
  --radius-sm: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "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 10% 20%, rgba(122, 92, 255, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(255, 51, 102, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 导航栏 */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 16, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.brand img { height: 32px; width: auto; border-radius: 6px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-sub); flex-wrap: wrap; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--text-main); font-weight: 600; }

/* 首屏 Hero */
.hero {
  padding: 80px 20px 60px;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  min-height: 80vh;
}
.hero-content { flex: 1; }
.hero-tag {
  display: inline-block; padding: 4px 12px; background: rgba(255, 51, 102, 0.15);
  color: var(--primary); border-radius: 20px; font-size: 12px; margin-bottom: 20px;
  border: 1px solid rgba(255, 51, 102, 0.3);
}
.hero h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; letter-spacing: -1px; }
.hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 16px; color: var(--text-sub); margin-bottom: 32px; max-width: 500px; }
.download-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  transition: all 0.2s ease; cursor: pointer; border: none; width: auto;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d9224f);
  color: #fff; box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px var(--primary-glow); }
.btn-outline {
  background: transparent; color: var(--text-main); border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--bg-card); border-color: var(--text-sub); }
.btn-small { padding: 10px 20px; font-size: 14px; border-radius: var(--radius-sm); }
.hero-visual { flex: 1; display: flex; gap: 16px; justify-content: flex-end; position: relative; }
.hero-img-box {
  width: 200px; height: 380px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: translateY(20px); transition: transform 0.3s;
}
.hero-img-box:first-child { transform: translateY(-20px); }
.hero-img-box img { width: 100%; height: 100%; object-fit: cover; }

/* 通用区块 */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; margin-bottom: 12px; font-weight: 700; }
.section-header p { color: var(--text-sub); font-size: 15px; }
.section-tag { color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* 热门短剧 - 瀑布流/网格 */
.grid-hot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-drama {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.card-drama:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-color: rgba(255, 51, 102, 0.3); }
.card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card-drama:hover .card-img-wrap img { transform: scale(1.05); }
.tag-low { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; backdrop-filter: blur(4px); }
.tag-time { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: var(--text-sub); font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.card-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-info h3 { font-size: 16px; margin-bottom: 6px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info p { font-size: 12px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; flex: 1; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card-tags span { font-size: 11px; color: var(--secondary); background: rgba(122, 92, 255, 0.1); padding: 2px 8px; border-radius: 4px; }

/* 排行榜 */
.grid-rank { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rank-list { background: var(--bg-card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.rank-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 20px; font-weight: 800; width: 30px; color: var(--text-sub); font-style: italic; }
.rank-item:nth-child(1) .rank-num { color: #ffd700; }
.rank-item:nth-child(2) .rank-num { color: #c0c0c0; }
.rank-item:nth-child(3) .rank-num { color: #cd7f32; }
.rank-img { width: 50px; height: 70px; border-radius: 6px; object-fit: cover; }
.rank-text { flex: 1; }
.rank-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.rank-text p { font-size: 12px; color: var(--text-sub); }
.rank-score { font-size: 16px; font-weight: bold; color: var(--primary); }

/* 原创热播 交错布局 */
.layout-alternating { display: flex; flex-direction: column; gap: 40px; }
.alt-row { display: flex; align-items: center; gap: 40px; background: var(--bg-card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.alt-row:nth-child(even) { flex-direction: row-reverse; }
.alt-img { flex: 1; max-width: 240px; aspect-ratio: 3/4; border-radius: var(--radius-sm); overflow: hidden; }
.alt-img img { width: 100%; height: 100%; object-fit: cover; }
.alt-content { flex: 2; }
.alt-content h3 { font-size: 22px; margin-bottom: 12px; }
.alt-content p { color: var(--text-sub); margin-bottom: 16px; line-height: 1.8; }
.alt-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-main); margin-bottom: 16px; }
.alt-meta span { background: var(--bg-card-hover); padding: 4px 10px; border-radius: 4px; }

/* 安装详情 & 平台动态 */
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-box { background: var(--bg-card); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.info-box h3 { font-size: 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.step-list { display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; gap: 16px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 51, 102, 0.15); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; font-size: 14px; }
.step-text h4 { font-size: 15px; margin-bottom: 4px; }
.step-text p { font-size: 13px; color: var(--text-sub); }

/* 问答块 */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-sm); padding: 20px; border: 1px solid var(--border); }
.faq-q { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text-main); display: flex; gap: 8px; }
.faq-q::before { content: "Q"; color: var(--primary); font-weight: bold; }
.faq-a { font-size: 14px; color: var(--text-sub); line-height: 1.7; }
.faq-a::before { content: "A"; color: var(--secondary); font-weight: bold; margin-right: 8px; }

/* 用户口碑 */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: var(--bg-card); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.review-user { font-size: 14px; font-weight: 600; }
.review-stars { color: #ffd700; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* 底部下载区 */
.footer-cta {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(122, 92, 255, 0.1));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 20px; text-align: center;
}
.footer-cta h2 { font-size: 36px; margin-bottom: 16px; }
.footer-cta p { color: var(--text-sub); margin-bottom: 40px; }
.cta-steps { display: flex; justify-content: center; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.cta-step { max-width: 200px; text-align: left; }
.cta-step h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.cta-step p { font-size: 13px; color: var(--text-sub); }
.footer-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* 页脚 */
.site-footer { padding: 40px 20px; text-align: center; border-top: 1px solid var(--border); color: var(--text-sub); font-size: 12px; }
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: var(--text-sub); text-decoration: underline; }
.site-footer a:hover { color: var(--text-main); }
.update-time { color: #55556a; margin-top: 16px; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 60px; }
  .hero h1 { font-size: 36px; }
  .hero p { margin: 0 auto 32px; }
  .download-group { justify-content: center; }
  .hero-visual { justify-content: center; margin-top: 40px; }
  .hero-img-box { width: 160px; height: 300px; }
  .grid-hot { grid-template-columns: repeat(3, 1fr); }
  .grid-rank { grid-template-columns: 1fr; }
  .grid-two { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .grid-hot { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .alt-row { flex-direction: column; padding: 20px; }
  .alt-row:nth-child(even) { flex-direction: column; }
  .alt-img { max-width: 100%; width: 100%; aspect-ratio: 16/9; }
  .cta-steps { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-step { max-width: 100%; }
  .section { padding: 60px 16px; }
  .section-header h2 { font-size: 24px; }
}