/* ===== 首页专属样式，作用域限定 .page-home ===== */
.page-home {
  overflow-x: hidden;
}

/* ---------- 首屏标题区 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 40px 0 48px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-bottom: 1px solid var(--dark-red);
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--blue-gray);
  margin-bottom: 28px;
}

.page-home .breadcrumb a {
  color: var(--blue-gray);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.page-home .breadcrumb a:hover {
  color: var(--gold);
}

.page-home .page-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-home .page-head__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 18ch;
  letter-spacing: 0.01em;
}

.page-home .page-head__intro {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.8;
  color: var(--blue-gray);
  max-width: 820px;
  margin: 0;
}

/* ---------- 速度线装饰 ---------- */
.page-home .speed-line {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.page-home .speed-line--a {
  top: 24px;
  right: -30px;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red));
  transform: rotate(-18deg);
}

.page-home .speed-line--b {
  bottom: 32px;
  left: -20px;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: rotate(14deg);
}

.page-home .speed-line--c {
  top: 120px;
  right: 12%;
  width: 80px;
  height: 1px;
  background: var(--neon);
  opacity: 0.5;
  transform: rotate(24deg);
}

/* ---------- 区块通用排版 ---------- */
.page-home .section {
  padding: 64px 0;
}

.page-home .section--alt {
  background: var(--ink-2);
}

.page-home .section-head {
  margin-bottom: 40px;
  max-width: 660px;
}

.page-home .section__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-home .section__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.page-home .section__desc {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.7;
  color: var(--blue-gray);
}

/* ---------- 实时赛事数据看板 ---------- */
.page-home .board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .board-main {
  background: linear-gradient(145deg, var(--ink-2), var(--ink));
  border: 1px solid var(--dark-red);
  border-radius: var(--radius);
  padding: 24px;
}

.page-home .board-module__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .board-tabs {
  display: inline-flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 999px;
}

.page-home .board-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--blue-gray);
}

.page-home .board-tab.is-active {
  background: var(--red);
  color: var(--white);
}

.page-home .board-live {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--neon);
  padding: 4px 10px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  animation: homePulse 2s infinite;
}

.page-home .board-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .board-stats .stat-block {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
}

.page-home .board-stats .stat-block__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
}

.page-home .board-stats .stat-block--red .stat-block__value {
  color: var(--red);
}

.page-home .board-stats .stat-block__label {
  font-size: 13px;
  color: var(--blue-gray);
}

.page-home .board-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.page-home .board-chart__grid line {
  stroke: rgba(211, 222, 232, 0.12);
  stroke-width: 1;
}

/* ---------- 实时播报条 ---------- */
.page-home .live-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 29, 58, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  overflow: hidden;
}

.page-home .live-ticker__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}

.page-home .live-ticker__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: homeTickerScroll 20s linear infinite;
}

.page-home .live-ticker__track span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-gray);
}

/* ---------- 图片占位通用 ---------- */
.page-home .figure-frame {
  margin: 0;
}

.page-home .figure-frame img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  object-fit: cover;
}

.page-home .figure-frame--media img {
  border-radius: var(--radius);
}

.page-home .figure-frame figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-gray);
  margin-top: 10px;
  opacity: 0.8;
}

/* ---------- 本月调优重点 ---------- */
.page-home .tune-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .tune-media .figure-frame img {
  border-radius: var(--radius);
}

.page-home .tune-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .tune-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 3px solid var(--gold);
  transition: transform 0.3s var(--ease);
}

.page-home .tune-item:hover {
  transform: translateX(6px);
}

.page-home .tune-item__num {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.page-home .tune-item__body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}

.page-home .tune-item__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--blue-gray);
  margin: 0;
}

/* ---------- 核心功能 ---------- */
.page-home .feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .feat-card {
  background: var(--ink-2);
  border: 1px solid var(--dark-red);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
}

.page-home .feat-card--red {
  border-color: var(--red);
}

.page-home .feat-card--gold {
  border-color: var(--gold);
}

.page-home .feat-card__icon {
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}

.page-home .feat-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  line-height: 1.35;
}

.page-home .feat-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--blue-gray);
  flex-grow: 1;
  margin: 0;
}

.page-home .feat-card__media {
  overflow: hidden;
}

.page-home .feat-card__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .feat-card--media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.page-home .feat-card__inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

/* ---------- 连续观赛条 ---------- */
.page-home .watch-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
  background: var(--ink-2);
  border: 1px solid var(--dark-red);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .watch-strip__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-home .watch-strip__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-home .watch-strip__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0;
}

.page-home .watch-strip__content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.page-home .watch-strip__content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--blue-gray);
  margin: 0 0 4px;
}

/* ---------- 平台数据 ---------- */
.page-home .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.page-home .stats-grid .stat-block {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}

.page-home .stats-grid .stat-block__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.page-home .stats-grid .stat-block__label {
  font-size: 14px;
  color: var(--blue-gray);
}

.page-home .stats-grid .stat-block--red .stat-block__value {
  color: var(--red);
}

.page-home .stats-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--blue-gray);
  max-width: 780px;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 0;
}

/* ---------- 最新动态 ---------- */
.page-home .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .news-card {
  display: block;
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--dark-red);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .news-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.page-home .news-card__tag {
  display: inline-block;
  background: rgba(244, 162, 97, 0.12);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.page-home .news-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.page-home .news-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--blue-gray);
  margin: 0;
}

/* ---------- CTA 收束 ---------- */
.page-home .home-cta {
  padding: 48px 0 80px;
}

.page-home .cta-panel {
  position: relative;
  background: linear-gradient(145deg, #122342, var(--ink-2));
  border: 1px solid var(--dark-red);
  border-radius: calc(var(--radius) + 8px);
  padding: 40px 28px;
  text-align: center;
  overflow: hidden;
}

.page-home .cta-panel::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.35), transparent 70%);
  pointer-events: none;
}

.page-home .cta-panel__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 32px);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-home .cta-panel__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--blue-gray);
  max-width: 620px;
  margin: 0 auto 24px;
}

.page-home .cta-panel__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 动画 ---------- */
@keyframes homeTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes homePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .live-ticker__track,
  .page-home .board-live {
    animation: none;
  }
  .page-home .tune-item,
  .page-home .feat-card,
  .page-home .news-card {
    transition: none;
  }
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 768px) {
  .page-home .section {
    padding: 88px 0;
  }

  .page-home .home-hero {
    padding: 56px 0 72px;
  }

  .page-home .page-head__title {
    font-size: clamp(36px, 5vw, 56px);
  }

  .page-home .board-grid {
    grid-template-columns: 8fr 4fr;
  }

  .page-home .tune-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .feat-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .feat-card--media {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-home .feat-card--media .feat-card__media {
    height: 100%;
  }

  .page-home .feat-card--media .feat-card__media img {
    height: 100%;
  }

  .page-home .watch-strip {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .watch-strip__media img {
    height: 100%;
    min-height: 260px;
  }

  .page-home .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-home .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 桌面端微调 ---------- */
@media (min-width: 1200px) {
  .page-home .board-main {
    padding: 32px;
  }

  .page-home .tune-item {
    padding: 24px;
  }

  .page-home .cta-panel {
    padding: 56px 48px;
  }
}
