.page-home {
  --hm-hair: rgba(157, 182, 200, 0.2);
  --hm-cyan-line: rgba(45, 226, 208, 0.32);
  --hm-pad: clamp(56px, 8vw, 104px);
  background: var(--abyss);
  color: var(--mist);
  font-family: var(--font-body);
  padding-top: clamp(88px, 11vw, 120px);
  overflow-x: clip;
}

.page-home a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .hm-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--tide);
}

.page-home .hm-crumb__sep {
  color: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  padding-bottom: var(--hm-pad);
}

.page-home .hm-hero__frame {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 60px);
  background: var(--night);
  border: 1px solid var(--hm-hair);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}

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

.page-home .hm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(45, 226, 208, 0.09) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(45, 226, 208, 0.09) 0 1px, transparent 1px 96px),
    radial-gradient(circle at 78% 18%, rgba(45, 226, 208, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(6, 26, 43, 0.3) 0%, rgba(6, 26, 43, 0.86) 74%, var(--abyss) 100%);
}

.page-home .hm-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .hm-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 7vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 14px 0 20px;
  max-width: 15ch;
  color: var(--mist);
}

.page-home .hm-hero__lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
  color: var(--tide);
  max-width: 46ch;
  margin: 0 0 16px;
}

.page-home .hm-hero__hint {
  font-size: 13px;
  line-height: 1.8;
  color: var(--cyan);
  border-left: 2px solid var(--lava);
  padding-left: 12px;
  max-width: 52ch;
  margin: 0 0 26px;
}

.page-home .hm-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 侧边联赛筛选条 */
.page-home .hm-rail {
  align-self: start;
  padding: 18px 16px;
  background: rgba(11, 36, 56, 0.74);
  border: 1px solid var(--hm-cyan-line);
}

.page-home .hm-rail__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .hm-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .hm-rail__item {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--tide);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-home .hm-rail__item:hover,
.page-home .hm-rail__item:focus-visible {
  color: var(--mist);
  border-left-color: var(--cyan);
  background: rgba(45, 226, 208, 0.08);
}

.page-home .hm-rail__item.is-active {
  color: var(--mist);
  border-left-color: var(--lava);
}

.page-home .hm-rail__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--tide);
}

/* 快照数字 */
.page-home .hm-hero__snap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hm-hair);
}

.page-home .hm-snap {
  display: grid;
  gap: 6px;
}

.page-home .hm-snap__num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-snap__unit {
  font-size: 0.42em;
  margin-left: 2px;
  color: var(--tide);
}

.page-home .hm-snap__txt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--tide);
}

@media (min-width: 900px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }

  .page-home .hm-hero__lead {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .hm-hero__snap {
    grid-column: 1;
    grid-row: 2;
  }

  .page-home .hm-rail {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* ---------- 重点场次 ---------- */
.page-home .hm-spotlight {
  padding-bottom: var(--hm-pad);
}

.page-home .hm-head {
  max-width: 660px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .hm-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 12px 0;
}

.page-home .hm-spot {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.page-home .hm-spot__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hm-hair);
}

.page-home .hm-spot__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .hm-spot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  background: linear-gradient(180deg, rgba(6, 26, 43, 0), rgba(6, 26, 43, 0.9));
}

.page-home .hm-spot__cards {
  display: grid;
  gap: 14px;
}

.page-home .hm-card {
  padding: clamp(16px, 2.4vw, 24px);
  background: linear-gradient(180deg, rgba(11, 36, 56, 0.92), rgba(6, 26, 43, 0.92));
  border: 1px solid var(--graphite);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-home .hm-card:hover,
.page-home .hm-card:focus-within {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(18, 54, 77, 0.95), rgba(6, 26, 43, 0.95));
}

.page-home .hm-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .hm-card__league {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tide);
}

.page-home .hm-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.page-home .hm-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--tide);
}

.page-home .hm-mini {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.page-home .hm-mini__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tide);
}

.page-home .hm-mini__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 34px;
}

.page-home .hm-mini__bars span {
  flex: 1;
  min-height: 6px;
  background: linear-gradient(180deg, var(--cyan), rgba(45, 226, 208, 0.16));
}

.page-home .hm-mini__bars span:nth-child(1) {
  height: 58%;
}

.page-home .hm-mini__bars span:nth-child(2) {
  height: 86%;
}

.page-home .hm-mini__bars span:nth-child(3) {
  height: 44%;
}

.page-home .hm-mini__bars span:nth-child(4) {
  height: 70%;
}

.page-home .hm-card--b .hm-mini__bars span:nth-child(1) {
  height: 36%;
}

.page-home .hm-card--b .hm-mini__bars span:nth-child(2) {
  height: 64%;
}

.page-home .hm-card--b .hm-mini__bars span:nth-child(3) {
  height: 92%;
}

.page-home .hm-card--b .hm-mini__bars span:nth-child(4) {
  height: 52%;
}

.page-home .hm-card--c .hm-mini__bars span {
  background: linear-gradient(180deg, var(--violet), rgba(155, 140, 255, 0.16));
}

.page-home .hm-card--c .hm-mini__bars span:nth-child(1) {
  height: 48%;
}

.page-home .hm-card--c .hm-mini__bars span:nth-child(2) {
  height: 74%;
}

.page-home .hm-card--c .hm-mini__bars span:nth-child(3) {
  height: 62%;
}

.page-home .hm-card--c .hm-mini__bars span:nth-child(4) {
  height: 38%;
}

@media (min-width: 900px) {
  .page-home .hm-spot {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
}

/* ---------- 小屏约看 ---------- */
.page-home .hm-mobile {
  padding-bottom: var(--hm-pad);
}

.page-home .hm-mobile__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .hm-mobile h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  max-width: 18ch;
}

.page-home .hm-mobile__lede {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--tide);
  margin: 0 0 20px;
  max-width: 48ch;
}

.page-home .hm-mobile__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 52ch;
}

.page-home .hm-mobile__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--tide);
}

.page-home .hm-mobile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--lava);
}

.page-home .hm-device {
  position: relative;
  padding: 14px;
  background: var(--night);
  border: 1px solid var(--hm-cyan-line);
}

.page-home .hm-device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--hm-hair);
}

.page-home .hm-ring {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: clamp(112px, 26vw, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  background: conic-gradient(var(--lava) 0turn 0.72turn, rgba(45, 226, 208, 0.18) 0.72turn 1turn);
  transition: filter var(--t) var(--ease);
}

.page-home .hm-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--abyss);
}

.page-home .hm-ring__inner {
  position: relative;
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.page-home .hm-ring__num {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-ring__hint {
  max-width: 86px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--tide);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.page-home .hm-ring:hover,
.page-home .hm-ring:focus-visible {
  filter: brightness(1.28);
}

.page-home .hm-ring:hover .hm-ring__hint,
.page-home .hm-ring:focus-visible .hm-ring__hint {
  opacity: 1;
}

@media (min-width: 900px) {
  .page-home .hm-mobile__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: center;
  }
}

/* ---------- 横向数据带 ---------- */
.page-home .hm-band {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--hm-pad);
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--night);
  border-top: 1px solid var(--hm-hair);
  border-bottom: 1px solid var(--hm-hair);
}

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

.page-home .hm-band__inner {
  position: relative;
}

.page-home .hm-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  max-width: 20ch;
}

.page-home .hm-band__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.page-home .hm-band__list li {
  position: relative;
  padding-top: 16px;
  border-top: 1px solid var(--hm-hair);
}

.page-home .hm-band__list li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--lava);
}

.page-home .hm-band__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-band__lab {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--tide);
}

.page-home .hm-band__foot {
  margin: 26px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--tide);
}

@media (min-width: 760px) {
  .page-home .hm-band__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 战绩入口与合作 CTA ---------- */
.page-home .hm-cta {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.page-home .hm-cta__panel {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(115deg, rgba(45, 226, 208, 0.16) 0%, rgba(11, 36, 56, 0.94) 46%, rgba(255, 122, 61, 0.18) 100%);
  border: 1px solid var(--hm-cyan-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.page-home .hm-cta__copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.8vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
  max-width: 20ch;
}

.page-home .hm-cta__copy p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--tide);
}

.page-home .hm-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hm-next {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-next a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid var(--graphite);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-home .hm-next a:hover,
.page-home .hm-next a:focus-visible {
  border-color: var(--cyan);
  background: rgba(45, 226, 208, 0.07);
}

.page-home .hm-next span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--tide);
}

@media (min-width: 860px) {
  .page-home .hm-cta__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
  }
}
