/* ===== 开服与权益页（page-products） ===== */
.page-products {
  --p-hair: rgba(169, 139, 255, .22);
  --p-line-soft: rgba(154, 163, 199, .18);
  --p-paper-line: rgba(32, 26, 23, .16);
  --p-panel: rgba(10, 15, 38, .72);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-products .products-hero {
  position: relative;
  padding-block: clamp(18px, 3vw, 34px) clamp(36px, 6vw, 70px);
}

.page-products .products-hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

.page-products .products-hero__title {
  font-family: var(--font-display);
  font-size: clamp(29px, 5.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: #FFFFFF;
  margin: 10px 0 16px;
  text-wrap: balance;
}

.page-products .products-hero__copy .lede {
  max-width: 58ch;
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--p-hair);
  border-bottom: 1px solid var(--p-hair);
}

.page-products .hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-products .hero-stats .stat__num {
  font-family: var(--font-num);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .hero-stats .stat__label {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--haze);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首屏右侧：纯 CSS 霓虹大屏 */
.page-products .products-hero__stage {
  position: relative;
  aspect-ratio: 4 / 3.3;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--p-hair);
  background:
    radial-gradient(120% 95% at 18% 8%, rgba(106, 61, 245, .58), transparent 62%),
    radial-gradient(110% 85% at 92% 94%, rgba(255, 106, 43, .44), transparent 64%),
    var(--ink-800);
}

.page-products .products-hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 4px);
}

.page-products .stage-glow {
  position: absolute;
  inset: -20% -10% 30% -10%;
  background: radial-gradient(50% 55% at 50% 45%, rgba(169, 139, 255, .5), transparent 70%);
  filter: blur(8px);
}

.page-products .stage-screen {
  position: absolute;
  inset: 13% 9% 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px;
  text-align: center;
  border-radius: 14px;
  border: 2px solid rgba(169, 139, 255, .5);
  background: linear-gradient(160deg, rgba(10, 15, 38, .88), rgba(27, 36, 80, .72));
  box-shadow: 0 0 44px rgba(106, 61, 245, .5) inset, 0 0 30px rgba(33, 230, 193, .2);
}

.page-products .stage-screen__tag {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan);
}

.page-products .stage-screen__big {
  font-family: var(--font-num);
  font-size: clamp(60px, 12vw, 116px);
  line-height: .88;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(169, 139, 255, .85);
}

.page-products .stage-screen__unit {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--violet-soft);
}

.page-products .stage-screen__bar {
  width: min(220px, 78%);
  height: 4px;
  margin: 12px 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.page-products .stage-screen__bar i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.page-products .stage-screen__note {
  margin: 0;
  font-size: 12.5px;
  color: var(--haze);
}

.page-products .stage-chip {
  position: absolute;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .1em;
  background: rgba(10, 15, 38, .84);
  border: 1px solid var(--p-hair);
}

.page-products .stage-chip--a {
  top: 9%;
  left: 6%;
  color: var(--gold);
  border-color: rgba(255, 197, 61, .45);
}

.page-products .stage-chip--b {
  bottom: 10%;
  right: 7%;
  color: var(--cyan);
  border-color: rgba(33, 230, 193, .45);
}

.page-products .stage-chip--c {
  top: 14%;
  right: 9%;
  color: var(--violet-soft);
  border-color: rgba(169, 139, 255, .45);
}

/* ---------- 通用：区块标题与媒体 ---------- */
.page-products .section > .wrap > .tag-strip {
  margin-bottom: 16px;
}

.page-products .media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--p-hair);
  background: var(--ink-800);
}

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

.page-products .media__cap {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--haze);
  border-top: 1px solid var(--p-hair);
  background: rgba(10, 15, 38, .6);
}

.page-products h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.008em;
  margin: 0 0 12px;
}

/* ---------- 开服表 ---------- */
.page-products .sched-top {
  display: grid;
  gap: 22px;
  margin-bottom: 26px;
}

.page-products .sched-top__copy p {
  margin: 0;
  color: var(--haze);
  font-size: 15.5px;
  line-height: 1.78;
  max-width: 62ch;
}

.page-products .sched-table {
  min-width: 660px;
}

.page-products .dtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .dtable thead th {
  text-align: left;
  padding: 11px 16px;
  font-family: var(--font-index);
  font-size: 13px;
  letter-spacing: .07em;
  color: var(--haze);
  border-bottom: 1px solid var(--p-hair);
  white-space: nowrap;
}

.page-products .dtable tbody th,
.page-products .dtable tbody td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--p-line-soft);
  vertical-align: middle;
}

.page-products .dtable tbody th {
  font-weight: 600;
  color: #EEF1FF;
  white-space: nowrap;
}

.page-products .dtable tbody td {
  color: rgba(232, 236, 255, .86);
  line-height: 1.6;
}

.page-products .dtable tbody tr:hover th,
.page-products .dtable tbody tr:hover td {
  background: rgba(169, 139, 255, .09);
}

.page-products .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.page-products .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.page-products .dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(33, 230, 193, .85);
}

.page-products .dot--orange {
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 106, 43, .85);
}

.page-products .dot--gold {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 197, 61, .85);
}

.page-products .sched-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--haze);
}

.page-products .path-link {
  color: var(--violet-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 139, 255, .45);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-products .path-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 会员权益 ---------- */
.page-products .tiers-lede {
  max-width: 66ch;
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--haze);
}

.page-products .tiers-media {
  margin-bottom: 26px;
}

.page-products .tiers-table {
  min-width: 700px;
}

.page-products .tiers-table thead th {
  color: var(--violet-soft);
  font-size: 13.5px;
}

.page-products .tiers-table tbody th {
  color: var(--haze);
  font-weight: 500;
}

.page-products .tier-cost {
  font-family: var(--font-num);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-products .tier-cost small {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--haze);
  margin-left: 5px;
}

.page-products .tiers-table td:hover,
.page-products .tiers-table td:focus {
  background: rgba(255, 197, 61, .13);
  outline: 1px solid rgba(255, 197, 61, .38);
  outline-offset: -1px;
}

/* ---------- 奶油纸区块通用 ---------- */
.page-products .section--paper,
.page-products .section--paper h2,
.page-products .section--paper h3 {
  color: var(--brown);
}

.page-products .section--paper p,
.page-products .section--paper li {
  color: rgba(32, 26, 23, .82);
}

.page-products .paper-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 6px 12px;
  font-family: var(--font-index);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--brown);
  background: rgba(32, 26, 23, .07);
  border: 1px solid var(--p-paper-line);
  border-radius: 999px;
}

.page-products .paper-label::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--orange);
}

/* ---------- 礼包码 ---------- */
.page-products .gift-head {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.page-products .gift-head__copy p {
  margin: 0;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.78;
}

.page-products .gift-head__media {
  width: min(240px, 62%);
  border-color: var(--p-paper-line);
  background: rgba(106, 61, 245, .12);
}

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

.page-products .gift-card {
  background: #FFFCF4;
  border: 1px solid var(--p-paper-line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(106, 61, 245, .26);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-products .gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 rgba(255, 106, 43, .38);
}

.page-products .gift-card__trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no title"
    "no price";
  align-items: center;
  gap: 2px 14px;
  width: 100%;
  padding: 18px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--brown);
  text-align: left;
  cursor: pointer;
}

.page-products .gift-card__no {
  grid-area: no;
  font-family: var(--font-num);
  font-size: 32px;
  line-height: 1;
  color: var(--violet);
}

.page-products .gift-card__title {
  grid-area: title;
  font-family: var(--font-index);
  font-size: 20px;
  font-weight: 700;
}

.page-products .gift-card__price {
  grid-area: price;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(32, 26, 23, .6);
}

.page-products .gift-card__body {
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.72;
}

.page-products .gift-card__body > p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--p-paper-line);
}

.page-products .gift-card__body ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.page-products .gift-card__body li {
  margin-bottom: 6px;
}

/* ---------- 客户端 ---------- */
.page-products .client-grid {
  display: grid;
  gap: 28px;
}

.page-products .client-copy p {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--haze);
}

.page-products .spec-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--p-hair);
}

.page-products .spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 13px 16px;
  background: var(--p-panel);
  font-size: 14.5px;
}

.page-products .spec-list__k {
  color: var(--haze);
}

.page-products .spec-list__v {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  letter-spacing: .01em;
}

/* ---------- 跨端续档 ---------- */
.page-products .sync-media {
  margin: 24px 0 0;
}

.page-products .sync-flow {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-products .sync-flow__step {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid rgba(33, 230, 193, .6);
}

.page-products .sync-flow__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--ink-900);
  font-family: var(--font-num);
  font-size: 12.5px;
  color: var(--cyan);
}

.page-products .sync-flow__step h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
}

.page-products .sync-flow__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--haze);
}

.page-products .sync-flow__time {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-num);
  font-size: 12.5px;
  color: var(--orange);
  letter-spacing: .03em;
}

/* ---------- 搭配建议 ---------- */
.page-products .match-lede {
  max-width: 62ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
}

.page-products .match-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.page-products .match-card {
  padding: 22px;
  background: #FFFCF4;
  border: 1px solid var(--p-paper-line);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(255, 106, 43, .28);
}

.page-products .match-card__no {
  display: block;
  font-family: var(--font-num);
  font-size: 26px;
  line-height: 1;
  color: var(--orange);
}

.page-products .match-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-index);
  font-size: 19px;
  line-height: 1.35;
}

.page-products .match-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
}

/* ---------- 搭配疑问 ---------- */
.page-products .asks-grid {
  display: grid;
  gap: 30px;
}

.page-products .asks-copy p {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--haze);
}

.page-products .asks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-products .asks-accordion .accordion__item {
  border-bottom: 1px solid var(--p-line-soft);
}

.page-products .asks-accordion .accordion__item:first-child {
  border-top: 1px solid var(--p-line-soft);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-products .gift-grid,
  .page-products .match-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-products .gift-head__media {
    width: 240px;
  }
}

@media (min-width: 880px) {
  .page-products .sched-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    align-items: end;
  }

  .page-products .sync-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
  }

  .page-products .sync-flow::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), rgba(33, 230, 193, .16));
  }

  .page-products .sync-flow__step {
    padding: 0 18px;
    border-left: 0;
  }

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

  .page-products .asks-actions {
    margin-bottom: 0;
  }
}

@media (min-width: 960px) {
  .page-products .products-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  }

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

@media (max-width: 520px) {
  .page-products .gift-head__media {
    width: 100%;
  }

  .page-products .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .page-products .hero-stats .stat__label {
    font-size: 11.5px;
  }

  .page-products .spec-list li {
    justify-content: flex-start;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .gift-card {
    transition: none;
  }

  .page-products .gift-card:hover {
    transform: none;
  }
}
