.page-home,
.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home {
  --home-red-nav: linear-gradient(92deg, #E10600 0%, #FF4B3E 100%);
  --home-gold-glow: rgba(255, 215, 0, 0.14);
  --home-panel-bg: rgba(20, 20, 20, 0.72);
  --home-white-soft: rgba(255, 255, 255, 0.72);
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--c-text-dark);
  background: var(--c-light-gray);
}

/* ===== Hero 主视觉 ===== */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px;
  padding: clamp(2.4rem, 7vw, 5.6rem) clamp(1.25rem, 5vw, 4rem);
  color: var(--c-text-light);
  background: var(--grad-darkred);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 52px), 0 100%);
  overflow: hidden;
}

.page-home .home-hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 46%, rgba(225, 6, 0, 0.3) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.6) 0%, transparent 40%);
}

.page-home .home-hero__speedline {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.6) 0 1px,
    transparent 1px 22px
  );
}

.page-home .home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-home .home-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--home-white-soft);
}

.page-home .home-crumb__link {
  color: var(--c-gold);
  text-decoration: none;
}

.page-home .home-crumb__sep {
  color: rgba(255, 255, 255, 0.5);
}

.page-home .home-crumb__current {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.page-home .home-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-data-green);
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.6);
  animation: page-home-pulse 1.8s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.page-home .home-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.page-home .home-hero__lead {
  max-width: 660px;
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__board {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin: 52px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 215, 0, 0.34);
  border-radius: 4px;
  background: var(--home-panel-bg);
  backdrop-filter: blur(12px);
}

.page-home .home-hero__board-index {
  flex: 0 0 auto;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--c-text-light);
  background: var(--home-red-nav);
  border-radius: 3px;
}

.page-home .home-hero__board-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .home-hero__board-text strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--c-gold-soft);
}

.page-home .home-hero__board-text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-hero__board-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 22px;
  color: var(--c-primary-light);
}

.page-home .home-hero__rail {
  display: none;
}

/* ===== 通用分节标题 ===== */
.page-home .home-section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.page-home .home-section-head__index {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
}

.page-home .home-section-head__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--c-text-dark);
}

.page-home .home-section-head__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-mid-gray);
}

/* ===== 电脑端分类标签导航 ===== */
.page-home .home-cats {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--c-light-gray);
}

.page-home .home-cats__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-home .home-cats__toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-cat-tag {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-dark);
  background: #fff;
  cursor: pointer;
  transition: all 0.25s var(--speed-ease);
}

.page-home .home-cat-tag:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.page-home .home-cat-tag.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--home-red-nav);
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.3);
}

.page-home .home-cats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .home-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 24px 20px 20px;
  border: 1px solid #e6e6e6;
  background: #fff;
  overflow: hidden;
}

.page-home .home-cat-card::before,
.page-home .home-replay-card::before,
.page-home .home-trust__item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 24px 24px 0;
  border-style: solid;
  border-color: transparent var(--c-primary) transparent transparent;
  opacity: 0.85;
}

.page-home .home-cat-card__index {
  align-self: flex-start;
  padding: 4px 8px;
  font-size: 12px;
  color: #fff;
  background: var(--c-dark);
  border-radius: 2px;
}

.page-home .home-cat-card__title {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text-dark);
}

.page-home .home-cat-card__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-mid-gray);
}

.page-home .home-cat-card__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s var(--speed-ease);
}

.page-home .home-cat-card__link:hover {
  color: var(--c-primary-light);
}

/* ===== 第8轮完整回放 ===== */
.page-home .home-replays {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  color: var(--c-text-light);
  background:
    linear-gradient(150deg, #0A0A0A 0%, #1A0A0C 55%, #101820 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.page-home .home-replays__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-home .home-replays__lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.page-home .home-replays__index {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary-light);
}

.page-home .home-replays__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
}

.page-home .home-replays__sub {
  max-width: 780px;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .home-replays__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .home-replay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  background: var(--c-dark-2);
  overflow: hidden;
}

.page-home .home-replay-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1d1d1d;
}

.page-home .home-replay-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-replay-card__thumb--visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(115deg, rgba(225, 6, 0, 0.45), transparent 60%),
    var(--c-dark-2);
}

.page-home .home-replay-card__thumb--gold {
  background:
    linear-gradient(115deg, rgba(255, 215, 0, 0.28), transparent 60%),
    var(--c-dark-2);
}

.page-home .home-replay-card__bar {
  display: block;
  width: 12px;
  height: 62px;
  border-radius: 3px;
  background: var(--c-primary-light);
  transform: skew(-12deg);
  animation: page-home-bounce 1.5s ease-in-out infinite;
}

.page-home .home-replay-card__bar:nth-child(2) {
  height: 88px;
  background: var(--c-gold);
  animation-delay: 0.18s;
}

.page-home .home-replay-card__bar:nth-child(3) {
  height: 54px;
  background: var(--c-data-green);
  animation-delay: 0.36s;
}

@keyframes page-home-bounce {
  0%, 100% { transform: skew(-12deg) translateY(0); }
  50% { transform: skew(-12deg) translateY(-10px); }
}

.page-home .home-replay-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

.page-home .home-replay-card__meta {
  font-size: 12px;
  color: var(--c-primary-light);
}

.page-home .home-replay-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.45;
  color: #fff;
}

.page-home .home-replay-card__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .home-replay-card--cta {
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(125deg, rgba(225, 6, 0, 0.92) 0%, #7A1508 100%);
}

.page-home .home-replay-card--cta::before {
  border-color: transparent var(--c-gold) transparent transparent;
}

.page-home .home-replay-card__cta-label {
  font-size: 13px;
  color: var(--c-gold-soft);
}

.page-home .home-replay-card__cta-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  color: #fff;
}

.page-home .home-replay-card__cta-text {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

/* ===== 实时主客场数据 ===== */
.page-home .home-data {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  color: var(--c-text-light);
  background:
    linear-gradient(140deg, #12020A 0%, #3A080A 48%, #101820 100%);
}

.page-home .home-data__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-home .home-data__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.page-home .home-data__index {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-gold);
}

.page-home .home-data__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
}

.page-home .home-data__note {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .home-data__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .home-data__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .home-data-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 20, 0.68);
}

.page-home .home-data-stat__pulse {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-data-green);
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5);
  animation: page-home-pulse 1.8s ease-in-out infinite;
}

.page-home .home-data-stat__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-data-green);
}

.page-home .home-data-stat__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: #fff;
}

.page-home .home-data-stat__unit {
  font-size: 1rem;
  color: var(--c-gold);
}

.page-home .home-data-stat__caption {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .home-data__chart {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.5);
}

.page-home .home-data__chart img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-data__chart figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== 焕新版入口下载 ===== */
.page-home .home-download {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--c-light-gray);
}

.page-home .home-download__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.page-home .home-download__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 20px;
  background:
    linear-gradient(145deg, #141414 0%, #2A0A0F 100%);
  border-bottom: 1px solid #2a2a2a;
}

.page-home .home-download__qr img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  padding: 10px;
  background: #fff;
  transition: transform 0.35s var(--speed-ease);
}

.page-home .home-download__qr:hover img {
  transform: scale(1.05);
}

.page-home .home-download__qr-tip {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-gold);
}

.page-home .home-download__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-home .home-download__tag {
  font-size: 13px;
  color: var(--c-primary);
}

.page-home .home-download__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.25;
  color: var(--c-text-dark);
}

.page-home .home-download__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-mid-gray);
}

.page-home .home-download__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-download__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text-dark);
}

.page-home .home-download__check {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-data-green);
}

.page-home .home-download__check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(38deg);
}

.page-home .home-download__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.page-home .home-download__link {
  font-size: 14px;
  color: var(--c-mid-gray);
  text-decoration: underline;
  transition: color 0.2s var(--speed-ease);
}

.page-home .home-download__link:hover {
  color: var(--c-primary);
}

/* ===== 服务保障与站内导航 ===== */
.page-home .home-trust {
  position: relative;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) 3.2rem;
  color: var(--c-text-light);
  background: var(--c-dark);
  border-top: 2px solid rgba(225, 6, 0, 0.45);
}

.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.page-home .home-trust__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.page-home .home-trust__item::before {
  border-color: transparent var(--c-gold) transparent transparent;
}

.page-home .home-trust__index {
  font-size: 12px;
  color: var(--c-primary-light);
}

.page-home .home-trust__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}

.page-home .home-trust__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .home-trust__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-gold-soft);
  text-decoration: none;
  transition: color 0.2s var(--speed-ease);
}

.page-home .home-trust__link:hover {
  color: var(--c-gold);
}

.page-home .home-trust__statement {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
}

/* ===== 平板适配 ===== */
@media (min-width: 640px) {
  .page-home .home-cats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .page-home .home-download__card {
    grid-template-columns: 300px 1fr;
  }

  .page-home .home-download__qr {
    border-bottom: 0;
    border-right: 1px solid #2a2a2a;
  }

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

/* ===== 桌面适配 ===== */
@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 680px;
  }

  .page-home .home-hero__content {
    max-width: 1180px;
  }

  .page-home .home-hero__board {
    position: absolute;
    right: 5vw;
    bottom: 76px;
    margin: 0;
    max-width: 420px;
    transform: translateX(0);
  }

  .page-home .home-hero__rail {
    display: flex;
    align-items: center;
    gap: 16px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.5);
    z-index: 3;
  }

  .page-home .home-hero__rail i {
    display: block;
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.7), transparent);
  }

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

  .page-home .home-cats,
  .page-home .home-replays,
  .page-home .home-data,
  .page-home .home-download,
  .page-home .home-trust {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .page-home .home-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .home-section-head__note {
    max-width: 420px;
    text-align: right;
  }

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

  .page-home .home-replays__lead {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .home-replays__sub {
    max-width: 520px;
    text-align: right;
  }

  .page-home .home-data__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }

  .page-home .home-data__stats {
    gap: 16px;
  }

  .page-home .home-download__card {
    grid-template-columns: 360px 1fr;
  }

  .page-home .home-download__qr {
    padding: 40px 24px;
  }

  .page-home .home-trust__grid {
    gap: 24px;
  }
}

/* ===== 大屏内容最大宽度强化 ===== */
@media (min-width: 1440px) {
  .page-home .home-hero__content,
  .page-home .home-cats__inner,
  .page-home .home-replays__inner,
  .page-home .home-data__inner,
  .page-home .home-trust__grid {
    max-width: 1280px;
  }
}
