.page-home {
  --home-gap: clamp(14px, 2vw, 22px);
  --home-pad: clamp(18px, 2.6vw, 30px);
  --home-line: 1px solid rgba(30, 74, 87, 0.65);
  --home-ink-soft: #38424F;
  --home-teal-deep: #14515C;
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
}

.page-home .section {
  padding: clamp(46px, 7vw, 92px) 0;
}

.page-home .section-head {
  max-width: 760px;
}

.page-home .section-head .lede {
  color: var(--mist);
  max-width: 62ch;
}

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

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 4vw, 52px) 0 clamp(34px, 5vw, 70px);
}

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

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transform: scale(1.04);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, rgba(11, 17, 28, 0.42) 0%, rgba(11, 17, 28, 0.9) 62%, #0B111C 100%),
    repeating-linear-gradient(112deg, rgba(47, 211, 216, 0.07) 0 1px, transparent 1px 84px);
}

.page-home .home-hero__inner {
  position: relative;
}

.page-home .home-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(16px, 2.5vw, 26px);
  padding: 7px 15px;
  border: 1px solid rgba(47, 211, 216, 0.38);
  border-radius: 999px;
  background: rgba(18, 32, 58, 0.62);
  color: var(--cyan);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .home-context::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .bento-card {
  position: relative;
  padding: var(--home-pad);
  border: var(--home-line);
  border-radius: var(--radius-md);
  background: rgba(18, 32, 58, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.page-home .hero-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: clamp(20px, 2.6vw, 34px);
  border: var(--home-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(18, 32, 58, 0.94), rgba(11, 17, 28, 0.7));
  box-shadow: var(--shadow-deep);
}

.page-home .hero-lead h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.05rem, 6.4vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.page-home .hero-lead__lede {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--tint);
}

.page-home .hero-lead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.page-home .hero-lead__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 6px 0 0;
  padding: 15px 0 0;
  border-top: var(--home-line);
  list-style: none;
  font-size: 13px;
  color: var(--mist);
}

.page-home .hero-num {
  margin-right: 5px;
  font-family: var(--font-data);
  font-size: 21px;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .hero-entry__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: var(--home-line);
  border-radius: var(--radius-sm);
}

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

.page-home .hero-entry__title {
  margin: 4px 0 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-home .hero-entry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hero-entry__steps {
  counter-reset: entrystep;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--tint);
}

.page-home .hero-entry__steps li {
  counter-increment: entrystep;
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-home .hero-entry__steps li::before {
  content: counter(entrystep, decimal-leading-zero);
  padding: 1px 6px;
  border: 1px solid rgba(47, 211, 216, 0.45);
  border-radius: 6px;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--cyan);
}

.page-home .hero-flash {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(160deg, rgba(255, 90, 61, 0.16), rgba(18, 32, 58, 0.82) 58%);
}

.page-home .hero-flash__score {
  margin: 0;
  font-family: var(--font-data);
  font-size: clamp(2rem, 4.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-flash__meta {
  margin: 0;
  font-size: 13px;
  color: var(--tint);
}

.page-home .hero-flash__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hero-flash__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(47, 211, 216, 0.45);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .hero-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(11, 17, 28, 0.84);
}

.page-home .hero-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.page-home .hero-board__head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .hero-board__stamp {
  padding: 4px 11px;
  border: 1px solid rgba(198, 242, 78, 0.4);
  border-radius: 999px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--green);
}

.page-home .hero-board__chart {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: var(--home-line);
  border-radius: var(--radius-sm);
}

.page-home .hero-board__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .hero-board__table th,
.page-home .hero-board__table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(30, 74, 87, 0.5);
}

.page-home .hero-board__table th {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .hero-board__table td {
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-board__table tr:last-child td {
  border-bottom: none;
}

.page-home .data-table__num {
  font-family: var(--font-data);
  text-align: right;
}

.page-home .spark {
  display: block;
  color: var(--cyan);
  overflow: visible;
}

.page-home .spark__end {
  fill: var(--green);
}

/* ---------- 联赛筛选条 ---------- */

.page-home .league-rail {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(30, 74, 87, 0.7);
  border-bottom: 1px solid rgba(30, 74, 87, 0.7);
  background: var(--navy);
}

.page-home .league-rail__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: 0.42;
  pointer-events: none;
}

.page-home .league-rail .container {
  position: relative;
  z-index: 1;
}

.page-home .league-rail .eyebrow {
  color: var(--green);
}

.page-home .league-rail__chips {
  display: flex;
  gap: 10px;
  margin: clamp(20px, 3vw, 30px) 0 12px;
  padding: 4px 2px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.page-home .league-rail__chips::-webkit-scrollbar {
  height: 4px;
}

.page-home .league-rail__chips::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 999px;
}

.page-home .league-rail__chips li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-home .league-rail__chips .chip {
  display: inline-block;
  padding: 10px 19px;
  border: 1px solid rgba(47, 211, 216, 0.32);
  border-radius: 999px;
  background: rgba(11, 17, 28, 0.68);
  color: var(--tint);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-home .league-rail__chips .chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

.page-home .league-rail__hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--mist);
}

/* ---------- 内容中心 ---------- */

.page-home .hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(24px, 4vw, 42px);
}

.page-home .hub-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease;
}

.page-home .hub-tile:hover,
.page-home .hub-tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(47, 211, 216, 0.6);
}

.page-home .hub-tile__index {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .hub-tile h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.22;
  color: var(--white);
}

.page-home .hub-tile p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hub-tile__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
}

.page-home .hub-tile--focus {
  border-color: rgba(30, 74, 87, 0.3);
  background: var(--paper);
}

.page-home .hub-tile--focus h3,
.page-home .hub-tile--focus .hub-tile__index,
.page-home .hub-tile--focus .hub-tile__more {
  color: var(--home-teal-deep);
}

.page-home .hub-tile--focus p {
  color: var(--home-ink-soft);
}

/* ---------- 双端路径 ---------- */

.page-home .dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(24px, 4vw, 42px);
}

.page-home .dual-card {
  padding: var(--home-pad);
  border: var(--home-line);
  border-radius: var(--radius-md);
  background: rgba(18, 32, 58, 0.58);
}

.page-home .dual-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
}

.page-home .dual-card__intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .dual-card__steps {
  counter-reset: dual;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .dual-card__steps li {
  counter-increment: dual;
  position: relative;
  padding-left: 34px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--tint);
}

.page-home .dual-card__steps li::before {
  content: counter(dual);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(47, 211, 216, 0.5);
  border-radius: 50%;
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--cyan);
}

.page-home .dual-card__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: var(--home-line);
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 更新节奏 ---------- */

.page-home .rhythm {
  border-top: 1px solid rgba(30, 74, 87, 0.25);
  border-bottom: 1px solid rgba(30, 74, 87, 0.25);
  background: var(--paper);
  color: var(--ink);
}

.page-home .rhythm .eyebrow {
  color: var(--home-teal-deep);
}

.page-home .rhythm .display-title {
  color: var(--ink);
}

.page-home .rhythm .lede {
  color: var(--home-ink-soft);
}

.page-home .rhythm-timeline {
  position: relative;
  margin: clamp(26px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .rhythm-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 1px;
  background: rgba(30, 74, 87, 0.26);
}

.page-home .rhythm-step {
  position: relative;
  padding: 0 0 28px 36px;
}

.page-home .rhythm-step:last-child {
  padding-bottom: 0;
}

.page-home .rhythm-step::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 211, 216, 0.2);
}

.page-home .rhythm-step--live::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, 0.28);
  animation: home-pulse 2.4s ease-in-out infinite;
}

.page-home .rhythm-step__time {
  display: block;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--home-teal-deep);
}

.page-home .rhythm-step h3 {
  margin: 5px 0 4px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink);
}

.page-home .rhythm-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-ink-soft);
}

.page-home .rhythm-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(30, 74, 87, 0.22);
}

.page-home .rhythm-cta__note {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--home-teal-deep);
}

/* ---------- 首次到访问答 ---------- */

.page-home .qa-list {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 3.5vw, 38px);
}

.page-home .qa {
  overflow: hidden;
  border: var(--home-line);
  border-radius: var(--radius-sm);
  background: rgba(18, 32, 58, 0.5);
}

.page-home .qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.page-home .qa summary::-webkit-details-marker {
  display: none;
}

.page-home .qa summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: 17px;
  line-height: 1;
  color: var(--cyan);
}

.page-home .qa[open] summary::after {
  content: "–";
}

.page-home .qa__body {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .qa__body p {
  margin: 0;
}

.page-home .quick-faq__more {
  margin: clamp(22px, 3vw, 32px) 0 0;
}

/* ---------- 合作与联系 ---------- */

.page-home .closing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .closing__lede {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 3vw, 28px);
}

.page-home .closing__contact {
  padding: var(--home-pad);
  border: 1px solid rgba(47, 211, 216, 0.28);
  border-radius: var(--radius-md);
  background: rgba(18, 32, 58, 0.66);
}

.page-home .closing__contact dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-home .closing__contact dt {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .closing__contact dd {
  margin: 4px 0 0;
  font-family: var(--font-data);
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

.page-home .closing__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: var(--home-line);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--mist);
}

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

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

@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal] {
    animation: home-fade-up 300ms ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rhythm-step--live::before {
    animation: none;
  }
  .page-home .hub-tile,
  .page-home .hub-tile:hover,
  .page-home .hub-tile:focus-visible {
    transition: none;
    transform: none;
  }
}

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

@media (min-width: 720px) {
  .page-home .hub-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .page-home .hub-tile--lg {
    grid-column: span 4;
  }
  .page-home .hub-tile--sm {
    grid-column: span 2;
  }
}

@media (min-width: 760px) {
  .page-home .dual-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .page-home .qa-list {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 860px) {
  .page-home .rhythm-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .page-home .rhythm-timeline::before {
    top: 9px;
    right: 12px;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }
  .page-home .rhythm-step {
    padding: 36px 22px 0 0;
  }
  .page-home .rhythm-step:last-child {
    padding-right: 0;
  }
  .page-home .rhythm-step::before {
    top: 4px;
    left: 0;
  }
}

@media (min-width: 880px) {
  .page-home .closing__grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
  }
  .page-home .hero-lead {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
  }
  .page-home .hero-entry {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
  }
  .page-home .hero-flash {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
  }
  .page-home .hero-board {
    grid-column: 6 / 13;
    grid-row: 2 / 3;
  }
}

@media (min-width: 1280px) {
  .page-home .home-hero__grid {
    gap: clamp(18px, 1.7vw, 26px);
  }
}
