.page-home {
  background: var(--color-bg);
  overflow-x: hidden;
}

/* ===== Hero 实时数据屏 ===== */
.page-home .hero--home {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 32px) 0 44px;
  background: var(--color-bg);
  isolation: isolate;
}

.page-home .hero--home__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-home .hero--home__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.65) contrast(1.05) brightness(0.42);
  transform: scale(1.03);
}

.page-home .hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, var(--color-bg) 0%, var(--color-bg) 30%, rgba(22, 42, 74, 0.86) 50%, rgba(123, 47, 255, 0.5) 72%, rgba(159, 95, 255, 0.2) 100%);
}

.page-home .hero--home__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(245, 242, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 233, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 75%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 75%);
}

.page-home .hero--home__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-top: 24px;
  padding-bottom: 28px;
}

.page-home .hero--home__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--color-border-strong);
  background: rgba(10, 30, 61, 0.6);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 18px;
}

.page-home .hero--home__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 1.04;
  color: var(--color-text);
  margin: 0 0 16px;
  white-space: normal;
}

.page-home .hero--home__lead {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text-dim);
  max-width: 46ch;
  margin: 0 0 24px;
  padding-left: 12px;
  border-left: 2px solid var(--color-purple-light);
}

.page-home .hero--home__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.page-home .btn--block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* 射手榜卡片 */
.page-home .hero--home__scorer {
  border: 1px solid var(--color-border-strong);
  background: rgba(22, 42, 74, 0.72);
  border-radius: var(--radius-md);
  padding: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .hero--home__scorer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.page-home .hero--home__scorer-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--color-text);
}

.page-home .hero--home__scorer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .hero--home__scorer-chart img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-bg-aux);
}

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

.page-home .hero--home__rank {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(10, 30, 61, 0.48);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease-fast), background var(--ease-fast), transform var(--ease-fast);
}

.page-home .hero--home__rank:hover {
  border-color: var(--color-green);
  background: rgba(57, 255, 20, 0.06);
  transform: translateX(4px);
}

.page-home .hero--home__rank-num {
  font-family: var(--font-data);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-green);
}

.page-home .hero--home__rank-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home .hero--home__rank-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .hero--home__rank-team {
  font-size: 0.72rem;
  color: var(--color-text-faint);
}

.page-home .hero--home__rank-goals {
  font-family: var(--font-data);
  font-size: 1.5rem;
  color: var(--color-green);
  text-align: right;
  min-width: 2ch;
}

/* V4 导航触发卡 */
.page-home .hero--home__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .hero--home__trigger {
  position: relative;
  background: var(--color-bg-card);
  padding: 22px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
}

.page-home .hero--home__trigger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .hero--home__trigger-label {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.page-home .hero--home__trigger-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-home .hero--home__trigger-list li {
  border-bottom: 1px solid var(--color-border);
}

.page-home .hero--home__trigger-list li:last-child {
  border-bottom: 0;
}

.page-home .hero--home__trigger-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--ease-fast), padding-left var(--ease-fast);
}

.page-home .hero--home__trigger-list a::after {
  content: "→";
  color: var(--color-green);
  transition: transform var(--ease-fast);
}

.page-home .hero--home__trigger-list a:hover {
  color: var(--color-text);
  padding-left: 8px;
}

.page-home .hero--home__trigger-list a:hover::after {
  transform: translateX(3px);
}

.page-home .hero--home__trigger-note {
  margin: 14px 0 0;
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--color-text-faint);
}

/* 实时比分面板 */
.page-home .hero--home__score {
  border: 1px solid var(--color-border-strong);
  background: rgba(43, 45, 49, 0.8);
  border-radius: var(--radius-md);
  padding: 16px;
}

.page-home .hero--home__score-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.page-home .hero--home__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--color-border);
}

.page-home .hero--home__match:last-child {
  border-bottom: 0;
}

.page-home .hero--home__match-team {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .hero--home__match-score {
  font-family: var(--font-data);
  font-size: 1rem;
  color: var(--color-text);
  white-space: nowrap;
}

.page-home .hero--home__match-status {
  font-style: normal;
  font-size: 0.66rem;
  line-height: 1;
  color: var(--color-orange);
  border: 1px solid rgba(255, 102, 0, 0.4);
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hero 底部数据面板流 */
.page-home .hero--home__panels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.page-home .hero--home__panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease-fast), transform var(--ease-fast), box-shadow var(--ease-fast);
}

.page-home .hero--home__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-data);
  opacity: 0.8;
}

.page-home .hero--home__panel:hover {
  border-color: rgba(57, 255, 20, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.page-home .hero--home__panel .stat {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--color-green);
}

.page-home .hero--home__panel .stat-label {
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--color-text-dim);
}

/* ===== 通用区块 ===== */
.page-home .section--services {
  border-top: 1px solid var(--color-border);
  padding: 64px 0 56px;
}

.page-home .section--capability {
  background:
    radial-gradient(circle at 88% 12%, rgba(123, 47, 255, 0.16), transparent 42%),
    var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 0;
}

.page-home .section--updates {
  padding: 56px 0 64px;
}

.page-home .section--assist {
  padding: 0 0 72px;
}

.page-home .section-header--services,
.page-home .section-header--capability,
.page-home .section-header--updates {
  margin-bottom: 28px;
}

.page-home .section-header h2 {
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.1;
  color: var(--color-text);
  margin: 8px 0 10px;
}

.page-home .section-header p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--color-text-dim);
  max-width: 64ch;
}

.page-home .section--updates .section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.page-home .section--capability .section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.page-home .section-kicker {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-purple-light);
  border: 1px solid rgba(159, 95, 255, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== 核心服务入口 ===== */
.page-home .services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .service-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--ease-fast), background var(--ease-fast), transform var(--ease-fast);
}

.page-home .service-card:hover {
  border-color: var(--color-purple-light);
  background: var(--color-bg-elevate);
  transform: translateY(-2px);
}

.page-home .service-card__index {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-faint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 8px 0;
  transition: color var(--ease-fast), border-color var(--ease-fast);
}

.page-home .service-card:hover .service-card__index {
  color: var(--color-green);
  border-color: rgba(57, 255, 20, 0.5);
}

.page-home .service-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home .service-card__title {
  font-family: var(--font-title);
  font-size: 1.08rem;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.page-home .service-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

.page-home .service-card__arrow {
  font-size: 1.3rem;
  color: var(--color-orange);
  transition: transform var(--ease-fast);
}

.page-home .service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

.page-home .services-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.page-home .services-visual__img-wrap {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-aux);
}

.page-home .services-visual__img-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .services-visual__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ===== 平台能力概览 ===== */
.page-home .capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .capability-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  position: relative;
  background: var(--color-bg-aux);
}

.page-home .capability-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .capability-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .capability-item {
  position: relative;
  padding: 18px 18px 18px 62px;
  background: rgba(10, 30, 61, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

.page-home .capability-item:hover {
  border-color: var(--color-purple-light);
  background: rgba(10, 30, 61, 0.82);
}

.page-home .capability-item__num {
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-purple-light);
  opacity: 0.72;
}

.page-home .capability-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.2;
}

.page-home .capability-item p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--color-text-dim);
}

.page-home .capability-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .capability-links__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-link);
  font-size: 0.84rem;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 999px;
  transition: border-color var(--ease-fast), color var(--ease-fast), background var(--ease-fast);
}

.page-home .capability-links__item:hover {
  border-color: var(--color-link);
  background: rgba(0, 180, 216, 0.08);
  color: var(--color-text);
}

/* ===== 最新动态 ===== */
.page-home .updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .update-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease-fast), background var(--ease-fast), transform var(--ease-fast);
}

.page-home .update-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 0 0 0 4px;
}

.page-home .update-card:hover {
  border-color: var(--color-border-strong);
  background: var(--color-bg-elevate);
  transform: translateY(-2px);
}

.page-home .update-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.page-home .update-card__index {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-text-faint);
  white-space: nowrap;
}

.page-home .update-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--color-text);
}

.page-home .update-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--color-text-dim);
}

.page-home .update-card__more {
  align-self: flex-start;
  color: var(--color-link);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color var(--ease-fast);
}

.page-home .update-card__more:hover {
  color: var(--color-green);
}

/* ===== 帮助与联系 ===== */
.page-home .assist-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.18), rgba(123, 47, 255, 0.04)), var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
}

.page-home .assist-panel__left {
  max-width: 58ch;
}

.page-home .assist-panel__left h2 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.25;
  color: var(--color-text);
  margin: 10px 0 10px;
}

.page-home .assist-panel__left p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--color-text-dim);
}

.page-home .assist-panel__right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .hero--home__panels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .hero--home__panel .stat {
    font-size: 1.6rem;
  }

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

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

@media (min-width: 992px) {
  .page-home .hero--home__inner {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .hero--home__left {
    min-width: 0;
  }

  .page-home .hero--home__right {
    min-width: 0;
  }

  .page-home .hero--home__scorer-body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .hero--home__panels {
    margin-top: 48px;
  }

  .page-home .services-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .capability-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-home .section--services {
    padding: 72px 0 64px;
  }

  .page-home .section--capability {
    padding: 76px 0;
  }

  .page-home .section--updates {
    padding: 64px 0 72px;
  }

  .page-home .updates-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .assist-panel {
    padding: 36px 40px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero--home__right {
    padding-top: 4px;
  }
}
