:root {
  --bg: #08080A;
  --card-bg: #141416;
  --primary: #FF1F2E;
  --accent: #FFC107;
  --text-main: #FFFFFF;
  --text-sub: #8E8E93;
  --border: rgba(255, 31, 46, 0.2);
  --border-gray: rgba(142, 142, 147, 0.2);
  --light-bg: #F4F4F5;
  --container-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-gap { padding: 120px 0; }
@media (max-width: 768px) { .section-gap { padding: 72px 0; } }

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

/* 导航栏 */
header { position: sticky; top: 0; z-index: 100; background: rgba(8, 8, 10, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--primary); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 900; }
.brand img { height: 32px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--text-sub); }
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.search-box { background: #000; border: 1px solid var(--primary); border-radius: 4px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; color: var(--text-sub); font-size: 14px; }
.btn-download { background: var(--primary); color: #fff; padding: 10px 24px; border-radius: 4px; font-weight: 700; font-size: 15px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.btn-download:hover { background: #e01727; }

/* 首屏沉浸 */
.hero { position: relative; background: radial-gradient(circle at center bottom, rgba(255, 31, 46, 0.4) 0%, rgba(8, 8, 10, 1) 70%), url('images/3.webp') center/cover; min-height: 600px; display: flex; align-items: center; padding: 80px 0; }
.hero-content { max-width: 600px; }
.hero-tag { background: var(--accent); color: #000; font-weight: 900; padding: 6px 16px; border-radius: 20px; display: inline-block; margin-bottom: 24px; font-size: 14px; }
.hero h1 { font-size: 56px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--primary); font-size: 64px; margin-bottom: 8px; }
.hero p { color: var(--text-sub); font-size: 18px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; }
.btn-primary { background: linear-gradient(90deg, #FF1F2E, #FF4B5C); color: #fff; padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; min-height: 48px; display: flex; align-items: center; }
.btn-outline { background: #000; color: var(--primary); border: 2px solid #fff; padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; min-height: 48px; display: flex; align-items: center; }
.hero-controls { position: absolute; right: 40px; bottom: 40px; display: flex; gap: 12px; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #555; }
.dot.active { width: 40px; border-radius: 6px; background: var(--accent); }

/* 首屏下方数据横幅 */
.stats-banner { background: #fff; padding: 32px 0; color: #000; display: flex; justify-content: space-around; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-icon { color: var(--primary); font-size: 24px; margin-bottom: 8px; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--primary); }
.stat-desc { font-size: 14px; color: #333; font-weight: 500; }

/* 通用区块标题样式 */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-title-wrap { max-width: 600px; }
.sub-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sub-title.red { color: var(--primary); }
.sub-title.yellow { color: var(--accent); }
.sub-title::before { content: ''; width: 4px; height: 16px; background: currentColor; display: block; }
.section-header h2 { font-size: 36px; font-weight: 900; color: #000; line-height: 1.2; }
.section-header h2.light { color: #fff; }
.section-desc { color: var(--text-sub); font-size: 16px; margin-top: 12px; }
.section-btn { border: 1px solid var(--primary); color: var(--primary); background: #fff; padding: 12px 24px; border-radius: 4px; font-weight: 700; min-height: 48px; display: flex; align-items: center; }

/* 白底浅色区块 */
.light-section { background: #fff; color: #333; }
.light-section .section-desc { color: #666; }

/* 六大频道导航 */
.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.channel-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 32px; position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.channel-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at bottom left, rgba(255, 31, 46, 0.15), transparent 70%); }
.channel-icon { background: var(--accent); color: #000; width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 16px; position: relative; z-index: 1; }
.channel-card h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.channel-card p { color: var(--text-sub); font-size: 14px; position: relative; z-index: 1; }

/* 网格卡片(今日大赛/热门爆料/网红翻车/明星八卦) */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eee; transition: transform 0.3s; }
.content-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 4px; }
.card-index { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #000; font-size: 14px; font-weight: 900; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.card-info { padding: 24px; }
.card-info h3 { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 12px; }
.card-info p { font-size: 14px; color: #666; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.card-tags span { background: #f0f0f0; color: #666; font-size: 12px; padding: 4px 8px; border-radius: 4px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-sub); border-top: 1px solid #eee; padding-top: 16px; }
.card-footer .author { display: flex; gap: 12px; }
.card-footer .hot { color: var(--primary); font-weight: 700; }

/* 黑料排行榜 */
.rank-layout { display: grid; grid-template-columns: 4fr 6fr; gap: 24px; }
.rank-list { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #eee; }
.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; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; margin-right: 16px; background: #eee; color: #666; }
.rank-num.top1 { background: var(--primary); color: #fff; }
.rank-num.top2 { background: var(--accent); color: #000; }
.rank-num.top3 { background: #ffad33; color: #000; }
.rank-title { flex: 1; font-weight: 500; font-size: 15px; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-hot { color: var(--primary); font-weight: 700; font-size: 14px; margin-left: 12px; }

.rank-right { display: flex; flex-direction: column; gap: 24px; }
.rank-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.alert-box { background: #FFF0F1; border: 1px solid #FFD0D4; border-radius: 12px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.alert-box h4 { color: var(--primary); font-size: 24px; font-weight: 900; margin: 0; }
.alert-box p { color: #666; font-size: 14px; margin: 0; }
.alert-box .btn { background: var(--primary); color: #fff; padding: 10px 24px; border-radius: 4px; font-weight: 700; font-size: 14px; min-height: 48px; display: flex; align-items: center; }

/* 合集精选 */
.collection-section { background: #2B080C; color: #fff; }
.collection-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.collection-left h2 { font-size: 40px; font-weight: 900; line-height: 1.2; margin-bottom: 24px; }
.collection-left p { color: var(--text-sub); font-size: 16px; margin-bottom: 32px; }
.collection-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.collection-pill { background: rgba(255, 31, 46, 0.1); border: 1px solid rgba(255, 31, 46, 0.3); color: #fff; padding: 10px 20px; border-radius: 30px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.collection-pill span { color: var(--accent); }
.collection-btns { display: flex; gap: 16px; }
.btn-yellow { background: var(--accent); color: #000; padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; min-height: 48px; display: flex; align-items: center; }
.btn-dark { background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; min-height: 48px; display: flex; align-items: center; }
.collection-right { display: flex; flex-direction: column; gap: 24px; }

/* 页脚 */
footer { background: #000; color: #fff; padding: 80px 0 40px; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 900; margin-bottom: 20px; }
.footer-brand img { height: 40px; }
.footer-desc { color: var(--text-sub); font-size: 14px; margin-bottom: 24px; line-height: 1.8; }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-sub); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact p { color: var(--text-sub); font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; color: #555; font-size: 12px; }
.update-time { font-size: 12px; color: #555; margin-left: 16px; }

/* 移动端悬浮下载条 */
.mobile-download-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #141416; padding: 12px 20px; border-top: 1px solid var(--border); z-index: 1000; justify-content: space-between; align-items: center; }
.mobile-download-bar span { font-weight: 700; color: #fff; font-size: 14px; }
.mobile-download-bar .btn-download { padding: 8px 16px; font-size: 14px; min-height: 40px; }

/* 响应式 */
@media (max-width: 1200px) {
  .hero h1 { font-size: 48px; }
  .hero h1 span { font-size: 56px; }
  .section-gap { padding: 80px 0; }
  .collection-left h2 { font-size: 32px; }
}
@media (max-width: 992px) {
  .nav-links { display: none; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-layout { grid-template-columns: 1fr; }
  .collection-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section-gap { padding: 72px 0; }
  .hero { padding: 60px 0; min-height: auto; background-position: center top; }
  .hero h1 { font-size: 36px; }
  .hero h1 span { font-size: 42px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { width: 100%; justify-content: center; }
  .hero-controls { display: none; }
  .stats-banner { flex-direction: column; gap: 24px; padding: 40px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-header h2 { font-size: 28px; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .rank-cards { grid-template-columns: 1fr; }
  .collection-btns { flex-direction: column; }
  .collection-btns a { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mobile-download-bar { display: flex; }
  footer { padding-bottom: 100px; }
}
@media (max-width: 480px) {
  .channels-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero h1 span { font-size: 34px; }
  .nav-actions .search-box { display: none; }
}