/* ========== Hero ========== */
.news-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #f8fbff 0%, #eef5ff 30%, #c7dcff 68%, #edf4ff 100%);
  padding: 54px 0 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  min-height: 356px;
}

.hero-left {
  flex: 1;
  padding-bottom: 44px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 560px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-secondary);
  line-height: 2;
}

/* 地球 + 浮动面板 */
.hero-visual {
  flex: 0 0 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 356px;
}

.globe-wrap {
  position: absolute;
  left: 36px;
  bottom: 0;
  width: 356px;
  height: 356px;
  border-radius: 50%;
  transform: translateZ(0);
}

.globe-wrap::before,
.globe-wrap::after {
  content: '';
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.globe-wrap::before {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.56), transparent 24%),
    radial-gradient(circle at 74% 68%, rgba(1,26,74,0.32), transparent 48%);
  mix-blend-mode: screen;
}

.globe-wrap::after {
  box-shadow:
    inset -34px -24px 58px rgba(4,28,88,0.42),
    inset 18px 20px 36px rgba(255,255,255,0.18),
    0 0 42px rgba(88,190,255,0.42);
}

.globe-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform-origin: 50% 50%;
  animation: earthRotate 30s linear infinite;
  filter: drop-shadow(0 20px 32px rgba(27,99,190,0.25));
  will-change: transform;
}

@keyframes earthRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.float-panel {
  position: absolute;
  right: 24px;
  top: 4px;
  z-index: 3;
  width: 232px;
  background: rgba(255,255,255,0.78);
  border-radius: 8px;
  padding: 16px 14px 14px;
  box-shadow: 0 18px 42px rgba(48,92,156,0.12);
  border: 1px solid rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
}

.fp-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}

.fp-list { list-style: none; margin-bottom: 10px; }

.fp-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.fp-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  animation: fpPulse 2s ease-in-out infinite;
}
@keyframes fpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.fp-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fp-time {
  font-size: 10px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.fp-more {
  display: block;
  font-size: 12px;
  color: var(--color-primary);
  text-decoration: none;
  text-align: left;
  font-weight: 500;
  padding-top: 6px;
}
.fp-more:hover { text-decoration: underline; }

/* ========== Section 公共 ========== */
.section { padding: 48px 0; }
.section.bg-gray { background: #f7f8fb; }

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.sec-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.sec-more {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.sec-more:hover { text-decoration: underline; }

/* ========== 热门资讯卡片 ========== */
.news-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  grid-template-rows: repeat(2, 108px);
  gap: 14px 18px;
}

.news-card {
  border-radius: 2px;
  padding: 18px 20px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  color: white;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15,45,82,0.22);
}

.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.news-card:hover::before { opacity: 1; }

.nc-content {
  position: relative;
  z-index: 1;
}

.nc-large {
  grid-row: span 2;
  min-height: 230px;
  padding: 18px 20px 22px;
}

.nc-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  display: block;
  padding: 4px 10px;
  background: #246BFF;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  z-index: 1;
}

.nc-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.nc-large .nc-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.nc-summary {
  max-width: 92%;
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ========== 数据排名 ========== */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rank-col {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1px solid var(--color-border-light);
}

.rc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.rc-items { display: flex; flex-direction: column; gap: 8px; }

.rc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.rc-rank {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #f1f5f9;
  flex-shrink: 0;
}
.rc-rank.rank-gold {
  background: linear-gradient(135deg, #FFE9A0 0%, #F5B62B 55%, #E09B00 100%);
  color: #4A2E00;
  border: 1px solid rgba(255, 200, 60, 0.7);
  box-shadow: 0 2px 8px rgba(245, 182, 43, 0.5);
}
.rc-rank.rank-silver {
  background: linear-gradient(135deg, #FAFBFC 0%, #C7D0D6 55%, #94A3AD 100%);
  color: #2E3C44;
  border: 1px solid rgba(199, 208, 214, 0.7);
  box-shadow: 0 2px 8px rgba(148, 163, 173, 0.5);
}
.rc-rank.rank-bronze {
  background: linear-gradient(135deg, #E6B07A 0%, #B97A2E 55%, #8A5519 100%);
  color: #fff;
  border: 1px solid rgba(230, 176, 122, 0.7);
  box-shadow: 0 2px 8px rgba(185, 122, 46, 0.5);
}

.rc-name {
  width: 52px;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-bar-wrap {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.rc-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #93C5FD, #3B82F6);
  min-width: 4px;
  position: relative;
  overflow: hidden;
  transform-origin: left center;
}

.rc-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  transform: translateX(-100%);
}

.rc-bar.is-visible {
  animation: rcBarGrow 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rc-bar.is-visible::after {
  animation: rcBarShine 2.5s ease-in-out 1s 1 both;
}

@keyframes rcBarGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes rcBarShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.rc-val {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
  flex-shrink: 0;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

/* ========== 行业专题 ========== */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.topic-card {
  border-radius: 2px;
  padding: 24px 18px 18px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  color: white;
  transition: all var(--transition-normal);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15,45,82,0.2);
}

.topic-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.topic-card:hover::before { opacity: 1; }

.topic-card > * {
  position: relative;
  z-index: 1;
}

.tc-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.tc-points {
  list-style: none;
  margin-bottom: auto;
  flex: 1;
}
.tc-points li {
  font-size: 13px;
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  opacity: 0.94;
  line-height: 1.5;
}
.tc-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.tc-btn {
  align-self: flex-start;
  padding: 8px 16px;
  min-width: 102px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 6px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 22px;
}
.tc-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

/* 响应式 */
@media (max-width: 1024px) {
  .news-hero { padding: 44px 0 36px; }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
    min-height: auto;
  }
  .hero-left { padding-bottom: 0; }
  .hero-desc { margin: 0 auto; font-size: 18px; }
  .hero-visual {
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    max-width: 560px;
    min-height: 360px;
  }
  .globe-wrap {
    left: 50%;
    bottom: 0;
    width: 360px;
    height: 360px;
    transform: translateX(-50%);
  }
  .float-panel { right: 24px; left: auto; top: 18px; transform: none; }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .nc-large {
    grid-column: span 2;
    grid-row: auto;
  }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 16px; line-height: 1.8; }
  .hero-visual { min-height: 316px; }
  .globe-wrap {
    bottom: 0;
    width: 316px;
    height: 316px;
  }
  .float-panel {
    position: absolute;
    left: 50%;
    right: auto;
    top: 12px;
    width: calc(100% - 28px);
    max-width: 320px;
    transform: translateX(-50%);
  }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 150px; }
  .nc-large {
    grid-column: auto;
    min-height: 210px;
  }
  .nc-large .nc-title { font-size: 22px; }
  .rank-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .news-hero { padding-top: 36px; }
  .hero-visual { min-height: 286px; }
  .globe-wrap {
    bottom: 0;
    width: 286px;
    height: 286px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe-img,
  .rc-bar,
  .rc-bar::after { animation: none; }
}
