.page-products {
  --ex-gap: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--white);
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}

.page-products .ex-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ex-gap);
  padding-top: clamp(1.25rem, 4vw, 2.25rem);
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.page-products .ex-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0.45rem 0 0;
}

.page-products .ex-hero__lede {
  margin: 1.1rem 0 0;
  max-width: 44ch;
  color: var(--mist);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.page-products .ex-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.page-products .ex-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.7rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--mist);
}

.page-products .ex-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.page-products .ex-hero__facts strong {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber);
}

.page-products .ex-hero__art {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.page-products .ex-hero__art::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -6%;
  z-index: 0;
  width: 62%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

.page-products .ex-hero__art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-products .ex-section {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}

.page-products .ex-head {
  max-width: 64ch;
}

.page-products .ex-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0.35rem 0 0;
}

.page-products .ex-sub {
  margin: 0.85rem 0 0;
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.8;
}

.page-products .ex-note {
  margin: 1.2rem 0 0;
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.75;
}

.page-products .ex-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .ex-note a:hover {
  color: var(--amber);
}

/* 玩法分区地图 */
.page-products .ex-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.page-products .ex-map__card {
  position: relative;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(139, 92, 246, 0.13), rgba(13, 18, 38, 0.94) 62%);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.page-products .ex-map__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--violet);
}

.page-products .ex-map__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent var(--amber) transparent transparent;
}

.page-products .ex-map__card:hover,
.page-products .ex-map__card:focus-within {
  border-color: var(--violet);
  background: linear-gradient(155deg, rgba(139, 92, 246, 0.22), rgba(13, 18, 38, 0.96) 62%);
}

.page-products .ex-map__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-products .ex-map__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0.4rem 0 0.5rem;
}

.page-products .ex-map__text {
  margin: 0 0 0.85rem;
  color: var(--mist);
  font-size: 0.925rem;
  line-height: 1.72;
}

.page-products .ex-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px dashed var(--line);
}

.page-products .ex-chips__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin-right: 0.25rem;
}

/* 新手局五步 */
.page-products .ex-starter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ex-gap);
  margin-top: 1.75rem;
}

.page-products .ex-starter__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-products .ex-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--deep);
}

.page-products .ex-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .ex-figure--tall {
  align-self: start;
}

.page-products .ex-figure--wide {
  margin-top: 1.75rem;
}

.page-products .ex-figure__cap {
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line-soft);
  color: var(--mist);
  font-size: 0.82rem;
  line-height: 1.6;
}

.page-products .ex-callout {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--amber);
  background: rgba(255, 176, 32, 0.08);
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.75;
}

.page-products .ex-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .ex-steps > li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  column-gap: 0.6rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .ex-steps__num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--violet);
  transition: color 0.18s ease;
}

.page-products .ex-steps > li:hover .ex-steps__num {
  color: var(--amber);
}

.page-products .ex-steps__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.4;
}

.page-products .ex-steps__text {
  grid-column: 2;
  grid-row: 2;
  margin: 0.3rem 0 0;
  color: var(--mist);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* 胜率统计 */
.page-products .ex-winrate {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ex-gap);
  margin-top: 1.75rem;
}

.page-products .ex-winrate__bars {
  display: grid;
  align-content: start;
  gap: 1.1rem;
}

.page-products .ex-winrate__cap {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.page-products .ex-bar {
  display: grid;
  gap: 0.45rem;
}

.page-products .ex-bar__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.page-products .ex-bar__val {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-products .ex-bar__track {
  position: relative;
  height: 8px;
  background: rgba(58, 42, 90, 0.55);
  overflow: hidden;
}

.page-products .ex-bar__track > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--violet) 68%, var(--cyan));
  transition: filter 0.18s ease;
}

.page-products .ex-bar:hover .ex-bar__track > span {
  filter: brightness(1.4);
}

/* 结算明细 */
.page-products .ex-settle {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.page-products .ex-settle__card {
  padding: 1.05rem 1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--violet);
  transition: border-top-color 0.18s ease, transform 0.18s ease;
}

.page-products .ex-settle__card:hover {
  border-top-color: var(--amber);
  transform: translateY(-2px);
}

.page-products .ex-settle__key {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-products .ex-settle__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.4rem 0 0.45rem;
}

.page-products .ex-settle__text {
  margin: 0;
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.72;
}

/* 段位自检 */
.page-products .ex-check {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.page-products .ex-check__item {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(27, 16, 48, 0.92), rgba(13, 18, 38, 0.92));
  transition: border-color 0.18s ease;
}

.page-products .ex-check__item:hover {
  border-color: var(--violet);
}

.page-products .ex-check__item > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.45;
}

.page-products .ex-check__item > summary::-webkit-details-marker {
  display: none;
}

.page-products .ex-check__item > summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--amber);
}

.page-products .ex-check__item[open] > summary::after {
  content: "–";
}

.page-products .ex-check__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--violet);
  letter-spacing: 0.08em;
}

.page-products .ex-check__body {
  padding: 0 1.1rem 1.1rem;
  color: var(--mist);
  font-size: 0.94rem;
  line-height: 1.78;
}

.page-products .ex-check__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .ex-check__body a:hover {
  color: var(--amber);
}

/* 常见误区 */
.page-products .ex-pit {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.page-products .ex-pit__item {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-left: 3px solid var(--amber);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 176, 32, 0.07);
  color: var(--mist);
  font-size: 0.93rem;
  line-height: 1.75;
}

.page-products .ex-pit__item strong {
  color: var(--white);
  font-weight: 700;
}

/* 收尾通道 */
.page-products .ex-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(139, 92, 246, 0.24), rgba(47, 107, 255, 0.13) 55%, rgba(13, 18, 38, 0.92));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-products .ex-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin: 0;
}

.page-products .ex-cta__text {
  margin: 0.7rem 0 0;
  max-width: 56ch;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.78;
}

.page-products .ex-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: start;
}

@media (min-width: 560px) {
  .page-products .ex-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-products .ex-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.78fr);
    align-items: end;
  }

  .page-products .ex-starter {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }

  .page-products .ex-winrate {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    align-items: start;
  }

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

@media (min-width: 1000px) {
  .page-products .ex-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .ex-map > :nth-child(3n + 2) {
    transform: translateY(14px);
  }

  .page-products .ex-map > :nth-child(3n) {
    transform: translateY(-8px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products .ex-map__card,
  .page-products .ex-settle__card,
  .page-products .ex-check__item,
  .page-products .ex-steps__num,
  .page-products .ex-bar__track > span {
    transition: none;
  }

  .page-products .ex-settle__card:hover,
  .page-products .ex-map > :nth-child(3n + 2),
  .page-products .ex-map > :nth-child(3n) {
    transform: none;
  }
}
