:root {
  --bg-dark: #0a0a0c;
  --bg-card: #121216;
  --bg-card-hover: #1a1a20;
  --primary: #e50914;
  --primary-glow: rgba(229, 9, 20, 0.4);
  --accent: #f5c518;
  --text-main: #f0f0f0;
  --text-sub: #9ea0a6;
  --border: #2a2b32;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  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; }
ul { list-style: none; }

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-box { display: flex; align-items: center; gap: 10px; }
.logo-box img { height: 32px; width: auto; border-radius: 4px; }
.logo-box span { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--text-main); }
.nav-links { display: none; gap: 20px; font-size: 14px; color: var(--text-sub); }
.nav-links a:hover { color: var(--primary); }

/* 首屏区 */
.hero {
  position: relative;
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at top, rgba(229, 9, 20, 0.15) 0%, transparent 60%);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-sub);
  max-width: 600px;
  margin-bottom: 30px;
}
.download-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--primary-glow);
  min-width: 160px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); box-shadow: none; }
.btn-outline:hover { border-color: var(--primary); background: rgba(229, 9, 20, 0.1); }

/* 轮播图 */
.carousel-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.carousel-track-wrapper { overflow: hidden; border-radius: var(--radius); position: relative; }
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.carousel-item {
  min-width: 100%;
  position: relative;
}
.carousel-item img {
  width: 100%;
  height: 60vh;
  max-height: 500px;
  border-radius: var(--radius);
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  border-radius: 0 0 var(--radius) var(--radius);
}
.carousel-overlay h3 { font-size: 24px; margin-bottom: 8px; }
.carousel-overlay p { font-size: 14px; color: var(--text-sub); }

/* 懒加载/布局通用 */
.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: 2px;
}

/* 每日原创 */
.daily-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
@media (min-width: 768px) {
  .daily-grid { grid-template-columns: 280px 1fr; }
  .nav-links { display: flex; }
}
.poster-side img { width: 100%; border-radius: var(--radius); aspect-ratio: 3/4; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.info-item:hover { background: var(--bg-card-hover); }
.info-item .title { font-weight: 600; font-size: 15px; }
.info-item .tags { font-size: 12px; color: var(--accent); margin-top: 4px; }
.info-item .date { font-size: 12px; color: var(--text-sub); text-align: right; }

/* 魔改短剧/网格 */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); }
.card img { width: 100%; aspect-ratio: 3/4; }
.card-body { padding: 12px; }
.card-body h4 { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body .tag { font-size: 11px; color: var(--primary); margin-top: 4px; display: block; }
.card-body .meta { font-size: 11px; color: var(--text-sub); margin-top: 6px; display: flex; justify-content: space-between; }

/* 用户神评 */
.reviews-section {
  background: #15151a;
  padding: 40px 20px;
  margin: 40px 0;
}
.review-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-item {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
  object-fit: cover;
}
.review-content { flex: 1; }
.review-content .name { font-size: 13px; color: var(--text-sub); margin-bottom: 4px; }
.review-content .text { font-size: 14px; }

/* 平台动态/时间轴 */
.timeline-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-dark);
}
.timeline-time { font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.timeline-desc { font-size: 14px; color: var(--text-main); }

/* 底部下载 */
.footer-download {
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at bottom, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
}
.steps-box {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.steps-box h3 { font-size: 16px; margin-bottom: 12px; color: var(--accent); }
.steps-box p { font-size: 14px; color: var(--text-sub); margin-bottom: 8px; }

/* 页脚 */
.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer a { color: var(--text-sub); }
.footer a:hover { color: var(--primary); }

/* 弹窗 */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  max-width: 400px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}
.modal-content h4 { font-size: 16px; margin-bottom: 12px; color: var(--accent); }
.modal-content p { font-size: 14px; margin-bottom: 20px; word-break: break-all; color: var(--text-main); }
.modal-content .btn { width: 100%; }

/* 更多样式 */
.text-center { text-align: center; }
.sub-desc { font-size: 14px; color: var(--text-sub); margin-top: 8px; margin-bottom: 24px; }