.page-home {
  --home-line: rgba(147, 169, 184, .16);
  --home-line-strong: rgba(147, 169, 184, .34);
  --home-glow: rgba(91, 240, 140, .14);
}

.page-home .breadcrumb {
  padding-top: 20px;
  font-size: 13px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-block: 28px 56px;
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(120% 80% at 22% 12%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 22% 12%, #000 0%, transparent 72%);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
}

.page-home .hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--radar);
  text-shadow: 0 0 24px rgba(91, 240, 140, .28);
}

.page-home .hero__intro {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--home-line);
}

.page-home .hero__clock {
  font-size: 19px;
  color: var(--radar);
  letter-spacing: .05em;
  animation: home-pulse 15s ease-in-out infinite;
}

.page-home .hero__cadence {
  font-size: 12px;
  color: var(--steel);
  letter-spacing: .08em;
}

@keyframes home-pulse {
  0%, 92%, 100% { opacity: 1; text-shadow: none; }
  95% { opacity: .68; text-shadow: 0 0 14px rgba(91, 240, 140, .7); }
}

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

/* 赛程卡 */
.page-home .match-card {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--home-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
}

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

.page-home .match-card__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .match-card__media {
  position: relative;
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.page-home .match-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.page-home .match-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--panel) 0%, rgba(15, 21, 24, .1) 45%, var(--panel) 100%);
}

.page-home .match-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 10px;
}

.page-home .match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "time state"
    "teams score"
    "hist hist";
  gap: 6px 12px;
  padding: 13px 12px;
  border-top: 1px solid var(--home-line);
  border-radius: var(--r-sm);
  transition: background .22s var(--ease);
}

.page-home .match-row:first-child {
  border-top: 0;
}

.page-home .match-row:hover,
.page-home .match-row:focus-visible {
  background: var(--home-glow);
  outline: none;
}

.page-home .match-row__time {
  grid-area: time;
  font-size: 13px;
  color: var(--steel);
  letter-spacing: .06em;
}

.page-home .match-row__teams {
  grid-area: teams;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .match-row__teams i {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--steel);
  padding-inline: 4px;
}

.page-home .match-row__score {
  grid-area: score;
  font-size: 16px;
  color: var(--paper);
  letter-spacing: .04em;
  white-space: nowrap;
}

.page-home .match-row__state {
  grid-area: state;
  justify-self: end;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}

.page-home .match-row:nth-child(1) .match-row__state { color: var(--steel); }
.page-home .match-row:nth-child(2) .match-row__state { color: var(--radar); }
.page-home .match-row:nth-child(3) .match-row__state { color: var(--signal); }

.page-home .match-row__hist {
  grid-area: hist;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
  transition: max-height .3s var(--ease), opacity .3s var(--ease), margin-top .3s var(--ease);
}

.page-home .match-row:hover .match-row__hist,
.page-home .match-row:focus .match-row__hist,
.page-home .match-row:focus-within .match-row__hist {
  max-height: 96px;
  opacity: 1;
  margin-top: 10px;
}

/* 雷达主视觉 */
.page-home .hero__scope {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
}

.page-home .scope {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--home-line-strong);
  background:
    radial-gradient(circle at 50% 50%, rgba(91, 240, 140, .12) 0%, transparent 62%),
    var(--panel);
}

.page-home .scope__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  mix-blend-mode: screen;
}

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

.page-home .scope__rings circle,
.page-home .scope__rings line {
  fill: none;
  stroke: var(--home-line-strong);
  stroke-width: .7;
}

.page-home .scope__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(91, 240, 140, .40) 0deg,
    rgba(91, 240, 140, .10) 38deg,
    transparent 92deg,
    transparent 360deg);
  mix-blend-mode: screen;
  animation: home-sweep 8s linear infinite;
}

@keyframes home-sweep {
  to { transform: rotate(360deg); }
}

.page-home .scope__caption {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--steel);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .scope__sweep { animation: none; }
  .page-home .hero__clock { animation: none; }
}

@media (min-width: 980px) {
  .page-home .hero {
    padding-block: 40px 76px;
  }
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: 56px;
    align-items: start;
  }
  .page-home .match-row {
    grid-template-columns: 60px minmax(0, 1fr) auto auto;
    grid-template-areas:
      "time teams score state"
      "hist hist hist hist";
    align-items: center;
  }
  .page-home .match-row__state {
    justify-self: end;
  }
}

/* ---------- 斜切入口带 ---------- */
.page-home .gates {
  padding-block: 4px 72px;
}

.page-home .gates__grid {
  display: grid;
  gap: 22px;
}

.page-home .gate {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  border: 1px solid var(--home-line);
  border-left-width: 3px;
  border-radius: var(--r-md);
  background: linear-gradient(155deg, var(--glass) 0%, var(--panel) 68%);
  color: inherit;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.page-home .gate--cases { border-left-color: var(--radar); }
.page-home .gate--files { border-left-color: var(--signal); }

.page-home .gate:hover,
.page-home .gate:focus-visible {
  transform: translateY(-4px);
  border-color: var(--home-line-strong);
  box-shadow: 0 26px 56px -38px rgba(0, 0, 0, .95);
  outline: none;
}

.page-home .gate__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--radar);
  clip-path: polygon(var(--shear) 0, 100% 0, calc(100% - var(--shear)) 100%, 0 100%);
}

.page-home .gate--files .gate__badge {
  background: var(--signal);
}

.page-home .gate__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 4.4vw, 28px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .gate__desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .gate__go {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--radar);
}

.page-home .gate--files .gate__go {
  color: var(--signal);
}

@media (min-width: 860px) {
  .page-home .gates__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
  .page-home .gate--cases { margin-top: 0; }
  .page-home .gate--files { margin-top: 34px; }
}

/* ---------- 数据覆盖 ---------- */
.page-home .coverage {
  padding-block: 0 72px;
}

.page-home .coverage .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .coverage .section-head__note {
  font-size: 14px;
  color: var(--steel);
}

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

.page-home .coverage__figure {
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel);
}

.page-home .coverage__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .82;
}

.page-home .spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .spec-list li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  gap: 4px 14px;
  padding: 18px 0;
  border-top: 1px solid var(--home-line);
}

.page-home .spec-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .spec-list__num {
  grid-area: num;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--radar);
}

.page-home .spec-list__title {
  grid-area: title;
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-home .spec-list__text {
  grid-area: text;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

@media (min-width: 900px) {
  .page-home .coverage__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }
}

/* ---------- 案例合集 ---------- */
.page-home .cases {
  padding-block: 0 72px;
}

.page-home .cases .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .cases .section-head__note {
  font-size: 14px;
  color: var(--steel);
}

.page-home .cases__grid {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.page-home .lane-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .lane {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--home-line);
}

.page-home .lane:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .lane__num {
  font-size: clamp(30px, 7vw, 46px);
  font-weight: 500;
  line-height: 1;
  color: var(--radar);
  letter-spacing: -.02em;
}

.page-home .lane__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
}

.page-home .lane__body p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .cases__aside {
  padding: 24px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--home-line);
}

.page-home .cases__aside-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

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

.page-home .update-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .update-list__dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--radar);
  box-shadow: 0 0 10px rgba(91, 240, 140, .6);
}

.page-home .cases__aside-note {
  margin: 20px 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
}

@media (min-width: 900px) {
  .page-home .cases__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 44px;
    align-items: start;
  }
  .page-home .cases__aside {
    margin-top: 44px;
  }
}

/* ---------- 资料下载 ---------- */
.page-home .files {
  padding-block: 0 72px;
}

.page-home .files .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .files .section-head__note {
  font-size: 14px;
  color: var(--steel);
}

.page-home .file-rows {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--home-line-strong);
}

.page-home .file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name size"
    "fmt fmt"
    "who who";
  gap: 6px 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--home-line);
  transition: background .22s var(--ease);
}

.page-home .file-row:hover {
  background: var(--home-glow);
}

.page-home .file-row__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-home .file-row__fmt {
  grid-area: fmt;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--radar);
}

.page-home .file-row__who {
  grid-area: who;
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .file-row__size {
  grid-area: size;
  justify-self: end;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
}

.page-home .files__foot {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid var(--home-line);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--glass) 0%, var(--panel) 72%);
}

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

.page-home .files__foot .btn {
  justify-self: start;
}

@media (min-width: 760px) {
  .page-home .file-row {
    grid-template-columns: 180px 130px minmax(0, 1fr) 90px;
    grid-template-areas: "name fmt who size";
    align-items: center;
    padding: 18px 4px;
  }
  .page-home .files__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }
}

/* ---------- 换设备 ---------- */
.page-home .switch {
  padding-block: 0 72px;
}

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

.page-home .switch__copy h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .switch__copy p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--steel);
  max-width: 52ch;
}

.page-home .switch__copy .btn {
  margin-top: 22px;
}

.page-home .switch__side {
  display: grid;
  gap: 18px;
}

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

.page-home .step-list li {
  position: relative;
  padding: 18px 20px 18px 26px;
  border: 1px solid var(--home-line);
  border-radius: var(--r-md);
  background: var(--panel);
  overflow: hidden;
}

.page-home .step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--radar), var(--radar-deep));
}

.page-home .step-list__n {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--radar);
}

.page-home .step-list h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-home .step-list p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .switch__meta {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
  line-height: 1.7;
}

@media (min-width: 900px) {
  .page-home .switch__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 52px;
    align-items: start;
  }
}

/* ---------- 下一步 ---------- */
.page-home .next {
  padding-block: 0 84px;
}

.page-home .next__inner {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px 26px;
  border: 1px solid var(--home-line);
  border-radius: var(--r-md);
  background:
    linear-gradient(150deg, rgba(91, 240, 140, .10) 0%, transparent 46%),
    var(--panel);
  overflow: hidden;
}

.page-home .next__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--radar), transparent);
}

.page-home .next__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .next__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

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

.page-home .next__note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .next__note a {
  color: var(--radar);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 760px) {
  .page-home .next__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title actions"
      "desc actions"
      "note actions";
    align-items: center;
    gap: 10px 40px;
    padding: 40px 40px;
  }
  .page-home .next__title { grid-area: title; }
  .page-home .next__desc { grid-area: desc; }
  .page-home .next__note { grid-area: note; }
  .page-home .next__actions { grid-area: actions; margin-top: 0; }
}
</main>
