.page-products {
  --pp-hair: rgba(201, 162, 39, 0.22);
  --pp-cut: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  --pp-cut-lg: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
}

/* ============ 首屏 ============ */
.page-products .products-hero {
  position: relative;
  padding: clamp(88px, 13vw, 156px) 0 clamp(64px, 9vw, 112px);
  color: var(--warm);
  background:
    radial-gradient(120% 90% at 84% -12%, rgba(44, 113, 89, 0.55), transparent 62%),
    linear-gradient(158deg, #0B241C 0%, #123A2E 56%, #0B241C 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 52px));
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -8%;
  width: 46%;
  height: 62%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), transparent 68%);
  transform: skewX(-8deg);
  pointer-events: none;
}

.page-products .products-hero .breadcrumb__list {
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.page-products .products-hero .breadcrumb__link,
.page-products .products-hero .breadcrumb__current {
  color: rgba(245, 241, 230, 0.68);
}

.page-products .products-hero .breadcrumb__link:hover {
  color: #C9A227;
}

.page-products .products-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  position: relative;
}

.page-products .products-hero__lead h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.2vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--warm);
}

.page-products .products-hero__intro {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.82);
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.4vw, 36px);
}

.page-products .products-hero__aside {
  padding: clamp(20px, 3vw, 28px);
  background: rgba(245, 241, 230, 0.05);
  border-left: 2px solid rgba(201, 162, 39, 0.55);
  backdrop-filter: blur(2px);
}

.page-products .products-hero__aside-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #C9A227;
}

.page-products .pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pick-list__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  color: var(--warm);
  text-decoration: none;
  background: rgba(245, 241, 230, 0.05);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: background 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-products .pick-list__link:hover,
.page-products .pick-list__link:focus-visible {
  background: rgba(183, 51, 42, 0.42);
  transform: translateX(4px);
}

.page-products .pick-list__time {
  flex: 0 0 auto;
  min-width: 4.6em;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #F0D374;
}

.page-products .pick-list__name {
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ============ 章节标题 ============ */
.page-products .chapter__lead,
.page-products .section-lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.8;
}

.page-products .section--dark .chapter__lead,
.page-products .section--deep .chapter__lead,
.page-products .section--dark .section-lead {
  color: rgba(245, 241, 230, 0.76);
}

.page-products .section--mist .chapter__lead,
.page-products .section-lead {
  color: var(--ink-muted);
}

/* ============ Bento 玩法拼合 ============ */
.page-products .modes-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: clamp(32px, 4.4vw, 52px);
}

.page-products .modes-focus {
  padding: clamp(24px, 3.2vw, 40px);
  color: var(--warm);
  background: linear-gradient(150deg, #123A2E 0%, #0B241C 100%);
  clip-path: var(--pp-cut-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.page-products .seat-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-products .seat-svg__orbit {
  transform-origin: 160px 160px;
  animation: pp-orbit 28s linear infinite;
}

.page-products .seat-svg__dot {
  animation: pp-seat-pulse 5.2s var(--ease) infinite;
}

.page-products .seat-svg__dot--2 { animation-delay: 1.3s; }
.page-products .seat-svg__dot--3 { animation-delay: 2.6s; }
.page-products .seat-svg__dot--4 { animation-delay: 3.9s; }

@keyframes pp-orbit {
  to { transform: rotate(-360deg); }
}

@keyframes pp-seat-pulse {
  0%, 100% { opacity: 0.42; }
  18% { opacity: 1; }
}

.page-products .modes-focus__caption {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(245, 241, 230, 0.68);
  text-align: center;
}

.page-products .modes-stack {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.page-products .play-card {
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--mist);
  color: var(--ink);
  clip-path: var(--pp-cut);
  border-top: 3px solid var(--green-600);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-products .play-card.is-active {
  background: var(--warm);
  border-top-color: var(--cinnabar);
}

.page-products .play-card__tag {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--green-600);
}

.page-products .play-card__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.3;
}

.page-products .play-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

.page-products .play-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(44, 113, 89, 0.28);
  font-size: 0.86rem;
  color: var(--green-700);
}

.page-products .play-card__meta .mono {
  font-size: 1.05rem;
  color: var(--cinnabar);
  margin-right: 4px;
}

/* ============ 时长刻度带 ============ */
.page-products .pace-band {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px);
  background: #0F1F19;
  color: var(--warm);
  clip-path: var(--pp-cut);
}

.page-products .pace-band__title {
  margin: 0 0 18px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: #C9A227;
}

.page-products .pace-band__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}

.page-products .pace-band__row:first-of-type {
  border-top: 0;
}

.page-products .pace-band__name {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(245, 241, 230, 0.86);
}

.page-products .pace-band__track {
  grid-column: 1 / -1;
  order: 3;
  height: 12px;
  background: rgba(201, 220, 210, 0.12);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
  overflow: hidden;
}

.page-products .pace-band__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2C7159, #C9A227);
}

.page-products .pace-band__fill--duel { width: 22%; }
.page-products .pace-band__fill--endgame { width: 48%; }
.page-products .pace-band__fill--room { width: 100%; }

.page-products .pace-band__value {
  margin: 0;
  font-size: 0.84rem;
  color: #F0D374;
}

/* ============ 通用左右分栏 ============ */
.page-products .pp-split {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 44px);
  align-items: center;
}

.page-products .pp-split__lead {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.page-products .section--dark .pp-split__lead,
.page-products .section--dark .pp-split__note {
  color: rgba(245, 241, 230, 0.8);
}

.page-products .pp-split__note {
  margin: 20px 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

.page-products .pp-split__note a {
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pp-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

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

/* ============ 步骤列表 ============ */
.page-products .step-list,
.page-products .bullet-list,
.page-products .pass-list,
.page-products .path-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .step-list {
  display: grid;
  gap: 18px;
}

.page-products .step-list__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.page-products .step-list__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .step-list__num {
  flex: 0 0 auto;
  font-size: 1.1rem;
  color: #C9A227;
  padding-top: 2px;
}

.page-products .step-list__item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.page-products .section--dark .step-list__item p {
  color: rgba(245, 241, 230, 0.82);
}

/* ============ 要点列表 ============ */
.page-products .bullet-list {
  display: grid;
  gap: 16px;
}

.page-products .bullet-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ink-muted);
}

.page-products .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--cinnabar);
  transform: rotate(-8deg);
}

.page-products .bullet-list strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}

.page-products .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 30px);
}

/* ============ 残局横幅 ============ */
.page-products .endgame-banner {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-products .endgame-banner .media__frame {
  clip-path: var(--pp-cut-lg);
  overflow: hidden;
}

.page-products .media__caption {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.page-products .section--mist .media__caption {
  color: var(--ink-muted);
}

/* ============ 难度刻度带 ============ */
.page-products .ladder-band {
  margin-top: clamp(30px, 4.4vw, 52px);
  display: grid;
  gap: 0;
}

.page-products .ladder-band__media {
  overflow: hidden;
  clip-path: var(--pp-cut-lg);
}

.page-products .ladder-band__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-products .ladder-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  align-items: end;
  height: 54px;
  margin-top: 18px;
}

.page-products .ladder-scale__step {
  display: block;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}

.page-products .ladder-scale__step--1 { height: 16px; background: rgba(44, 113, 89, 0.55); }
.page-products .ladder-scale__step--2 { height: 24px; background: rgba(44, 113, 89, 0.72); }
.page-products .ladder-scale__step--3 { height: 32px; background: rgba(28, 84, 66, 0.9); }
.page-products .ladder-scale__step--4 { height: 42px; background: linear-gradient(180deg, #C9A227, rgba(201, 162, 39, 0.5)); }
.page-products .ladder-scale__step--5 { height: 54px; background: linear-gradient(180deg, #F0D374, #C9A227); }

.page-products .ladder-list {
  margin-top: clamp(24px, 3.4vw, 38px);
  border-top: 1px solid rgba(201, 162, 39, 0.24);
}

.page-products .ladder-item {
  border-bottom: 1px solid rgba(201, 162, 39, 0.24);
}

.page-products .ladder-item__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--warm);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.page-products .ladder-item__btn::-webkit-details-marker {
  display: none;
}

.page-products .ladder-item__num {
  flex: 0 0 auto;
  font-size: 1rem;
  color: #C9A227;
}

.page-products .ladder-item__name {
  flex: 1 1 auto;
}

.page-products .ladder-item__note {
  flex: 0 0 auto;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(201, 220, 210, 0.7);
}

.page-products .ladder-item[open] .ladder-item__name {
  color: #F0D374;
}

.page-products .ladder-item__body {
  padding: 0 4px 22px 42px;
}

.page-products .ladder-item__body p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.78);
}

/* ============ 季票清单 ============ */
.page-products .pass-list {
  display: grid;
  gap: 20px;
}

.page-products .pass-list__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.page-products .pass-list__mark {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: var(--cinnabar);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-products .pass-list__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--ink);
}

.page-products .pass-list__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ============ 上手路径 ============ */
.page-products .path-list {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  margin-top: clamp(30px, 4vw, 46px);
}

.page-products .path-list__item {
  padding: clamp(22px, 3vw, 30px);
  background: var(--warm);
  clip-path: var(--pp-cut);
  border-left: 3px solid var(--green-600);
}

.page-products .path-list__step {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--cinnabar);
}

.page-products .path-list__title {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  color: var(--ink);
}

.page-products .path-list__item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-muted);
}

.page-products .path-list__item a {
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ 收尾带 ============ */
.page-products .closing-band {
  margin-top: clamp(32px, 4.4vw, 52px);
  padding: clamp(26px, 3.6vw, 40px);
  background: linear-gradient(120deg, #123A2E, #0B241C 70%);
  color: var(--warm);
  clip-path: var(--pp-cut-lg);
  display: grid;
  gap: 22px;
}

.page-products .closing-band__text {
  margin: 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.85);
}

.page-products .closing-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-products .modes-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .modes-stack .play-card:first-child {
    grid-column: 1 / -1;
  }

  .page-products .pace-band__row {
    grid-template-columns: 130px 1fr 110px;
  }

  .page-products .pace-band__track {
    grid-column: auto;
    order: 0;
  }

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

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

@media (min-width: 960px) {
  .page-products .products-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-products .modes-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  .page-products .modes-stack .play-card:nth-child(2) {
    padding-bottom: clamp(34px, 4.6vw, 54px);
  }

  .page-products .modes-stack .play-card:nth-child(3) {
    padding-top: clamp(34px, 4.6vw, 54px);
  }

  .page-products .pp-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pp-split--flip {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-products .pp-split--flip > .pp-split__media {
    order: 2;
  }

  .page-products .pp-split--flip > .pp-split__body {
    order: 1;
  }

  .page-products .ladder-item__body {
    max-width: 72ch;
  }
}

@media (min-width: 1200px) {
  .page-products .products-hero {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 76px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .seat-svg__orbit,
  .page-products .seat-svg__dot {
    animation: none;
  }

  .page-products .seat-svg__dot {
    opacity: 1;
  }

  .page-products .pick-list__link {
    transition: none;
  }
}
