.page-products,
.page-products * {
  box-sizing: border-box;
}

.page-products {
  position: relative;
  background:
    radial-gradient(circle at 8% 4%, rgba(201, 160, 99, .14), transparent 20rem),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 14rem);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

/* ---------- 共享类本页微调 ---------- */
.page-products .section__head {
  margin-bottom: 1.8rem;
}

.page-products .section__head .section__kicker,
.page-products .section__kicker {
  display: inline-block;
  font-size: .86rem;
  letter-spacing: .08em;
  color: var(--red);
  text-transform: uppercase;
}

.page-products .section__head .section__title,
.page-products .section__title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--primary);
  margin: .3rem 0 .4rem;
  line-height: 1.25;
}

.page-products .section__head p {
  max-width: 56rem;
  color: rgba(43, 30, 22, .76);
  margin: .5rem 0 0;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .6rem 1.25rem;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-products .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-products .link-more {
  display: inline-block;
  margin-top: .8rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: .15rem;
  transition: color .2s ease, border-color .2s ease;
}

.page-products .link-more:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(43, 30, 22, .62);
  margin-bottom: 1.6rem;
}

.page-products .breadcrumb a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color .2s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--red);
  text-decoration: underline;
}

.page-products .breadcrumb__sep {
  color: rgba(43, 30, 22, .35);
}

/* ---------- Hero ---------- */
.page-products .product-hero {
  padding: 2.4rem 0 1.6rem;
}

.page-products .product-hero__inner,
.page-products .cat-section__inner,
.page-products .week-section__inner,
.page-products .export-section__inner,
.page-products .member-section__inner,
.page-products .entry-section__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.page-products .product-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-products .product-hero__main {
  min-width: 0;
}

.page-products .product-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  color: var(--primary);
  margin: .5rem 0 .6rem;
  letter-spacing: .02em;
}

.page-products .product-hero__lead {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--red);
  margin: 0 0 1rem;
}

.page-products .product-hero__desc {
  color: rgba(43, 30, 22, .8);
  max-width: 34rem;
  margin: 0;
}

.page-products .product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

.page-products .product-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
}

.page-products .hero-tile {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.8rem;
  padding: 1rem 1.2rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.3;
  border-radius: 4px 18px 4px 18px;
  box-shadow: var(--shadow);
}

.page-products .hero-tile--dark {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 11rem;
  background: var(--primary);
  color: var(--gold);
  transform: rotate(-2deg);
}

.page-products .hero-tile--gold {
  grid-column: 2;
  background: var(--gold);
  color: var(--ink);
  transform: rotate(1.5deg);
}

.page-products .hero-tile--soft {
  grid-column: 2;
  background: var(--bg-soft);
  color: var(--primary);
  transform: rotate(-1deg);
}

.page-products .hero-tile__num {
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: .9;
  color: var(--gold);
}

.page-products .hero-tile__label {
  font-size: .85rem;
  color: rgba(247, 243, 232, .8);
  margin-top: .4rem;
}

/* ---------- 分类标签区 ---------- */
.page-products .cat-section,
.page-products .week-section,
.page-products .export-section,
.page-products .entry-section {
  padding-block: 3rem;
}

.page-products .cat-frame {
  position: relative;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.page-products .cat-frame > input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.page-products .cat-frame > label {
  display: inline-block;
  flex: 0 0 auto;
  padding: .55rem 1rem .55rem 1.2rem;
  margin: 0;
  border: 1px solid rgba(30, 61, 50, .22);
  border-left: 3px solid var(--primary);
  background: rgba(247, 243, 232, .6);
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-products .cat-frame > label i {
  font-style: normal;
  font-size: .72rem;
  background: var(--bg-soft);
  border-radius: 99px;
  padding: .1rem .45rem;
  margin-left: .35rem;
  color: var(--primary);
  transition: background .2s ease, color .2s ease;
}

.page-products .cat-frame > input:checked + label {
  background: var(--primary);
  color: var(--bg);
  border-left-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 22px rgba(168, 127, 74, .18);
}

.page-products .cat-frame > input:checked + label i {
  background: rgba(255, 255, 255, .18);
  color: var(--gold);
}

.page-products .cat-frame > input:hover + label {
  border-left-color: var(--gold-deep);
}

.page-products .cat-frame > input:focus-visible + label {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}

.page-products .cat-panels {
  flex: 0 0 100%;
  margin-top: 1.4rem;
}

.page-products .cat-panel {
  display: none;
}

.page-products #cat-all:checked ~ .cat-panels .panel-all,
.page-products #cat-classic:checked ~ .cat-panels .panel-classic,
.page-products #cat-scene:checked ~ .cat-panels .panel-scene,
.page-products #cat-neon:checked ~ .cat-panels .panel-neon,
.page-products #cat-zodiac:checked ~ .cat-panels .panel-zodiac {
  display: block;
}

.page-products .panel-note {
  max-width: 46rem;
  color: rgba(43, 30, 22, .82);
  margin: 0 0 .6rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: rgba(216, 224, 220, .3);
  border-radius: 0 8px 8px 0;
}

/* ---------- 场次网格 ---------- */
.page-products .game-grid {
  display: grid;
  gap: 1.2rem;
}

.page-products .game-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(30, 61, 50, .12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-products .game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(201, 160, 99, .5);
}

.page-products .game-card__thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}

.page-products .game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease, filter .3s ease;
}

.page-products .game-card:hover .game-card__thumb img {
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.02);
}

.page-products .game-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(63, 224, 197, .12), transparent 55%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

.page-products .game-card:hover .game-card__thumb::after {
  opacity: 1;
}

.page-products .game-card__body {
  padding: 1rem 1rem 1.2rem;
}

.page-products .game-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .45rem;
}

.page-products .game-card__index {
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--gold-deep);
}

.page-products .game-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--primary);
  margin: 0 0 .4rem;
}

.page-products .game-card p {
  font-size: .92rem;
  color: rgba(43, 30, 22, .76);
  margin: 0 0 .6rem;
  max-width: 95%;
}

.page-products .game-card__contact {
  position: absolute;
  right: .85rem;
  bottom: .8rem;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 160, 99, .16);
  border: 1px solid rgba(201, 160, 99, .6);
  border-radius: 50%;
  color: var(--gold-deep);
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.page-products .game-card__contact:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- 本周新增 ---------- */
.page-products .week-section {
  background: linear-gradient(180deg, transparent, rgba(216, 224, 220, .35) 30%, transparent 85%);
}

.page-products .weekly-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.page-products .weekly-item {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(30, 61, 50, .12);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-products .weekly-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-products .weekly-item__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-deep);
}

.page-products .weekly-item__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .7rem;
}

.page-products .weekly-item__status {
  font-size: .8rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: .04em;
}

.page-products .weekly-item h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--primary);
  margin: .65rem 0 .35rem;
}

.page-products .weekly-item p {
  font-size: .93rem;
  color: rgba(43, 30, 22, .78);
  margin: 0;
}

.page-products .week-section__more {
  margin-top: 1.6rem;
  text-align: right;
}

/* ---------- 资料库导出 ---------- */
.page-products .export-section {
  padding-block: 3.5rem;
}

.page-products .export-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-products .export-text h2 {
  margin-bottom: .8rem;
}

.page-products .export-text > p {
  color: rgba(43, 30, 22, .82);
}

.page-products .export-select {
  border: 1px solid rgba(30, 61, 50, .2);
  background: rgba(216, 224, 220, .4);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  margin: 1.4rem 0;
}

.page-products .export-select summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  font-size: .95rem;
  list-style: none;
}

.page-products .export-select summary::before {
  content: "⌄";
  display: inline-block;
  margin-right: .45rem;
  color: var(--gold-deep);
  transition: transform .2s ease;
}

.page-products .export-select[open] summary::before {
  transform: rotate(180deg);
}

.page-products .export-select__options {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}

.page-products .export-opt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(30, 61, 50, .1);
  border-left: 3px solid var(--gold-deep);
  border-radius: 6px;
  padding: .75rem 1rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-products .export-opt small {
  font-weight: 400;
  color: rgba(43, 30, 22, .6);
}

.page-products .export-opt:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.page-products .export-subtitle {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary);
  margin: 1.6rem 0 .6rem;
}

.page-products .export-steps {
  list-style: none;
  counter-reset: export-step;
  margin: 0;
  padding: 0;
}

.page-products .export-steps li {
  counter-increment: export-step;
  position: relative;
  padding: .65rem 0 .65rem 2.6rem;
  border-bottom: 1px dashed rgba(30, 61, 50, .15);
  color: rgba(43, 30, 22, .82);
}

.page-products .export-steps li::before {
  content: counter(export-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .65rem;
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: .9rem;
  border-radius: 50%;
}

.page-products .export-figure {
  margin: 0;
}

.page-products .export-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 会员中心 ---------- */
.page-products .member-section {
  background:
    linear-gradient(120deg, rgba(201, 160, 99, .18), transparent 45%),
    var(--primary);
  color: var(--white);
  padding-block: 3rem;
}

.page-products .member-section .section__kicker {
  color: var(--gold);
}

.page-products .member-section .section__title {
  color: var(--white);
}

.page-products .member-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-products .member-figure {
  margin: 0;
}

.page-products .member-figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(201, 160, 99, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.page-products .member-box {
  background: rgba(247, 243, 232, .06);
  border: 1px solid rgba(201, 160, 99, .4);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
}

.page-products .member-box p {
  color: rgba(247, 243, 232, .86);
}

.page-products .member-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}

.page-products .member-list li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(247, 243, 232, .9);
}

.page-products .member-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--gold);
  font-size: .7rem;
}

.page-products .member-list strong {
  color: var(--gold);
}

.page-products .member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

.page-products .member-actions .btn--ghost {
  border: 1px solid rgba(201, 160, 99, .5);
  color: var(--white);
  background: transparent;
}

/* ---------- 联系入口 ---------- */
.page-products .entry-section {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 55%);
}

.page-products .entry-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.page-products .entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  background: var(--white);
  border: 1px solid rgba(30, 61, 50, .12);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-products .entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-products .entry-card__icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold-deep);
}

.page-products .entry-card__title {
  font-weight: 700;
  color: var(--primary);
}

.page-products .entry-card small {
  color: rgba(43, 30, 22, .62);
  font-size: .85rem;
}

/* ---------- 媒体查询：平板与桌面 ---------- */
@media (min-width: 640px) {
  .page-products .product-hero {
    padding-top: 3rem;
  }

  .page-products .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .game-card--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: span 2;
  }

  .page-products .game-card--wide .game-card__thumb {
    aspect-ratio: auto;
    height: 100%;
  }

  .page-products .weekly-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .entry-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .page-products .cat-section,
  .page-products .week-section,
  .page-products .export-section,
  .page-products .entry-section,
  .page-products .member-section {
    padding-block: 4.5rem;
  }

  .page-products .product-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 3rem;
  }

  .page-products .product-hero__visual {
    justify-self: end;
    width: 340px;
  }

  .page-products .export-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
  }

  .page-products .member-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .page-products .weekly-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .page-products .weekly-item {
    padding: 1.3rem 1.4rem 1.4rem;
  }

  .page-products .member-box {
    padding: 2rem 2.2rem;
  }
}
