:root {
  --bg: #0a0a0e;
  --surface: #12121a;
  --surface-2: #1a1a24;
  --text: #f0f0f5;
  --text-muted: #9494a8;
  --accent: #ff2e4d;
  --accent-2: #22e3d2;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.25);
  --gradient: linear-gradient(120deg, var(--accent), #ff7043, var(--accent-2));
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
.container { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 100px 0; position: relative; z-index: 1; }

/* 导航 */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 14, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: #fff; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #fff; padding: 10px 22px; border-radius: 99px;
  font-size: 14px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255, 46, 77, 0.3);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 46, 77, 0.5); }

/* Hero 首屏 */
.hero { padding: 160px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,46,77,0.15) 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -20%; left: -10%;
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(34,227,210,0.1) 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.1em;
  color: var(--accent-2); background: rgba(34, 227, 210, 0.1); padding: 6px 16px; border-radius: 99px;
  border: 1px solid rgba(34, 227, 210, 0.2); margin-bottom: 24px;
}
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; color: transparent; }
.hero p { font-size: 17px; color: var(--text-muted); max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-large {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 38px; border-radius: 99px; font-size: 16px; font-weight: 700; transition: all 0.25s;
}
.btn-primary {
  background: var(--gradient); color: #fff; box-shadow: 0 10px 30px rgba(255, 46, 77, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(255, 46, 77, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-hover); }

.hero-visual { position: relative; }
.hero-collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hero-collage img {
  border-radius: 16px; object-fit: cover; width: 100%; aspect-ratio: 3/4;
  border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s;
}
.hero-collage img:hover { transform: translateY(-6px); }
.hero-collage img:nth-child(1) { grid-column: 1 / 2; transform: translateY(30px); }
.hero-collage img:nth-child(2) { grid-column: 2 / 3; }
.hero-collage img:nth-child(3) { grid-column: 1 / 2; }
.hero-collage img:nth-child(4) { grid-column: 2 / 3; transform: translateY(-30px); }

/* 数据栏 */
.stats-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 30px 0; margin-top: 80px;
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 28px; font-weight: 900; color: var(--accent-2); margin-bottom: 4px; }
.stat-item span { font-size: 13px; color: var(--text-muted); }

/* 区块标题 */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }

/* 剧集矩阵 */
.tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  padding: 8px 20px; border-radius: 99px; font-size: 14px; color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); transition: all 0.2s;
}
.tab-btn:hover, .tab-btn.active {
  color: #fff; background: rgba(255, 46, 77, 0.15); border-color: rgba(255, 46, 77, 0.4);
}
.drama-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.drama-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.drama-card:hover { transform: translateY(-8px); border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.drama-img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.drama-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.drama-card:hover .drama-img img { transform: scale(1.05); }
.drama-tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.drama-info { padding: 16px; }
.drama-info h3 { font-size: 16px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-info p { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 特色功能 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); padding: 32px; border-radius: 20px;
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: rgba(34, 227, 210, 0.4); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* 截图墙 */
.wall-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.wall-scroll::-webkit-scrollbar { height: 6px; }
.wall-scroll::-webkit-scrollbar-track { background: var(--surface); border-radius: 99px; }
.wall-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 99px; }
.wall-item {
  flex: 0 0 260px; scroll-snap-align: start; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
}
.wall-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.wall-item p { padding: 12px 16px; font-size: 14px; font-weight: 600; text-align: center; }

/* 下载区 */
.download-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
}
.dl-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: 32px;
  padding: 60px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.dl-text h2 { font-size: 36px; margin-bottom: 20px; }
.dl-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.dl-feats { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.dl-feat { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.dl-feat i {
  width: 20px; height: 20px; background: var(--accent-2); color: #000; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-style: normal; font-weight: 900;
}
.dl-mockup {
  background: #000; border-radius: 40px; padding: 12px; border: 4px solid #333;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8); position: relative; max-width: 320px; margin: 0 auto;
}
.dl-mockup::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: #333; border-radius: 0 0 12px 12px; z-index: 2;
}
.dl-mockup img { border-radius: 28px; width: 100%; display: block; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 24px; transition: all 0.2s;
}
details[open] { border-color: rgba(34, 227, 210, 0.3); background: rgba(34, 227, 210, 0.03); }
summary {
  padding: 20px 0; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; font-weight: 300; transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); color: var(--accent-2); }
details p { padding-bottom: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* 页脚 */
footer {
  background: #050508; border-top: 1px solid var(--border);
  padding: 60px 0 30px; font-size: 13px; color: #66667a;
}
.foot-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.foot-brand p { margin-top: 12px; max-width: 300px; line-height: 1.8; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.about-us-box { margin-bottom: 20px; }
.about-us-box summary {
  font-size: 13px; color: #66667a; cursor: pointer; font-weight: 400;
  padding: 4px 0; display: inline-block; list-style: none;
}
.about-us-box summary::-webkit-details-marker { display: none; }
.about-us-box summary:hover { color: var(--text-muted); }
.about-us-links {
  margin-top: 12px; padding: 16px; background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px;
}
.about-us-links a { font-size: 12px; color: #7a7a8e; transition: color 0.2s; }
.about-us-links a:hover { color: var(--text); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.foot-bottom a { color: #66667a; transition: color 0.2s; }
.foot-bottom a:hover { color: #999; }
.time-tag { font-size: 12px; opacity: 0.6; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .drama-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-box { grid-template-columns: 1fr; padding: 40px 24px; }
  .dl-mockup { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .section { padding: 60px 0; }
  .drama-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; gap: 30px; }
  .foot-content { flex-direction: column; }
  .foot-bottom { flex-direction: column; text-align: center; }
}