.page-home {
  --home-axis-w: 208px;
  --home-line: rgba(27, 74, 58, 0.9);
  --home-line-soft: rgba(27, 74, 58, 0.55);
  background: var(--ink-950);
  color: var(--bone-100);
  font-family: var(--font-sans);
}

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 56px;
  background: var(--ink-900);
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.7);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(201, 242, 110, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(5, 13, 10, 0.72) 0%, rgba(7, 19, 15, 0.94) 68%, var(--ink-950) 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 9vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-home .home-hero__title span {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 4.4vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--lime-400);
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 33em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--slate-300);
}

.page-home .home-hero__paths {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 460px;
}

.page-home .home-path {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--pine-600);
  border-left: 2px solid var(--moss-400);
  border-radius: var(--radius-s);
  background: rgba(14, 42, 34, 0.55);
  color: var(--bone-100);
  text-decoration: none;
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .home-path:hover,
.page-home .home-path:focus-visible {
  border-color: var(--lime-400);
  background: rgba(201, 242, 110, 0.09);
  transform: translateX(2px);
}

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

.page-home .home-path__text {
  font-size: 16px;
  font-weight: 600;
}

.page-home .home-path__hint {
  display: none;
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-300);
}

.page-home .home-hero__meta {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate-300);
}

.page-home .home-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-home .home-road {
  width: 100%;
  max-width: 560px;
  height: auto;
  overflow: visible;
}

.page-home .home-road__path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: home-draw 1.5s var(--ease) 0.2s forwards;
}

.page-home .home-road__path--2 {
  animation-delay: 0.5s;
}

.page-home .home-road__path--3 {
  animation-delay: 0.8s;
}

.page-home .home-road__junction,
.page-home .home-road__node {
  animation: home-pulse 2.4s var(--ease) infinite;
}

@keyframes home-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- 路径轴与内容流 ---------- */
.page-home .home-route {
  position: relative;
  display: grid;
  padding-bottom: 72px;
}

.page-home .home-route > .path-axis {
  position: sticky;
  top: var(--header-h);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  background: rgba(5, 13, 10, 0.95);
  border-bottom: 1px solid var(--pine-600);
}

.page-home .home-route > .path-axis .path-axis__title {
  display: none;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate-300);
}

.page-home .home-axis-nav {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-axis-nav::-webkit-scrollbar {
  display: none;
}

.page-home .home-route > .path-axis .path-axis__link {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--pine-600);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate-300);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-home .home-route > .path-axis .path-axis__link:hover,
.page-home .home-route > .path-axis .path-axis__link:focus-visible {
  color: var(--lime-200);
  border-color: var(--moss-400);
}

.page-home .home-route > .path-axis .path-axis__link[aria-current="true"] {
  color: var(--ink-950);
  background: var(--lime-400);
  border-color: var(--lime-400);
  font-weight: 600;
}

.page-home .home-route > .path-axis .back-to-top {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--pine-600);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-300);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .home-route > .path-axis .back-to-top:hover,
.page-home .home-route > .path-axis .back-to-top:focus-visible {
  color: var(--lime-200);
  border-color: var(--moss-400);
}

.page-home .back-to-top__icon {
  color: var(--lime-400);
  font-size: 13px;
  line-height: 1;
}

.page-home .home-flow {
  min-width: 0;
  padding-top: 40px;
}

/* ---------- 通用内容块 ---------- */
.page-home .home-block {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--home-line-soft);
  scroll-margin-top: calc(var(--header-h) + 56px);
}

.page-home .home-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.page-home .home-block__title {
  margin: 12px 0 0;
  font-size: clamp(26px, 5.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.page-home .home-block__text {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--slate-300);
}

.page-home .home-block__more {
  margin: 24px 0 0;
}

.page-home .home-band {
  margin: 26px 0 0;
  border: 1px solid var(--pine-600);
  border-radius: var(--radius-m);
  overflow: hidden;
}

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

/* ---------- 赛程卡 ---------- */
.page-home .fixture-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}

.page-home .fixture-filters__label {
  margin-right: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate-300);
}

.page-home .fixture-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--pine-600);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--slate-300);
}

.page-home .fixture-chip--active {
  border-color: var(--lime-400);
  background: var(--lime-400);
  color: var(--ink-950);
  font-weight: 600;
}

.page-home .fixture-cards {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .fixture-card {
  position: relative;
  padding: 20px 20px 16px;
  background: var(--pine-800);
  border: 1px solid var(--pine-600);
  border-left: 2px solid var(--moss-400);
  border-radius: var(--radius-m);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.page-home .fixture-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--lime-400);
  box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.95);
}

.page-home .fixture-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.page-home .fixture-card__league {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate-300);
}

.page-home .fixture-card__status {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber-400);
}

.page-home .fixture-card__time {
  margin: 16px 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--lime-400);
}

.page-home .fixture-card__teams {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.page-home .fixture-card__vs {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--slate-300);
}

.page-home .fixture-card__foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--home-line);
}

.page-home .fixture-card__link {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--lime-400);
  text-decoration: none;
}

.page-home .fixture-card__link:hover,
.page-home .fixture-card__link:focus-visible {
  color: var(--lime-200);
  text-decoration: underline;
}

/* ---------- 一套覆盖范围 ---------- */
.page-home .scope-band {
  position: relative;
  margin-top: 26px;
  border: 1px solid var(--pine-600);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--pine-800);
}

.page-home .scope-band__bg {
  position: absolute;
  inset: 0;
}

.page-home .scope-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .scope-grid {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(7, 19, 15, 0.7), rgba(7, 19, 15, 0.94));
}

.page-home .scope-card {
  padding: 20px;
  background: rgba(14, 42, 34, 0.86);
  border: 1px solid var(--pine-600);
  border-radius: var(--radius-m);
}

.page-home .scope-card__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime-400);
}

.page-home .scope-card__title {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.page-home .scope-card__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-300);
}

.page-home .scope-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--amber-400);
  font-size: 13px;
  line-height: 1.85;
  color: var(--slate-300);
}

/* ---------- 路径预判 ---------- */
.page-home .home-block--wine {
  padding: 28px 20px;
  margin-bottom: 56px;
  border-bottom: 0;
  border-radius: var(--radius-m);
  background: var(--wine-700);
}

.page-home .home-block--wine .home-block__text,
.page-home .home-block--wine .line-item__text {
  color: rgba(244, 241, 232, 0.84);
}

.page-home .home-block--wine .label {
  color: var(--amber-200);
}

.page-home .line-list {
  position: relative;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .line-list::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--amber-400), rgba(248, 217, 166, 0.4) 45%, transparent 100%);
}

.page-home .line-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}

.page-home .line-item:last-child {
  padding-bottom: 0;
}

.page-home .line-item__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wine-700);
  border: 1px solid var(--amber-400);
  color: var(--amber-200);
  font-size: 12px;
}

.page-home .line-item__body {
  min-width: 0;
}

.page-home .line-item__title {
  margin: 3px 0 0;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}

.page-home .line-item__text {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.85;
}

.page-home .home-block--wine .btn--ghost {
  border-color: var(--amber-400);
  color: var(--amber-200);
}

/* ---------- 收藏与提醒 ---------- */
.page-home .remind-split {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.page-home .remind-split__copy {
  min-width: 0;
}

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

.page-home .remind-points li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-300);
}

.page-home .remind-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 3px rgba(201, 242, 110, 0.16);
}

.page-home .remind-device {
  margin: 0;
  border: 1px solid var(--pine-600);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.95);
}

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

/* ---------- 收尾 ---------- */
.page-home .home-cta {
  padding-top: 8px;
  scroll-margin-top: calc(var(--header-h) + 56px);
}

.page-home .home-cta__title {
  margin: 12px 0 0;
  font-size: clamp(24px, 4.8vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 800;
}

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

.page-home .home-cta__links {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--slate-300);
}

.page-home .home-cta__links a {
  color: var(--lime-200);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-cta__links a:hover,
.page-home .home-cta__links a:focus-visible {
  color: var(--lime-400);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-path__hint {
    display: inline;
  }
}

@media (min-width: 860px) {
  .page-home .scope-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 28px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 56px) 0 72px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 48px;
    min-height: 520px;
  }

  .page-home .home-hero__lead {
    font-size: 18px;
  }

  .page-home .home-route {
    grid-template-columns: var(--home-axis-w) minmax(0, 1fr);
    gap: 56px;
    padding-bottom: 96px;
  }

  .page-home .home-route > .path-axis {
    position: sticky;
    top: 96px;
    display: block;
    align-self: start;
    padding: 4px 0 4px 18px;
    background: transparent;
    border-bottom: 0;
    border-left: 1px solid var(--pine-600);
  }

  .page-home .home-route > .path-axis .path-axis__title {
    display: block;
    margin-bottom: 14px;
  }

  .page-home .home-axis-nav {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .page-home .home-route > .path-axis .path-axis__link {
    display: block;
    padding: 8px 10px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--slate-300);
    letter-spacing: 0.1em;
  }

  .page-home .home-route > .path-axis .path-axis__link:hover,
  .page-home .home-route > .path-axis .path-axis__link:focus-visible {
    color: var(--lime-200);
    border-left-color: var(--moss-400);
  }

  .page-home .home-route > .path-axis .path-axis__link[aria-current="true"] {
    color: var(--lime-400);
    background: transparent;
    border-left-color: var(--lime-400);
    font-weight: 600;
  }

  .page-home .home-route > .path-axis .back-to-top {
    margin: 22px 0 0;
    margin-left: 0;
  }

  .page-home .home-flow {
    padding-top: 56px;
  }

  .page-home .home-block {
    padding-bottom: 64px;
    margin-bottom: 64px;
  }

  .page-home .home-block--wine {
    padding: 40px 36px;
  }

  .page-home .fixture-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  .page-home .fixture-card:nth-child(2) {
    margin-top: 28px;
  }

  .page-home .fixture-card:nth-child(3) {
    margin-top: 56px;
  }

  .page-home .remind-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    align-items: center;
    gap: 44px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    font-size: 68px;
  }

  .page-home .home-block {
    padding-bottom: 72px;
    margin-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-road__path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .page-home .home-road__junction,
  .page-home .home-road__node {
    animation: none;
  }

  .page-home .home-path:hover,
  .page-home .fixture-card:hover {
    transform: none;
  }
}
