.page-home {
  display: block;
  background: var(--navy);
  color: var(--ice);
  overflow-x: clip;
}

.page-home .home-sec {
  position: relative;
  padding: clamp(44px, 6.4vw, 92px) 0;
}

.page-home .home-sec .h2 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(23px, 3.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-home .eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .lede {
  margin: 0 0 26px;
  max-width: 62ch;
  color: rgba(242, 246, 255, .84);
}

.page-home .link-more {
  font-size: 14px;
  color: var(--cyan-mist);
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  padding: clamp(18px, 2.6vw, 40px) 0 clamp(84px, 10vw, 132px);
  background:
    radial-gradient(130% 100% at 86% 0%, rgba(31, 224, 208, .16), transparent 58%),
    radial-gradient(110% 90% at 0% 100%, rgba(107, 77, 255, .2), transparent 62%),
    var(--navy);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(54px, 7vw, 94px);
  background: var(--navy-deep);
  clip-path: polygon(0 100%, 100% 8%, 100% 100%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(29px, 5.6vw, 58px);
  line-height: 1.07;
  letter-spacing: -.02em;
  color: var(--ice);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--cyan);
  box-shadow: inset 0 -.18em 0 rgba(31, 224, 208, .26);
}

.page-home .home-hero__lede {
  max-width: 46ch;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(242, 246, 255, .84);
}

.page-home .home-hero__cta {
  margin-bottom: 16px;
}

.page-home .home-hero__hint {
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .home-timeline {
  position: relative;
  list-style: none;
  margin: 24px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 10px;
  border-left: 1px solid var(--line-strong);
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(31, 224, 208, .9);
  animation: home-pulse 2.6s var(--ease) infinite;
}

.page-home .home-timeline__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-timeline__item:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 224, 208, .5);
  background: var(--navy-2);
}

.page-home .home-timeline__time {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cyan-mist);
}

.page-home .home-timeline__meta {
  font-size: 14px;
  color: var(--ice);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-hero__panel {
  position: relative;
  display: grid;
  gap: 14px;
}

.page-home .home-hero__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy-deep);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

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

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(31, 224, 208, .3), rgba(10, 18, 48, .06) 46%, rgba(10, 18, 48, .8) 100%);
  pointer-events: none;
}

.page-home .home-scorecard {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  background: linear-gradient(155deg, var(--navy-2), var(--navy-3) 72%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

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

.page-home .home-scorecard__stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--lime);
}

.page-home .home-scorecard__league {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--slate);
}

.page-home .home-scorecard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .home-scorecard__team {
  font-size: 15px;
  color: var(--ice);
}

.page-home .home-scorecard__score {
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--ice);
}

.page-home .home-scorecard__score.is-hot {
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 106, 43, .5);
}

.page-home .home-scorecard__foot {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .home-scorecard__foot .num {
  font-family: var(--font-mono);
  color: var(--cyan-mist);
}

/* ---------- 联赛主题带 ---------- */

.page-home .home-band {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-band__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: home-marquee 34s linear infinite;
}

.page-home .home-band__group {
  display: flex;
  align-items: center;
}

.page-home .home-band__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--slate);
  white-space: nowrap;
}

.page-home .home-band__item::after {
  content: "◇";
  margin: 0 28px;
  color: var(--cyan);
  opacity: .7;
}

/* ---------- 两条主推线 ---------- */

.page-home .home-paths__lede {
  max-width: 52ch;
  margin-bottom: 28px;
}

.page-home .home-paths__grid {
  display: grid;
  gap: 16px;
}

.page-home .home-path {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  padding-left: clamp(26px, 3.6vw, 42px);
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-path::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--cyan);
}

.page-home .home-path--violet::before {
  background: var(--violet);
}

.page-home .home-path__no {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--cyan);
}

.page-home .home-path--violet .home-path__no {
  color: var(--violet);
}

.page-home .home-path h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.32;
  color: var(--ice);
}

.page-home .home-path > p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 246, 255, .82);
}

.page-home .home-path__facts {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-home .home-path__facts > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.page-home .home-path__facts dt {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--slate);
}

.page-home .home-path__facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ice);
}

/* ---------- 联赛矩阵 ---------- */

.page-home .home-leagues__banner {
  margin: 8px auto 0;
}

.page-home .home-leagues__banner .figure__frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

.page-home .home-leagues__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-league {
  position: relative;
  display: block;
  padding: 16px 16px 18px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .home-league::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 3px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.page-home .home-league:hover,
.page-home .home-league:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan-mist);
  background: var(--navy-2);
  box-shadow: var(--shadow-hard);
  outline: none;
}

.page-home .home-league:hover::after,
.page-home .home-league:focus-visible::after {
  opacity: 1;
}

.page-home .home-league__code {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--slate);
}

.page-home .home-league__name {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ice);
}

.page-home .home-league__desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .home-league__go {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--orange);
}

/* ---------- 关注与赛后数据 ---------- */

.page-home .home-follow__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-follow__intro {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 246, 255, .84);
}

.page-home .home-follow__list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-follow__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 246, 255, .84);
}

.page-home .home-follow__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.page-home .home-follow__media {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-follow__media .figure__frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

.page-home .home-teamcard {
  padding: 16px 18px 14px;
  background: var(--navy-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.page-home .home-teamcard__title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--slate);
}

.page-home .home-teamcard__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
  color: rgba(242, 246, 255, .84);
}

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

.page-home .home-teamcard__score {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ice);
}

/* ---------- 10 月导航调整 ---------- */

.page-home .home-update {
  background: linear-gradient(180deg, rgba(31, 224, 208, .07), transparent 62%);
}

.page-home .home-update__lede {
  max-width: 64ch;
}

.page-home .home-steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-home .home-step {
  padding: 20px 18px 22px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius);
}

.page-home .home-step:nth-child(2) {
  border-top-color: var(--violet);
}

.page-home .home-step:nth-child(3) {
  border-top-color: var(--orange);
}

.page-home .home-step__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--slate);
}

.page-home .home-step h3 {
  margin: 10px 0 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ice);
}

.page-home .home-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 246, 255, .78);
}

.page-home .home-speedlines {
  display: block;
  width: 100%;
  height: 30px;
  margin-top: 38px;
}

.page-home .home-speedlines line {
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 6 10;
}

.page-home .home-speedlines line:nth-child(2) {
  stroke: var(--cyan);
  opacity: .55;
}

.page-home .home-speedlines line:nth-child(3) {
  stroke: var(--orange);
  opacity: .45;
}

/* ---------- 数据节奏 ---------- */

.page-home .home-data__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 32px;
}

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

.page-home .home-data__stats .stat {
  display: block;
  padding: 16px 14px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
}

.page-home .home-data__stats .stat:nth-child(2) {
  border-left-color: var(--violet);
}

.page-home .home-data__stats .stat:nth-child(3) {
  border-left-color: var(--orange);
}

.page-home .home-data__stats .stat:nth-child(4) {
  border-left-color: var(--cyan-mist);
}

.page-home .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-home .stat__value--accent {
  color: var(--orange);
}

.page-home .stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .home-data__figure .figure__frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

/* ---------- 第一次来 ---------- */

.page-home .home-start {
  padding-bottom: clamp(56px, 8vw, 108px);
}

.page-home .home-start__list {
  list-style: none;
  counter-reset: hs;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-start__list li {
  counter-increment: hs;
  position: relative;
  padding: 22px 18px 20px 60px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 246, 255, .85);
}

.page-home .home-start__list li::before {
  content: "0" counter(hs);
  position: absolute;
  left: 18px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  opacity: .9;
}

.page-home .home-start__links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.page-home .home-start__links a {
  display: block;
  padding: 14px 16px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ice);
  text-decoration: none;
  font-size: 14px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .home-start__links a:hover,
.page-home .home-start__links a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan-mist);
  background: var(--navy-2);
  outline: none;
}

.page-home > .band--cyan {
  height: 6px;
}

/* ---------- 动效 ---------- */

@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.45); }
}

@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 窄屏 ---------- */

@media (max-width: 520px) {
  .page-home .home-timeline__item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "time meta"
      "tag tag";
    row-gap: 8px;
  }

  .page-home .home-timeline__time { grid-area: time; }
  .page-home .home-timeline__meta { grid-area: meta; }
  .page-home .home-timeline__item .tag { grid-area: tag; justify-self: start; }

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

  .page-home .home-path__facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* ---------- 宽屏 ---------- */

@media (min-width: 720px) {
  .page-home .home-leagues__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 880px) {
  .page-home .home-paths__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 920px) {
  .page-home .home-follow__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    align-items: start;
  }

  .page-home .home-data__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 4.4vw, 70px);
  }

  .page-home .home-scorecard {
    margin-top: -58px;
    margin-left: -42px;
    margin-right: 22px;
    z-index: 2;
  }
}

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

/* ---------- 减少动态 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .home-band__track,
  .page-home .home-timeline::before {
    animation: none;
  }

  .page-home .home-timeline__item:hover,
  .page-home .home-league:hover,
  .page-home .home-start__links a:hover {
    transform: none;
  }
}
