:root {
  --bg-main: #0f1115;
  --bg-card: #1a1d24;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --accent: #fbbf24;
  --border: #2d3748;
  --radius: 12px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 导航 */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand img {
  height: 32px;
  border-radius: 6px;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.nav-links {
  display: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 16px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}

/* 首屏 Hero */
.hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(180deg, #1a1d24 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.3;
  color: #fff;
}
.hero h1 span {
  color: var(--primary);
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: var(--primary);
  color: #000;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.hero-posters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-poster-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.hero-poster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.hero-poster-item:hover img {
  transform: scale(1.05);
}
.hero-poster-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--primary);
}

/* 通用区块 */
section {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 14px;
}

/* 真人爽剧 */
.section-action {
  background-color: #15181e;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.poster-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.poster-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
}
.poster-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-score {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}
.poster-info {
  padding: 12px;
}
.poster-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.tag {
  font-size: 11px;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.poster-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* 原创精品 */
.section-original {
  background-color: var(--bg-main);
}
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.image-side {
  flex-basis: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.image-side img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.text-side {
  flex-basis: 100%;
}
.original-list {
  list-style: none;
}
.original-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.original-item:hover {
  border-color: var(--border);
}
.item-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  opacity: 0.6;
}
.item-content h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}
.item-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 更新日历 */
.section-calendar {
  background-color: #15181e;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--bg-main);
}
.timeline-time {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}
.timeline-content {
  background-color: var(--bg-card);
  padding: 12px 16px;
  border-radius: var(--radius);
}
.timeline-content h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}
.timeline-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 心愿榜 & 周榜 */
.section-rank {
  background-color: var(--bg-main);
}
.rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.rank-col h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rank-col h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--primary);
  border-radius: 2px;
}
.rank-list {
  list-style: none;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background-color: var(--bg-card);
  margin-bottom: 8px;
}
.rank-num {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-muted);
  width: 24px;
  text-align: center;
}
.rank-item:nth-child(1) .rank-num { color: #fbbf24; }
.rank-item:nth-child(2) .rank-num { color: #94a3b8; }
.rank-item:nth-child(3) .rank-num { color: #b45309; }
.rank-info {
  flex: 1;
}
.rank-title {
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}
.rank-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.rank-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--primary);
}

/* 用户神评 */
.section-comments {
  background-color: #15181e;
}
.comment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.comment-card {
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #000;
}
.comment-user {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
.comment-time {
  font-size: 12px;
  color: var(--text-muted);
}
.comment-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

/* 隐私安全 */
.section-security {
  background-color: var(--bg-main);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.security-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}
.security-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.security-card h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}
.security-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 常见问题 */
.section-faq {
  background-color: #15181e;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-muted);
}

/* 下载区 */
.section-download {
  background: linear-gradient(135deg, #1a1d24 0%, #0f1115 100%);
  text-align: center;
  border-top: 1px solid var(--border);
}
.section-download h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
.section-download p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: left;
}
.step {
  display: flex;
  gap: 12px;
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
}
.step-num {
  background-color: var(--primary);
  color: #000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}
.step-text {
  font-size: 14px;
  color: var(--text-main);
}

/* 页脚 */
footer {
  background-color: #0a0c0f;
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #1e293b;
}
footer p {
  margin-bottom: 8px;
}
footer a {
  color: #64748b;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--primary);
}

/* 响应式 */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-posters {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .split-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .image-side {
    flex-basis: 40%;
    position: sticky;
    top: 80px;
  }
  .text-side {
    flex-basis: 60%;
  }
  .rank-grid {
    grid-template-columns: 1fr 1fr;
  }
  .comment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps {
    flex-direction: row;
  }
  .step {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 48px;
  }
  .card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .hero-posters {
    grid-template-columns: repeat(5, 1fr);
  }
  .comment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}