:root {
  --bg-dark: #08080A;
  --bg-card: #141416;
  --accent-red: #FF1F2E;
  --accent-yellow: #FFC107;
  --text-main: #FFFFFF;
  --text-sub: #8E8E93;
  --light-bg: #F5F5F7;
  --light-card: #FFFFFF;
  --section-gap: 120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; object-fit: cover; }

/* 顶部跑马灯 */
.marquee-bar {
  background: #000;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #222;
}
.marquee-icon { color: var(--accent-red); padding: 0 15px; font-weight: bold; }
.marquee-content {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
}
.marquee-content span { margin-right: 40px; }
.highlight-red { color: var(--accent-red); }
.highlight-yellow { color: var(--accent-yellow); }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 导航栏 */
.header {
  position: sticky;
  top: 0;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent-red);
  z-index: 1000;
  height: 72px;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--text-sub); font-weight: bold; }
.nav-links a:hover { color: var(--accent-yellow); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.search-box {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 0 16px;
  height: 40px;
}
.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  font-size: 14px;
  width: 120px;
}
.search-box svg { fill: var(--text-sub); width: 16px; height: 16px; margin-right: 8px; }
.btn-download-header {
  background: var(--accent-red);
  color: #fff;
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
}
.btn-download-header:hover { background: #d61a27; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* 首屏沉浸 */
.hero-section {
  position: relative;
  background: radial-gradient(circle at center bottom, #3A0005 0%, var(--bg-dark) 70%);
  padding: 100px 0;
  overflow: hidden;
}
.hero-content { max-width: 600px; position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: var(--accent-yellow);
  color: #000;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 20px;
}
.hero-content h1 span { display: block; }
.hero-content h1 span:last-child { color: var(--accent-red); font-size: 36px; margin-top: 10px; }
.hero-desc { color: var(--text-sub); font-size: 16px; margin-bottom: 40px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; }
.btn-primary {
  background: linear-gradient(90deg, #FF1F2E, #FF5E6A);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.btn-secondary {
  background: #000;
  color: var(--accent-red);
  border: 1px solid #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}
.hero-nav {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hero-nav span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dots span { width: 8px; height: 8px; background: #555; border-radius: 50%; }
.hero-dots span.active { width: 24px; background: var(--accent-yellow); border-radius: 4px; }
.stats-banner {
  background: #fff;
  color: #000;
  padding: 20px 0;
  margin-top: 40px;
}
.stats-container { display: flex; justify-content: space-around; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { color: var(--accent-red); font-size: 28px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.stat-label { font-size: 14px; color: #333; }

/* 通用区块 */
.section-light {
  background: var(--light-bg);
  padding: 120px 0;
  color: #000;
}
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-title-wrap { display: flex; flex-direction: column; }
.sub-title {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.sub-title::before {
  content: "";
  display: block;
  width: 4px;
  height: 16px;
  background: var(--accent-red);
}
.sub-title.yellow::before { background: var(--accent-yellow); }
.sub-title.red::before { background: var(--accent-red); }
.section-title { font-size: 32px; font-weight: 900; }
.section-desc { color: #666; font-size: 15px; max-width: 400px; }

/* 六大频道 */
.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.channel-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid #222;
}
.channel-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 31, 46, 0.15), transparent 60%);
  pointer-events: none;
}
.channel-icon { display: inline-block; background: var(--accent-yellow); color: #000; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-size: 12px; margin-bottom: 20px; position: relative; z-index: 1; }
.channel-title { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.channel-desc { color: var(--text-sub); font-size: 14px; position: relative; z-index: 1; }

/* 卡片网格 (今日大赛 & 热门爆料) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}
.news-img-wrapper { position: relative; height: 200px; }
.news-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.tag-red { position: absolute; top: 12px; left: 12px; background: var(--accent-red); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.tag-yellow { position: absolute; top: 12px; right: 12px; background: var(--accent-yellow); color: #000; font-size: 12px; padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.news-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-title { font-size: 18px; font-weight: 900; margin-bottom: 8px; color: #000; }
.news-desc { font-size: 14px; color: #666; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.news-tags span { background: #eee; color: #666; font-size: 12px; padding: 4px 8px; border-radius: 4px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #999; margin-top: auto; }
.news-heat { color: var(--accent-red); font-weight: bold; }
.btn-outline-red {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
}

/* 黑料排行榜 */
.rank-layout { display: flex; gap: 40px; }
.rank-left { width: 40%; background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #ddd; }
.rank-item { display: flex; align-items: center; padding: 16px 0; border-bottom: 1px solid #eee; }
.rank-item:last-child { border-bottom: none; }
.rank-num { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-weight: bold; font-size: 14px; margin-right: 16px; }
.rank-item:nth-child(1) .rank-num { background: var(--accent-red); color: #fff; }
.rank-item:nth-child(2) .rank-num { background: var(--accent-yellow); color: #000; }
.rank-item:nth-child(3) .rank-num { background: var(--accent-yellow); color: #000; }
.rank-item:nth-child(n+4) .rank-num { background: #eee; color: #666; }
.rank-title { flex: 1; font-size: 15px; font-weight: bold; color: #333; }
.rank-heat { color: var(--accent-red); font-weight: bold; font-size: 14px; }
.rank-right { width: 60%; display: flex; flex-direction: column; gap: 24px; }
.rank-right-top { display: flex; gap: 20px; }
.rank-right-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #ddd; flex: 1; }
.rank-right-card .news-info { padding: 16px; }
.rank-right-card .news-title { font-size: 16px; }
.promo-box { background: #FFF0F2; border: 1px solid #FFD0D5; border-radius: 12px; padding: 30px; text-align: center; }
.promo-title { color: var(--accent-red); font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.promo-desc { color: #666; font-size: 14px; margin-bottom: 20px; }
.btn-red-solid { background: var(--accent-red); color: #fff; padding: 12px 24px; border-radius: 6px; font-weight: bold; display: inline-block; }

/* 合集精选 */
.section-dark-red { background: #2B080C; padding: 120px 0; }
.collection-layout { display: flex; gap: 60px; }
.collection-left { width: 45%; }
.collection-left .section-title { color: #fff; margin-bottom: 20px; font-size: 36px; }
.collection-desc { color: #aaa; font-size: 16px; margin-bottom: 40px; }
.collection-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.collection-tags span { background: #3D1016; border: 1px solid #55151D; color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.collection-tags span::before { content: "★"; color: var(--accent-yellow); font-size: 12px; }
.collection-btns { display: flex; gap: 16px; }
.btn-yellow { background: var(--accent-yellow); color: #000; padding: 14px 28px; border-radius: 6px; font-weight: bold; font-size: 16px; }
.btn-dark-outline { background: #1A0507; color: #fff; border: 1px solid #55151D; padding: 14px 28px; border-radius: 6px; font-weight: bold; font-size: 16px; }
.collection-right { width: 55%; display: flex; flex-direction: column; gap: 24px; }

/* 页脚 */
.footer { background: #000; padding: 80px 0 40px; color: #666; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { margin-bottom: 20px; line-height: 1.8; }
.social-icons { display: flex; gap: 12px; }
.social-icons span { width: 36px; height: 36px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: bold; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #222; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }

/* 移动端悬浮条 */
.mobile-download-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid #222;
  padding: 12px 20px;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
}
.mobile-download-bar span { font-size: 14px; font-weight: bold; color: #fff; }
.mobile-download-bar .btn { background: var(--accent-red); color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: bold; font-size: 14px; }

/* 响应式 */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .hero-content h1 { font-size: 40px; }
}
@media (max-width: 992px) {
  .section-gap { padding: 80px 0; }
  .hero-content h1 { font-size: 36px; }
  .hero-content h1 span:last-child { font-size: 28px; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-layout { flex-direction: column; }
  .rank-left, .rank-right { width: 100%; }
  .collection-layout { flex-direction: column; }
  .collection-left, .collection-right { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section-gap { padding: 72px 0; }
  .header { height: 60px; }
  .nav-links, .search-box { display: none; }
  .menu-toggle { display: block; }
  .hero-section { padding: 60px 0; }
  .hero-content h1 { font-size: 32px; }
  .hero-content h1 span:last-child { font-size: 24px; }
  .hero-btns { flex-direction: column; }
  .stats-container { flex-direction: column; gap: 20px; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .rank-right-top { flex-direction: column; }
  .collection-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .mobile-download-bar { display: flex; }
  .hero-nav { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content h1 span:last-child { font-size: 20px; }
  .section-title { font-size: 24px; }
  .channels-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-secondary, .btn-yellow, .btn-dark-outline { width: 100%; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-content { animation: none; }
}