/* 基础重置与变量 */
:root {
  --bg-sun: #f7f5f0;
  --ink-black: #111111;
  --ink-gray: #555555;
  --warn-yellow: #f5c518;
  --warn-orange: #f26b1d;
  --warn-red: #d9251c;
  --water-blue: #2995db;
  --line-color: #e0ddd5;
  --header-height: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-sun);
  color: var(--ink-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
.mono { font-family: "Courier New", Courier, monospace; font-weight: bold; }

/* 通用按钮 */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--warn-red);
  color: #ffffff;
  padding: 0 24px;
  height: 48px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  position: relative;
  transition: background-color 0.2s;
}
.btn-download:hover { background-color: #b51d15; }
.btn-download::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  animation: blink 1s infinite alternate;
}
@keyframes blink { from { opacity: 0.3; } to { opacity: 1; } }
.btn-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-black);
  color: var(--ink-black);
  padding: 0 16px;
  height: 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s;
}
.btn-follow:hover { background-color: var(--ink-black); color: #fff; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background-color: rgba(247, 245, 240, 0.95);
  border-bottom: 1px solid var(--line-color);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.header-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; letter-spacing: -0.5px; }
.header-brand img { height: 32px; width: auto; }
.header-nav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.header-nav::-webkit-scrollbar { display: none; }
.nav-item { display: flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; }
.nav-dot.yellow { background-color: var(--warn-yellow); }
.nav-dot.orange { background-color: var(--warn-orange); }
.nav-dot.red { background-color: var(--warn-red); }
.header-actions { display: flex; align-items: center; }
.header-download-wrap { position: relative; height: 44px; }
.header-download-wrap .btn-download { height: 44px; padding: 0 20px; font-size: 15px; }
.qr-popup {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--line-color);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
  text-align: center;
}
.header-download-wrap:hover .qr-popup { display: block; }
.qr-popup img { width: 120px; height: 120px; background: #eee; margin-bottom: 8px; }

/* 预警字幕条 */
.alert-ticker {
  background-color: var(--ink-black);
  color: var(--warn-yellow);
  padding: 8px 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: 13px;
  font-family: monospace;
  margin-top: var(--header-height);
}
.ticker-content { display: inline-block; animation: scroll-ticker 20s linear infinite; }
@keyframes scroll-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero 首屏 */
.hero { padding: 40px 24px 60px; max-width: 1400px; margin: 0 auto; position: relative; }
.hero-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; position: relative; z-index: 2; }
.hero-text h1 { font-size: 42px; line-height: 1.1; font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.hero-text p { color: var(--ink-gray); font-size: 16px; margin-bottom: 24px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-btns .btn-follow { border-color: var(--line-color); font-weight: normal; }
.hero-stats { font-size: 13px; color: var(--ink-gray); display: flex; gap: 16px; margin-top: 24px; }
.hero-stats span { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 18px; color: var(--ink-black); }

.hero-visuals { display: flex; gap: 20px; overflow: hidden; }
.temp-column { display: flex; gap: 16px; align-items: flex-end; }
.hero-card { width: 160px; flex-shrink: 0; position: relative; aspect-ratio: 3/4; background: #ddd; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--warn-yellow); z-index: 2; }
.hero-card.orange::before { background: var(--warn-orange); }
.hero-card.red::before { background: var(--warn-red); }
.temp-read { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 2px; z-index: 2; }
.card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 8px 8px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; z-index: 2; }
.card-info h3 { font-size: 13px; margin-bottom: 2px; }
.card-info p { font-size: 11px; opacity: 0.8; }

.hot-list { background: #fff; border: 1px solid var(--line-color); padding: 16px; border-radius: 8px; width: 280px; flex-shrink: 0; }
.hot-list h4 { font-size: 15px; margin-bottom: 12px; border-bottom: 2px solid var(--ink-black); padding-bottom: 8px; }
.hot-item { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.hot-item img { width: 32px; height: 42px; object-fit: cover; border-radius: 2px; }
.hot-item-info { flex: 1; overflow: hidden; }
.hot-item-info h5 { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-item-info p { font-size: 11px; color: var(--ink-gray); }
.hot-temp { font-size: 12px; font-weight: bold; color: var(--warn-red); }

/* 填充海报墙 */
.bg-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; opacity: 0.15; pointer-events: none; z-index: 1; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); }
.bg-wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* 榜单区块 */
.section-charts { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: 32px; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.section-head p { color: var(--ink-gray); }
.charts-layout { display: flex; gap: 32px; }
.charts-list { flex: 1; }
.chart-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-color); }
.chart-item img { width: 50px; height: 66px; object-fit: cover; border-radius: 4px; }
.chart-item-info { flex: 1; }
.chart-item-info h3 { font-size: 16px; }
.chart-item-info p { font-size: 13px; color: var(--ink-gray); }
.chart-temp { font-size: 24px; font-weight: 900; font-family: monospace; }
.chart-temp span { font-size: 14px; font-weight: normal; }

/* 题材区块 */
.section-genres { padding: 80px 24px; background: var(--warn-orange); color: #fff; }
.section-genres .section-head h2 { color: #fff; }
.section-genres .section-head p { color: rgba(255,255,255,0.8); }
.genres-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.genre-circle { width: 120px; height: 120px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; position: relative; cursor: pointer; transition: transform 0.3s; }
.genre-circle:hover { transform: scale(1.1); }
.genre-circle.hot { background: rgba(217, 37, 28, 0.8); border-color: var(--warn-red); }
.genre-circle.warm { background: rgba(0, 0, 0, 0.2); }

/* 浪报区块 */
.section-wave { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.wave-timeline { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; }
.time-node { flex-shrink: 0; width: 120px; }
.time-node h4 { font-size: 18px; font-weight: 900; margin-bottom: 8px; border-bottom: 2px solid var(--warn-orange); display: inline-block; }
.time-node img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.time-node p { font-size: 13px; color: var(--ink-gray); }

/* 路径区块 */
.section-path { padding: 80px 24px; background: #fafafa; border-top: 1px solid var(--line-color); border-bottom: 1px solid var(--line-color); }
.path-map { max-width: 1000px; margin: 0 auto; position: relative; height: 400px; background: radial-gradient(circle, #fff, #f0f0f0); border-radius: 8px; border: 1px solid var(--line-color); padding: 24px; }
.path-nodes { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.path-item { text-align: center; }
.path-item img { width: 80px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; margin: 0 auto 12px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.path-item p { font-size: 14px; font-weight: bold; margin-bottom: 8px; }

/* 实况区块 */
.section-live { padding: 80px 24px; max-width: 1400px; margin: 0 auto; }
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.live-grid .hero-card { width: 100%; }

/* 追这波区块 */
.section-follow { padding: 80px 24px; background: var(--warn-yellow); }
.follow-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.follow-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.follow-card { background: #fff; padding: 8px; border-radius: 4px; text-align: center; }
.follow-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; margin-bottom: 8px; }

/* 降温区块 */
.section-cool { padding: 80px 24px; max-width: 1000px; margin: 0 auto; color: var(--water-blue); }
.section-cool .section-head h2 { color: var(--ink-black); }
.cool-layout { display: flex; align-items: center; justify-content: center; gap: 60px; margin-top: 40px; }
.phone-mockup { width: 240px; border: 8px solid var(--ink-black); border-radius: 32px; overflow: hidden; position: relative; background: #000; }
.phone-mockup img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cool-notes { display: flex; flex-direction: column; gap: 24px; }
.cool-note { display: flex; gap: 12px; align-items: center; }
.cool-note span { font-weight: bold; font-size: 18px; }

/* FAQ */
.section-faq { padding: 80px 24px; max-width: 900px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line-color); padding: 16px 0; }
.faq-list summary { font-weight: bold; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin-top: 12px; color: var(--ink-gray); font-size: 15px; }

/* 收尾下载 */
.section-final { padding: 100px 24px; background: var(--warn-red); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final-sign { background: rgba(0,0,0,0.2); padding: 40px; border-radius: 16px; display: inline-block; border: 2px solid rgba(255,255,255,0.3); }
.final-sign h2 { font-size: 36px; margin-bottom: 24px; font-weight: 900; }
.final-btns { display: flex; gap: 16px; justify-content: center; }
.final-btns .btn-download { background: #fff; color: var(--warn-red); }
.final-btns .btn-download::after { background: var(--warn-red); }

/* 页脚 */
.site-footer { padding: 40px 24px; border-top: 1px solid var(--line-color); text-align: center; font-size: 13px; color: var(--ink-gray); }
.footer-about { margin-top: 16px; }
.footer-about summary { cursor: pointer; display: inline-block; color: var(--ink-gray); }
.footer-about summary::-webkit-details-marker { display: none; }
.footer-links { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-links a { color: var(--ink-gray); }
.footer-links a:hover { text-decoration: underline; }

/* 响应式调整 */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visuals { overflow-x: auto; padding-bottom: 16px; }
  .charts-layout { flex-direction: column; }
  .follow-layout { grid-template-columns: 1fr; }
  .cool-layout { flex-direction: column; gap: 32px; }
}
@media (max-width: 767px) {
  .header-nav { display: none; }
  .hero-text h1 { font-size: 32px; }
  .hero-card { width: 140px; }
  .hot-list { min-width: 100%; }
  .path-nodes { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .path-item { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}