.page-home {
  --home-edge: 2px;
  --home-shadow-dark: 7px 7px 0 rgba(7, 11, 10, 0.55);
  --home-shadow-neon: 7px 7px 0 rgba(56, 240, 140, 0.18);
  display: block;
  background: var(--ink-900);
  color: var(--white);
}

.page-home .section__title {
  color: var(--white);
}

.page-home .lede {
  color: var(--text-mid);
}

.page-home .eyebrow {
  color: var(--neon);
}

.page-home a {
  text-underline-offset: 3px;
}

.page-home .btn {
  box-shadow: 4px 4px 0 rgba(7, 11, 10, 0.6);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.page-home .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(7, 11, 10, 0.7);
}

.page-home .btn:focus-visible,
.page-home .league-chip:focus-visible,
.page-home .fixture:focus-visible,
.page-home a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* ---------- 首屏拼贴 ---------- */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 48px;
  background:
    repeating-linear-gradient(0deg, rgba(42, 58, 53, 0.42) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(42, 58, 53, 0.42) 0 1px, transparent 1px 64px),
    linear-gradient(175deg, var(--ink-900) 0%, var(--ink-800) 68%, #041b16 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

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

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(7, 11, 10, 0.94) 10%, rgba(5, 35, 28, 0.74) 55%, rgba(59, 42, 107, 0.6) 100%);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-hero__eyebrow {
  margin: 0;
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0.045em;
}

.page-home .home-hero__title-line {
  display: block;
}

.page-home .home-hero__title-line--neon {
  color: var(--neon);
  text-shadow: 0 0 28px rgba(56, 240, 140, 0.32);
}

.page-home .home-hero__lede {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 0.98rem;
  line-height: 1.85;
}

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

/* ---------- 联赛色标 ---------- */

.page-home [data-league="足球"] { --chip: #38F08C; }
.page-home [data-league="篮球"] { --chip: #FF7A2F; }
.page-home [data-league="网球"] { --chip: #3FA9FF; }
.page-home [data-league="排球"] { --chip: #A9FFD3; }
.page-home [data-league="乒乓球"] { --chip: #FFC24B; }
.page-home [data-league="羽毛球"] { --chip: #C8476F; }
.page-home [data-league="田径"] { --chip: #FF9B4D; }
.page-home [data-league="游泳"] { --chip: #5FC6FF; }
.page-home [data-league="赛车"] { --chip: #FFD77A; }
.page-home [data-league="电竞"] { --chip: #6BFFB0; }
.page-home [data-league="拳击"] { --chip: #B23A5E; }
.page-home [data-league="冰雪"] { --chip: #CFFFE6; }

.page-home .home-league-rail {
  margin-top: 26px;
  padding: 12px;
  border: var(--home-edge) solid var(--grid);
  background: rgba(5, 35, 28, 0.78);
}

.page-home .home-league-rail .league-rail__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin: 0 0 10px;
}

.page-home .home-league-rail .league-rail__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.page-home .league-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--grid);
  background: rgba(11, 58, 46, 0.7);
  color: var(--text-mid);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .league-chip::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chip, var(--neon));
}

.page-home .league-chip:hover {
  color: var(--white);
  border-color: var(--chip, var(--neon));
}

.page-home .league-chip[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--chip, var(--neon));
  background: rgba(56, 240, 140, 0.12);
  box-shadow: 3px 3px 0 rgba(7, 11, 10, 0.6);
}

/* ---------- 赛程墙 ---------- */

.page-home .fixture-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.page-home .fixture {
  position: relative;
  border: var(--home-edge) solid var(--grid);
  border-left: 4px solid var(--chip, var(--neon));
  background: linear-gradient(152deg, rgba(11, 58, 46, 0.95), rgba(5, 35, 28, 0.95));
  padding: 12px 14px;
  box-shadow: var(--home-shadow-dark);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.page-home .fixture:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--home-shadow-neon);
}

.page-home .fixture__badge {
  position: absolute;
  top: -11px;
  right: 10px;
  padding: 3px 7px;
  background: var(--chip, var(--neon));
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}

.page-home .fixture:hover .fixture__badge,
.page-home .fixture:focus-within .fixture__badge {
  opacity: 1;
  transform: translateY(0);
}

.page-home .fixture__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.page-home .fixture__league {
  color: var(--chip, var(--neon));
  font-weight: 700;
}

.page-home .fixture__days {
  color: var(--text-dim);
}

.page-home .fixture__line {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.page-home .fixture__count {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.page-home .fixture__count .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.page-home .fixture__meta {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---------- 首屏侧栏块 ---------- */

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

.page-home .hero-block {
  border: var(--home-edge) solid var(--grid);
  background: rgba(7, 11, 10, 0.74);
  padding: 18px;
}

.page-home .hero-block--version {
  border-top: 4px solid var(--neon);
  box-shadow: var(--home-shadow-neon);
}

.page-home .hero-block--mobile {
  border-left: 4px solid var(--blue);
  box-shadow: var(--home-shadow-dark);
  display: grid;
  gap: 14px;
}

.page-home .hero-block__media {
  border: 1px solid var(--grid);
  overflow: hidden;
  background: var(--ink-800);
}

.page-home .hero-block__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .hero-block__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.page-home .hero-block__text {
  margin: 8px 0 0;
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.75;
}

.page-home .hero-block__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

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

.page-home .home-paths {
  padding: 54px 0 62px;
  background: linear-gradient(158deg, var(--ink-800) 0%, #06281f 46%, var(--indigo) 100%);
  clip-path: polygon(0 0, 100% 2.6vw, 100% 100%, 0 calc(100% - 2.6vw));
}

.page-home .path-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.page-home .path-card {
  border: var(--home-edge) solid var(--grid);
  background: rgba(7, 11, 10, 0.64);
  padding: 22px;
}

.page-home .path-card--before {
  border-top: 4px solid var(--neon);
  box-shadow: var(--home-shadow-neon);
}

.page-home .path-card--after {
  border-top: 4px solid var(--orange);
  box-shadow: 7px 7px 0 rgba(255, 122, 47, 0.14);
}

.page-home .path-card__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--neon);
}

.page-home .path-card--after .path-card__index {
  color: var(--orange);
}

.page-home .path-card__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.page-home .path-card p {
  margin: 10px 0 0;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
}

.page-home .path-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-home .path-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-mid);
  font-size: 0.86rem;
  line-height: 1.7;
}

.page-home .path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--neon);
}

.page-home .path-card__media {
  border: 1px solid var(--grid);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--ink-900);
}

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

.page-home .path-card__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-paths__note {
  margin: 24px 0 0;
  padding-left: 15px;
  border-left: 3px solid var(--neon-soft);
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- 设备分工 ---------- */

.page-home .home-devices {
  padding: 52px 0;
  background: var(--paper);
  color: var(--ink-800);
}

.page-home .home-devices .eyebrow {
  color: #1F6B52;
}

.page-home .home-devices .section__title {
  color: var(--ink-800);
}

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

.page-home .device {
  border: 2px solid var(--ink-800);
  background: #FFFFFF;
  padding: 20px;
  box-shadow: 6px 6px 0 rgba(5, 35, 28, 0.16);
}

.page-home .device--desktop {
  background: var(--ink-800);
  color: var(--white);
  box-shadow: 6px 6px 0 rgba(122, 31, 61, 0.22);
}

.page-home .device__tag {
  display: inline-block;
  margin: 0;
}

.page-home .device__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.page-home .device p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #3A4C46;
}

.page-home .device--desktop p {
  color: var(--text-mid);
}

.page-home .devices-foot {
  margin: 24px 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: #3A4C46;
}

.page-home .devices-foot a {
  color: #1F6B52;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 版本线索 ---------- */

.page-home .home-versions {
  padding: 54px 0 58px;
  background: linear-gradient(180deg, var(--ink-900) 0%, #041b16 100%);
}

.page-home .version-track {
  list-style: none;
  margin: 30px 0 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--grid);
}

.page-home .version-item {
  position: relative;
  padding: 0 0 22px;
}

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

.page-home .version-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--neon);
}

.page-home .version-item:last-child::before {
  background: var(--neon);
}

.page-home .version-item__year {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  color: var(--neon);
}

.page-home .version-item__text {
  margin: 8px 0 0;
  max-width: 56ch;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
}

.page-home .archive-note {
  margin-top: 32px;
  padding: 20px;
  border: 2px solid var(--grid);
  border-left: 5px solid var(--amber);
  background: rgba(122, 31, 61, 0.24);
  display: grid;
  gap: 10px;
}

.page-home .archive-note h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.page-home .archive-note p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
}

.page-home .archive-note a {
  justify-self: start;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 赛季节奏带 ---------- */

.page-home .home-rhythm {
  padding: 54px 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(42, 58, 53, 0.3) 0 1px, transparent 1px 84px),
    linear-gradient(180deg, #041b16 0%, var(--ink-900) 42%);
}

.page-home .rhythm-chart {
  margin-top: 30px;
  padding: 18px 0;
  background: rgba(11, 58, 46, 0.5);
  border-top: 2px solid var(--grid);
  border-bottom: 2px solid var(--grid);
  overflow-x: auto;
}

.page-home .rhythm-chart svg {
  display: block;
  width: 100%;
  min-width: 640px;
  height: auto;
}

.page-home .rhythm-grid line {
  stroke: rgba(42, 58, 53, 0.9);
  stroke-width: 1;
}

.page-home .rhythm-bars rect {
  fill: rgba(56, 240, 140, 0.2);
  stroke: rgba(56, 240, 140, 0.55);
  stroke-width: 1;
}

.page-home .rhythm-bars rect:nth-child(4n) {
  fill: rgba(255, 122, 47, 0.24);
  stroke: rgba(255, 122, 47, 0.62);
}

.page-home .rhythm-bars rect:nth-child(4n + 2) {
  fill: rgba(63, 169, 255, 0.22);
  stroke: rgba(63, 169, 255, 0.62);
}

.page-home .rhythm-line {
  fill: none;
  stroke: var(--neon-soft);
  stroke-width: 2;
  stroke-dasharray: 7 5;
}

.page-home .rhythm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.page-home .rhythm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .rhythm-legend__dot {
  display: block;
  width: 10px;
  height: 10px;
}

.page-home .rhythm-legend__dot--neon {
  background: rgba(56, 240, 140, 0.8);
}

.page-home .rhythm-legend__dot--orange {
  background: rgba(255, 122, 47, 0.8);
}

.page-home .rhythm-legend__dot--blue {
  background: rgba(63, 169, 255, 0.8);
}

.page-home .rhythm-banner {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  border-top: 3px solid var(--neon);
}

.page-home .rhythm-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.88);
}

.page-home .rhythm-banner__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 34px 20px 16px;
  background: linear-gradient(0deg, rgba(7, 11, 10, 0.92), transparent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--neon-soft);
}

/* ---------- 行动区 ---------- */

.page-home .home-cta {
  padding: 52px 0 62px;
  background: linear-gradient(142deg, var(--indigo) 0%, #251a44 42%, var(--ink-800) 100%);
}

.page-home .cta-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.page-home .cta-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 2px solid rgba(242, 246, 244, 0.22);
}

.page-home .cta-card--sub {
  background: rgba(5, 35, 28, 0.88);
  border-left: 5px solid var(--neon);
  box-shadow: 8px 8px 0 rgba(56, 240, 140, 0.16);
}

.page-home .cta-card--coop {
  background: rgba(7, 11, 10, 0.66);
  border-left: 5px solid var(--orange);
  box-shadow: 8px 8px 0 rgba(255, 122, 47, 0.14);
}

.page-home .cta-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.38;
  letter-spacing: 0.02em;
}

.page-home .cta-card p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
}

.page-home .cta-card .eyebrow {
  margin: 0;
}

.page-home .cta-card .btn {
  justify-self: start;
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 48rem) {
  .page-home .home-hero {
    padding: 56px 0 64px;
  }

  .page-home .home-hero__title {
    font-size: clamp(2.6rem, 6vw, 4rem);
  }

  .page-home .fixture-wall {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .fixture:nth-child(1) {
    grid-column: 1 / span 6;
  }

  .page-home .fixture:nth-child(2) {
    grid-column: 8 / span 5;
    margin-top: 24px;
  }

  .page-home .fixture:nth-child(3) {
    grid-column: 2 / span 5;
    margin-top: 4px;
  }

  .page-home .fixture:nth-child(4) {
    grid-column: 8 / span 4;
    margin-top: 28px;
  }

  .page-home .fixture:nth-child(5) {
    grid-column: 4 / span 6;
    margin-top: 6px;
  }

  .page-home .path-grid {
    grid-template-columns: 1fr 1.09fr;
    gap: 22px;
    align-items: start;
  }

  .page-home .devices-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 18px;
    align-items: start;
  }

  .page-home .cta-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
  }

  .page-home .version-track {
    padding-left: 26px;
  }

  .page-home .version-item::before {
    left: -33px;
  }
}

@media (min-width: 62rem) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.88fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .home-hero__side {
    padding-top: 26px;
  }

  .page-home .hero-block--mobile {
    margin-left: -26px;
  }

  .page-home .home-hero__lede {
    font-size: 1.04rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .btn,
  .page-home .fixture,
  .page-home .fixture__badge,
  .page-home .league-chip {
    transition: none;
  }

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

  .page-home [data-reveal],
  .page-home .reveal {
    opacity: 1;
    transform: none;
  }
}
