.page-home {
  --home-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --home-pad: clamp(2.6rem, 7vw, 5.4rem);
  --home-num: clamp(1.35rem, 3vw, 1.95rem);
  background: var(--ink);
  color: var(--fog);
  overflow-x: clip;
}

.page-home .wrap {
  margin-inline: auto;
}

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

.page-home .hero {
  position: relative;
  padding-block: clamp(1.6rem, 5vw, 3.2rem) clamp(2.4rem, 6vw, 4.2rem);
  background:
    radial-gradient(90% 120% at 6% 0%, rgba(45, 212, 191, 0.15), transparent 62%),
    radial-gradient(70% 90% at 94% 6%, rgba(255, 107, 44, 0.13), transparent 60%),
    var(--ink);
}

.page-home .hero-inner {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 940px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }
}

.page-home .hero-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 6.6vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}

.page-home .hero-title .hl {
  display: inline-block;
  padding: 0 0.12em;
  background: linear-gradient(transparent 64%, rgba(183, 255, 60, 0.42) 64%);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 2.1vw, 1.12rem);
  line-height: 1.85;
  color: rgba(233, 238, 246, 0.82);
}

.page-home .hero-quick {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .quick-link {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.72rem 0.78rem;
  border: var(--hair);
  border-radius: var(--radius);
  background: rgba(16, 21, 34, 0.68);
  color: var(--fog);
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.25s var(--home-ease), border-color 0.25s ease, background 0.25s ease;
}

.page-home .quick-link .mono {
  font-size: 0.7rem;
  color: var(--mute);
  letter-spacing: 0.08em;
}

.page-home .quick-link:hover,
.page-home .quick-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lime);
  background: rgba(183, 255, 60, 0.08);
  color: #fff;
}

.page-home .hero-stats {
  list-style: none;
  margin: clamp(1.4rem, 4vw, 2rem) 0 0;
  padding: clamp(1rem, 3vw, 1.35rem) 0 0;
  border-top: 1px solid rgba(42, 59, 102, 0.9);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-home .hero-stats li {
  display: grid;
  gap: 0.28rem;
}

.page-home .stat-num {
  font-size: var(--home-num);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-home .stat-label {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--mute);
}

.page-home .hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  border: var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(45, 212, 191, 0.2), transparent 58%),
    linear-gradient(158deg, var(--ink-deep), #0d1c40 72%);
  box-shadow: var(--lift);
}

.page-home .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(42, 59, 102, 0.6) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(to bottom, rgba(42, 59, 102, 0.6) 0 1px, transparent 1px 52px);
  opacity: 0.65;
  pointer-events: none;
}

.page-home .hv-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .hv-line {
  fill: none;
  stroke: url(#hvGrad);
  stroke-width: 3;
  stroke-linecap: round;
}

.page-home .hv-line--base {
  stroke: rgba(138, 148, 166, 0.4);
  stroke-width: 1.4;
  stroke-dasharray: 7 9;
}

.page-home .hv-dot {
  fill: var(--lime);
}

.page-home .hv-dot--flare {
  fill: var(--flare);
}

.page-home .hv-chips {
  position: absolute;
  inset: auto 0 0 0;
  list-style: none;
  margin: 0;
  padding: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-home .hv-chip {
  padding: 0.34rem 0.6rem;
  border: 1px solid rgba(233, 238, 246, 0.22);
  border-radius: var(--radius);
  background: rgba(10, 22, 51, 0.78);
  color: rgba(233, 238, 246, 0.88);
  font-size: 0.7rem;
  line-height: 1.4;
}

.page-home .hv-chip .mono {
  margin-right: 0.35rem;
  letter-spacing: 0.1em;
}

.page-home .hv-chip--lime {
  border-color: rgba(183, 255, 60, 0.5);
  color: var(--lime);
}

.page-home .hv-chip--flare {
  border-color: rgba(255, 107, 44, 0.5);
  color: var(--flare);
}

.page-home .hv-chip--cyan {
  border-color: rgba(45, 212, 191, 0.5);
  color: var(--cyan);
}

/* ---------- 通用小节头 ---------- */

.page-home .sec-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .sec-head h2,
.page-home .tablet h2,
.page-home .transfer h2,
.page-home .follow h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1.22;
  color: #fff;
}

.page-home .sec-lede {
  margin: 0;
  max-width: 48em;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(233, 238, 246, 0.74);
}

/* ---------- 数据模块 ---------- */

.page-home .modules {
  padding-block: 0 var(--home-pad);
}

.page-home .module-grid {
  list-style: none;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

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

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

.page-home .module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1rem 1rem 1.15rem;
  border: var(--hair);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 21, 34, 0.92), rgba(10, 22, 51, 0.92));
  transition: transform 0.3s var(--home-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--mute);
}

.page-home .module-card--lime::before {
  background: var(--lime);
}

.page-home .module-card--flare::before {
  background: var(--flare);
}

.page-home .module-card--cyan::before {
  background: var(--cyan);
}

.page-home .module-card--magenta::before {
  background: var(--magenta);
}

.page-home .module-card:hover,
.page-home .module-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(183, 255, 60, 0.5);
  box-shadow: var(--lift);
}

.page-home .mc-index {
  margin: 0 0 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--mute);
}

.page-home .mc-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.page-home .mc-value {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  color: rgba(233, 238, 246, 0.72);
}

.page-home .mc-num {
  display: inline-block;
  margin-right: 0.32rem;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-home .module-card--flare .mc-num {
  color: var(--flare);
}

.page-home .module-card--cyan .mc-num {
  color: var(--cyan);
}

.page-home .module-card--magenta .mc-num {
  color: var(--magenta);
}

.page-home .mc-note {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.72;
  color: rgba(233, 238, 246, 0.66);
}

.page-home .mc-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.35s var(--home-ease), opacity 0.28s ease, margin-top 0.35s var(--home-ease);
}

.page-home .mc-more-inner {
  overflow: hidden;
}

.page-home .mc-more p {
  margin: 0 0 0.6rem;
  font-size: 0.83rem;
  line-height: 1.72;
  color: var(--lime);
}

.page-home .module-card--flare .mc-more p {
  color: var(--flare);
}

.page-home .module-card--cyan .mc-more p {
  color: var(--cyan);
}

.page-home .module-card--magenta .mc-more p {
  color: var(--magenta);
}

.page-home .mc-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 238, 246, 0.35);
  padding-bottom: 0.15rem;
}

.page-home .mc-link:hover,
.page-home .mc-link:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
}

.page-home .module-card:hover .mc-more,
.page-home .module-card:focus-within .mc-more {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.9rem;
}

/* ---------- 轨迹数据带 ---------- */

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

.page-home .trail-band img {
  display: block;
  width: 100%;
  height: clamp(200px, 30vw, 330px);
  object-fit: cover;
  opacity: 0.58;
}

.page-home .trail-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding-block: clamp(1.2rem, 4vw, 2.2rem);
  background: linear-gradient(transparent, rgba(10, 22, 51, 0.94));
}

.page-home .trail-tag {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--flare);
}

.page-home .trail-text {
  margin: 0;
  max-width: 46em;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(233, 238, 246, 0.86);
}

/* ---------- 平板端 ---------- */

.page-home .tablet {
  padding-block: var(--home-pad);
  background: var(--paper);
  color: var(--ink);
}

.page-home .tablet-inner {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
}

@media (min-width: 940px) {
  .page-home .tablet-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-home .tablet-shot {
  padding: 0.7rem;
  background: #fff;
  border: 1px solid rgba(42, 59, 102, 0.24);
  box-shadow: var(--lift);
  transform: rotate(-0.7deg);
}

.page-home .tablet .sec-kicker {
  color: #a33b0c;
}

.page-home .tablet h2 {
  color: var(--ink);
}

.page-home .tablet-lede {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: #3a445e;
}

.page-home .tablet-list {
  list-style: none;
  margin: 1.3rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .tablet-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #2b3450;
}

.page-home .tablet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--flare);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ---------- 转会动态 ---------- */

.page-home .transfer {
  padding-block: var(--home-pad);
  background: var(--ink);
}

.page-home .transfer-inner {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
}

@media (min-width: 940px) {
  .page-home .transfer-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.page-home .transfer-lede {
  margin: 0;
  max-width: 34em;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(233, 238, 246, 0.76);
}

.page-home .transfer-tags {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-home .tag {
  padding: 0.32rem 0.62rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.page-home .tag--in {
  color: var(--cyan);
}

.page-home .tag--out {
  color: var(--flare);
}

.page-home .tag--rumor {
  color: var(--magenta);
}

.page-home .tag--done {
  color: var(--lime);
}

.page-home .transfer-shot {
  border: var(--hair);
  background: rgba(16, 21, 34, 0.9);
  padding: 0.6rem;
  border-radius: var(--radius);
}

/* ---------- 关注球队 ---------- */

.page-home .follow {
  padding-block: var(--home-pad);
  background: var(--fog);
  color: var(--ink);
}

.page-home .follow-inner {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
}

@media (min-width: 940px) {
  .page-home .follow-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.page-home .follow-shot {
  border: 1px solid rgba(42, 59, 102, 0.24);
  background: #fff;
  padding: 0.6rem;
  box-shadow: var(--lift);
}

.page-home .follow .sec-kicker {
  color: #0f766e;
}

.page-home .follow h2 {
  color: var(--ink);
}

.page-home .follow-lede {
  margin: 0;
  max-width: 36em;
  font-size: 0.96rem;
  line-height: 1.85;
  color: #33405c;
}

.page-home .follow-groups {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-home .group-chip {
  padding: 0.32rem 0.66rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  border: 1px solid rgba(42, 59, 102, 0.3);
  background: #fff;
  color: #2b3450;
}

.page-home .group-chip--lime {
  border-color: rgba(120, 175, 15, 0.6);
  color: #4b6b06;
}

.page-home .group-chip--cyan {
  border-color: rgba(15, 118, 110, 0.55);
  color: #0f766e;
}

.page-home .group-chip--flare {
  border-color: rgba(163, 59, 12, 0.55);
  color: #a33b0c;
}

/* ---------- 服务与信任 ---------- */

.page-home .trust {
  padding-block: var(--home-pad);
  background: var(--ink-deep);
}

.page-home .trust-grid {
  list-style: none;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

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

.page-home .trust-stat {
  padding: 1.1rem 1rem;
  border: var(--hair);
  border-radius: var(--radius);
  background: rgba(10, 22, 51, 0.72);
}

.page-home .ts-num {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.page-home .ts-unit {
  font-size: 0.45em;
  margin-left: 0.15em;
  color: var(--cyan);
}

.page-home .ts-label {
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.page-home .ts-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(233, 238, 246, 0.66);
}

.page-home .trust-tags {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .trust-tags li {
  padding: 0.38rem 0.7rem;
  border: 1px dashed rgba(42, 59, 102, 0.95);
  border-radius: var(--radius);
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(233, 238, 246, 0.74);
}

.page-home .trust-foot {
  margin-top: clamp(1.4rem, 4vw, 2rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(42, 59, 102, 0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: baseline;
  justify-content: space-between;
}

.page-home .trust-legal {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.page-home .trust-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.84rem;
}

.page-home .trust-links a {
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 238, 246, 0.3);
  padding-bottom: 0.12rem;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.page-home .trust-links a:hover,
.page-home .trust-links a:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- 焦点与动效 ---------- */

.page-home a:focus-visible,
.page-home .module-card:focus-within {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .module-card,
  .page-home .quick-link,
  .page-home .mc-more,
  .page-home .tablet-shot {
    transition: none;
    transform: none;
  }

  .page-home .module-card:hover,
  .page-home .module-card:focus-within {
    transform: none;
  }

  .page-home .module-card:hover .mc-more,
  .page-home .module-card:focus-within .mc-more {
    margin-top: 0.9rem;
  }
}

@media (max-width: 420px) {
  .page-home .hero-quick {
    grid-template-columns: 1fr;
  }

  .page-home .hv-chip {
    font-size: 0.64rem;
  }
}
