.page-products {
  --pp-radius: var(--r-md);
  --pp-panel: linear-gradient(165deg, rgba(18, 59, 94, .62), rgba(7, 26, 47, .9));
  --pp-panel-soft: linear-gradient(165deg, rgba(18, 59, 94, .34), rgba(13, 42, 71, .66));
  overflow-x: clip;
}

.page-products .breadcrumb {
  margin-bottom: 20px;
}

/* ── 首屏 ─────────────────────────────── */
.page-products .prod-hero {
  position: relative;
  padding-top: clamp(28px, 5vw, 68px);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -18%;
  width: 44vw;
  height: 44vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle at 50% 50%, rgba(57, 255, 154, .16), rgba(47, 168, 255, .10) 44%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-products .prod-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .prod-hero__layout {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.page-products .prod-hero__copy h1 {
  margin: 14px 0 0;
  font-size: clamp(29px, 5.6vw, 54px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--c-white);
}

.page-products .prod-hero__copy .lead {
  margin-top: 16px;
  max-width: 56ch;
}

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

.page-products .prod-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--pp-panel-soft);
  box-shadow: var(--shadow-2);
}

.page-products .prod-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7, 26, 47, .58));
  pointer-events: none;
}

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

.page-products .prod-hero__strip {
  list-style: none;
  margin: clamp(26px, 4vw, 46px) 0 0;
  padding: 1px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .prod-hero__strip li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 18px;
  background: linear-gradient(180deg, rgba(13, 42, 71, .88), rgba(7, 26, 47, .94));
  font-size: 13px;
  color: var(--c-ice);
}

.page-products .prod-hero__strip b {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
}

/* ── 技能树路径 ───────────────────────── */
.page-products .prod-tree__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  counter-reset: none;
}

.page-products .prod-tree__node {
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(172deg, rgba(18, 59, 94, .5), rgba(7, 26, 47, .76));
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}

.page-products .prod-tree__node:hover,
.page-products .prod-tree__node:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-hot);
  box-shadow: var(--shadow-1);
}

.page-products .prod-tree__num {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-cyan);
  margin-bottom: 10px;
}

.page-products .prod-tree__link {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 2px solid rgba(47, 168, 255, .45);
  padding-bottom: 2px;
  transition: border-color .28s var(--ease), color .28s var(--ease);
}

.page-products .prod-tree__link:hover,
.page-products .prod-tree__link:focus-visible {
  color: var(--c-green);
  border-color: var(--c-green);
}

.page-products .prod-tree__node p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-ice);
}

/* ── 终端能力 ─────────────────────────── */
.page-products .prod-cap__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.page-products .prod-cap__card {
  padding: 22px 20px;
  border-radius: var(--r-md);
}

.page-products .prod-cap__card h3 {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.4;
}

.page-products .prod-cap__card p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--c-ice);
}

.page-products .prod-cap__card--lead {
  background: linear-gradient(150deg, rgba(57, 255, 154, .10), rgba(18, 59, 94, .66) 46%, rgba(7, 26, 47, .92));
  border-color: rgba(57, 255, 154, .28);
}

.page-products .prod-cap__lead-body p:first-child {
  margin-top: 12px;
}

/* ── 联赛筛选 ─────────────────────────── */
.page-products .prod-filter__layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-products .prod-filter__copy h2 {
  margin: 12px 0 0;
  font-size: clamp(25px, 3.6vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--c-white);
}

.page-products .prod-filter__copy > p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ice);
  max-width: 56ch;
}

.page-products .prod-filter__segment {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(13, 42, 71, .72);
}

.page-products .prod-filter__seg {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ice);
  transition: background .28s var(--ease), color .28s var(--ease);
}

.page-products .prod-filter__seg.is-active {
  background: linear-gradient(120deg, rgba(57, 255, 154, .9), rgba(47, 168, 255, .85));
  color: #04121f;
}

.page-products .prod-filter__note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--c-amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(255, 200, 87, .07);
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-ice);
}

.page-products .prod-filter__points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .prod-filter__points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ice);
}

.page-products .prod-filter__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-blue);
  transform: rotate(45deg);
}

.page-products .prod-filter__points b {
  color: var(--c-white);
  font-weight: 700;
}

.page-products .prod-filter__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--pp-panel-soft);
  box-shadow: var(--shadow-1);
}

.page-products .prod-filter__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

/* ── 角球查询 ─────────────────────────── */
.page-products .prod-corner__layout {
  display: grid;
  gap: clamp(22px, 3.5vw, 40px);
  align-items: start;
}

.page-products .prod-corner__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.page-products .prod-corner__steps li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--pp-panel-soft);
}

.page-products .prod-corner__steps span {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-green);
  letter-spacing: .08em;
}

.page-products .prod-corner__steps b {
  display: block;
  font-size: 16px;
  color: var(--c-white);
}

.page-products .prod-corner__steps p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-ice);
}

.page-products .prod-corner__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--pp-panel-soft);
  box-shadow: var(--shadow-1);
}

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

.page-products .prod-corner__figure figcaption {
  padding: 14px 18px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ice);
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 26, 47, .72);
}

/* ── 阵容出场时间 ─────────────────────── */
.page-products .prod-lineup__layout {
  display: grid;
  gap: clamp(22px, 3.5vw, 42px);
  align-items: center;
}

.page-products .prod-lineup__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--pp-panel-soft);
  box-shadow: var(--shadow-1);
}

.page-products .prod-lineup__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
}

.page-products .prod-lineup__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.page-products .prod-lineup__timeline li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-left: 2px solid rgba(47, 168, 255, .28);
}

.page-products .prod-lineup__timeline li:last-child {
  border-left-color: transparent;
}

.page-products .prod-lineup__dot {
  position: absolute;
  left: -7px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(47, 168, 255, .16);
}

.page-products .prod-lineup__timeline li:first-child .prod-lineup__dot {
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(57, 255, 154, .18);
}

.page-products .prod-lineup__timeline b {
  display: block;
  font-size: 16px;
  color: var(--c-white);
}

.page-products .prod-lineup__timeline p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--c-ice);
}

.page-products .prod-lineup__fact {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 200, 87, .3);
  border-radius: var(--r-md);
  background: rgba(255, 200, 87, .06);
}

.page-products .prod-lineup__fact span {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-amber);
}

.page-products .prod-lineup__fact p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ice);
}

/* ── 版本与下载 ───────────────────────── */
.page-products .prod-version__layout {
  display: grid;
  gap: clamp(22px, 3.5vw, 40px);
  align-items: start;
}

.page-products .prod-version__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--pp-panel-soft);
  box-shadow: var(--shadow-1);
}

.page-products .prod-version__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-products .prod-version__panel {
  padding: 24px 22px;
  border-radius: var(--r-lg);
}

.page-products .prod-version__panel h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
}

.page-products .prod-version__ways {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.page-products .prod-version__way {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(7, 26, 47, .55);
}

.page-products .prod-version__way p {
  margin: 12px 0 16px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--c-ice);
}

.page-products .prod-version__note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ice);
}

/* ── 适用场景 ─────────────────────────── */
.page-products .prod-scenes__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.page-products .prod-scenes__card {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .prod-scenes__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue) 55%, transparent);
}

.page-products .prod-scenes__idx {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--c-cyan);
}

.page-products .prod-scenes__card h3 {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
}

.page-products .prod-scenes__card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--c-ice);
}

.page-products .prod-scenes__hint {
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--c-amber) !important;
  font-size: 13px !important;
}

/* ── 后续指引 ─────────────────────────── */
.page-products .prod-next__panel {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 92% 12%, rgba(57, 255, 154, .14), transparent 52%),
    linear-gradient(150deg, rgba(18, 59, 94, .68), rgba(7, 26, 47, .94));
  box-shadow: var(--shadow-1);
}

.page-products .prod-next__panel h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.page-products .prod-next__panel p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-ice);
  max-width: 58ch;
}

.page-products .prod-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 响应式 ───────────────────────────── */
@media (min-width: 620px) {
  .page-products .prod-hero__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .prod-corner__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .prod-version__ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .prod-scenes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .prod-hero__strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .prod-hero__layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-products .prod-cap__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .prod-cap__card--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 0 34px;
  }

  .page-products .prod-cap__card--lead .tag {
    justify-self: start;
  }

  .page-products .prod-filter__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-products .prod-corner__layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .page-products .prod-lineup__layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .page-products .prod-version__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }

  .page-products .prod-scenes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .prod-next__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .page-products .prod-tree__track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .page-products .prod-tree__track {
    position: relative;
  }

  .page-products .prod-tree__track::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: linear-gradient(90deg, rgba(57, 255, 154, .5), rgba(47, 168, 255, .5) 50%, rgba(0, 229, 208, .35));
    pointer-events: none;
  }

  .page-products .prod-tree__node {
    background: linear-gradient(172deg, rgba(18, 59, 94, .72), rgba(7, 26, 47, .9));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-tree__node,
  .page-products .prod-tree__link,
  .page-products .prod-filter__seg {
    transition: none;
  }

  .page-products .prod-tree__node:hover,
  .page-products .prod-tree__node:focus-within {
    transform: none;
  }
}
