.page-home {
  --home-border: 2px solid var(--line);
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

.page-home .sec {
  padding: 56px 0;
  border-top: var(--home-border);
  position: relative;
}

.page-home .sec--panel {
  background: var(--panel-2);
}

.page-home .sec--deep {
  background: var(--panel-3);
}

.page-home .sec--cta {
  background: linear-gradient(120deg, var(--panel) 0%, var(--panel-3) 60%, #14243a 100%);
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-topbar {
  background: var(--ink);
  border-bottom: var(--home-border);
}

.page-home .home-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-home .home-topbar__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--amber);
  border: 1px solid var(--line);
  padding: 3px 9px;
}

.page-home .home-topbar__note {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  position: relative;
  padding: 34px 0 48px;
  background: var(--ink);
  border-bottom: var(--home-border);
  overflow: hidden;
}

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

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 85% at 82% 8%, rgba(108, 70, 168, .62), transparent 60%),
    linear-gradient(180deg, rgba(8, 21, 15, .35) 0%, rgba(8, 21, 15, .92) 72%, var(--ink) 100%);
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-home .hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--neon);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.page-home .hero h1 {
  font-size: clamp(30px, 8vw, 54px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 900;
  margin: 0 0 16px;
  max-width: 16em;
}

.page-home .hero__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  max-width: 34em;
  margin: 0 0 22px;
}

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

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

/* ---------- 栏目入口 ---------- */
.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "no title go"
    "no desc go";
  align-items: center;
  gap: 2px 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(16, 27, 24, .88);
  border: var(--home-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}

.page-home .entry__no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .08em;
  padding-right: 4px;
  border-right: 1px solid var(--line);
  align-self: stretch;
  display: flex;
  align-items: center;
}

.page-home .entry__title {
  grid-area: title;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .entry__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .entry__go {
  grid-area: go;
  font-size: 16px;
  color: var(--neon);
  transform: translateX(0);
  transition: transform .25s var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--neon);
  background: var(--panel);
}

.page-home .entry:hover .entry__desc,
.page-home .entry:focus-visible .entry__desc {
  color: var(--text);
}

.page-home .entry:hover .entry__go,
.page-home .entry:focus-visible .entry__go {
  transform: translateX(4px);
}

.page-home .entry:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- 悬浮数据卡 ---------- */
.page-home .card {
  position: relative;
  border: var(--home-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-home .card--ring {
  box-shadow: var(--shadow-neon);
}

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

.page-home .card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.page-home .card__inner {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.page-home .card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber);
  margin: 0 0 10px;
}

.page-home .card__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 12px 0 0;
}

.page-home .ring {
  width: 148px;
  height: 148px;
  display: block;
  margin: 0 auto;
}

.page-home .ring__track {
  stroke: var(--line);
}

.page-home .ring__value {
  stroke: var(--neon);
  filter: drop-shadow(0 0 6px rgba(47, 227, 168, .45));
}

.page-home .ring__num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  fill: var(--text);
}

.page-home .ring__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  fill: var(--muted);
}

.page-home .trend {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.page-home .trend__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.page-home .trend__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 84px;
}

.page-home .trend__bar {
  display: block;
  width: 8px;
  background: var(--neon);
  border: 1px solid rgba(0, 0, 0, .5);
}

.page-home .trend__bar--lost {
  background: var(--violet);
}

.page-home .bar--100 { height: 84px; }
.page-home .bar--66 { height: 56px; }
.page-home .bar--33 { height: 28px; }
.page-home .bar--06 { height: 6px; }

.page-home .trend__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .trend__legend {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.page-home .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .legend-dot {
  width: 10px;
  height: 10px;
  background: var(--neon);
  display: inline-block;
}

.page-home .legend-dot--lost {
  background: var(--violet);
}

/* ---------- 数据看板分段切换 ---------- */
.page-home .board {
  border: var(--home-border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.page-home .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: var(--home-border);
}

.page-home .tabs__tab {
  flex: 1 1 auto;
  appearance: none;
  border: none;
  border-right: 1px solid var(--line);
  background: var(--panel-3);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 12px;
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .tabs__tab:last-child {
  border-right: none;
}

.page-home .tabs__tab[aria-selected="true"] {
  background: var(--panel);
  color: var(--neon);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.page-home .tabs__tab:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -4px;
}

.page-home .tabs__panel[hidden] {
  display: none;
}

.page-home .board__panel {
  padding: 22px 18px;
}

.page-home .board__sub {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}

.page-home .board__panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 12px;
  max-width: 62ch;
}

.page-home .board__panel p:last-child {
  margin-bottom: 0;
}

.page-home .pos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .pos__side {
  border: var(--home-border);
  padding: 14px;
  background: var(--panel-3);
}

.page-home .pos__side--alt {
  background: rgba(108, 70, 168, .18);
}

.page-home .pos__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 9vw, 46px);
  font-weight: 600;
  color: var(--neon);
  line-height: 1;
}

.page-home .pos__side--alt .pos__num {
  color: var(--amber);
}

.page-home .pos__name {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .run-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-home .run-strip__item {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--panel-3);
}

.page-home .run-strip__item--warn {
  border-color: var(--alert);
  color: var(--alert);
}

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

.page-home .metric-group {
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--panel-3);
}

.page-home .metric-group__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-home .metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.page-home .metric-list li {
  font-size: 13.5px;
  color: var(--text);
  border-bottom: 1px dashed rgba(147, 168, 160, .28);
  padding-bottom: 4px;
}

/* ---------- 战例档案 ---------- */
.page-home .case {
  display: grid;
  gap: 28px;
}

.page-home .case__media {
  margin: 0;
  border: var(--home-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  position: relative;
}

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

.page-home .case__media figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--amber);
  padding: 10px 14px;
  border-top: var(--home-border);
}

.page-home .case__body p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
  max-width: 60ch;
}

.page-home .case-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-home .case-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 9px 12px;
  font-size: 14px;
}

.page-home .case-list__no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: .08em;
}

/* ---------- 球队库 ---------- */
.page-home .club {
  overflow: hidden;
}

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

.page-home .club__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-home .club__inner {
  position: relative;
  z-index: 1;
}

.page-home .club__grid {
  display: grid;
  gap: 14px;
  margin: 8px 0 22px;
}

.page-home .club__item {
  border: var(--home-border);
  background: rgba(16, 27, 24, .9);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.page-home .club__item:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
}

.page-home .club__item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--neon);
}

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

.page-home .club__note {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 66ch;
  border-left: 3px solid var(--amber);
  padding-left: 14px;
  margin: 0;
}

/* ---------- 手机版与版本节奏 ---------- */
.page-home .lines {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .line-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: var(--home-border);
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.page-home .line-card:hover,
.page-home .line-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--neon);
}

.page-home .line-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-home .line-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--amber);
  padding: 2px 8px;
  margin-bottom: 10px;
}

.page-home .line-card__title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-home .line-card__desc {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .pace {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--home-border);
}

.page-home .pace__item {
  background: var(--panel-2);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.page-home .pace__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 600;
  color: var(--neon);
  min-width: 5.4em;
}

.page-home .pace__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- 信任 ---------- */
.page-home .trust {
  display: grid;
  gap: 26px;
}

.page-home .trust__lead p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 14px;
  max-width: 60ch;
}

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

.page-home .trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.page-home .tstat {
  border: var(--home-border);
  background: var(--panel);
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
}

.page-home .tstat__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 600;
  color: var(--neon);
  line-height: 1.1;
}

.page-home .tstat--amber .tstat__num {
  color: var(--amber);
}

.page-home .tstat__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 结尾 ---------- */
.page-home .cta {
  text-align: left;
}

.page-home .cta h2 {
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 900;
  margin: 0 0 14px;
  max-width: 18em;
}

.page-home .cta p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 22px;
}

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

/* ---------- 入场 ---------- */
.page-home [data-reveal] {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .34s var(--ease), transform .34s var(--ease);
  }

  .page-home.js-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .club__item,
  .page-home .line-card {
    transition: none;
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-home .sec {
    padding: 72px 0;
  }

  .page-home .hero {
    padding: 46px 0 64px;
  }

  .page-home .entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .club__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .metric-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .case-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .board__panel {
    padding: 28px 26px;
  }

  .page-home .trust__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-home .hero {
    padding: 74px 0 76px;
  }

  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .hero__cards {
    margin-top: 34px;
  }

  .page-home .card--trend {
    margin-left: 22px;
  }

  .page-home .case {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .case__media {
    position: sticky;
    top: 130px;
  }

  .page-home .metric-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .trust {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .pace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 40px;
  }

  .page-home .cta h2 {
    grid-column: 1;
    margin-bottom: 10px;
  }

  .page-home .cta p {
    grid-column: 1;
    margin-bottom: 0;
  }

  .page-home .cta__actions {
    grid-column: 2;
    justify-content: flex-end;
  }
}
