.page-products {
  background: var(--deep);
  color: var(--offwhite);
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.page-products figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grayblue);
}

/* ===== hero ===== */
.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 255, 135, 0.13) 0%, transparent 44%),
    linear-gradient(140deg, var(--deep) 0%, var(--void) 100%);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -50px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: 28px;
  transform: rotate(28deg);
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 241, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 241, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.page-products .prod-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.page-products .prod-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--grayblue);
  margin-bottom: 20px;
}

.page-products .prod-hero__crumbs a {
  color: var(--grayblue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products .prod-hero__crumbs a:hover {
  color: var(--neon);
}

.page-products .prod-hero__crumb-sep {
  opacity: 0.6;
}

.page-products .prod-hero__title {
  margin: 16px 0 18px;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.12;
  color: var(--white);
}

.page-products .prod-hero__title-accent {
  color: var(--neon);
}

.page-products .prod-hero__lead {
  font-size: 17px;
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 28px;
  color: rgba(230, 241, 255, 0.84);
}

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

.page-products .prod-hero__facts {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(230, 241, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  max-width: 540px;
}

.page-products .prod-hero__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .prod-hero__fact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: var(--white);
}

.page-products .prod-hero__fact-label {
  font-size: 13px;
  color: var(--grayblue);
}

/* ===== live panel ===== */
.page-products .live-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    var(--night);
  border: 1px solid rgba(0, 255, 135, 0.24);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 0 100%);
}

.page-products .live-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.page-products .live-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-products .live-panel__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.page-products .live-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  animation: kaiyun-prod-pulse 2.2s ease-in-out infinite;
}

@keyframes kaiyun-prod-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(0, 255, 135, 0);
  }
}

.page-products .live-panel__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(230, 241, 255, 0.1);
  font-size: 13px;
  color: var(--grayblue);
}

.page-products .live-panel__foot-update {
  font-family: var(--font-mono);
  color: var(--neon);
}

/* ===== league tabs ===== */
.page-products .league-tabs__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-products .league-tabs__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 14px;
}

.page-products .league-tabs__tab {
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--grayblue);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  user-select: none;
}

.page-products #lg-epl:checked ~ .league-tabs__bar label[for="lg-epl"],
.page-products #lg-laliga:checked ~ .league-tabs__bar label[for="lg-laliga"],
.page-products #lg-bundes:checked ~ .league-tabs__bar label[for="lg-bundes"] {
  background: var(--neon);
  color: var(--void);
}

.page-products .match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.14);
}

.page-products .match-row__team {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--offwhite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-products .match-row__team:last-of-type {
  text-align: right;
}

.page-products .match-row__score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--neon);
  background: rgba(0, 255, 135, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
  animation: kaiyun-prod-score-pulse 2.6s ease-in-out infinite;
}

@keyframes kaiyun-prod-score-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.68;
  }
}

.page-products .match-row__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grayblue);
  text-align: right;
  white-space: nowrap;
}

.page-products .match-row__card {
  display: inline-block;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: -2px;
}

.page-products .match-row__card--yellow {
  background: var(--yellow);
}

.page-products .match-row__card--red {
  background: var(--red);
}

.page-products .league-tabs__board .match-row[data-category="laliga"],
.page-products .league-tabs__board .match-row[data-category="bundes"] {
  display: none;
}

.page-products #lg-epl:checked ~ .league-tabs__board .match-row[data-category="laliga"],
.page-products #lg-epl:checked ~ .league-tabs__board .match-row[data-category="bundes"] {
  display: none;
}

.page-products #lg-epl:checked ~ .league-tabs__board .match-row[data-category="epl"] {
  display: grid;
}

.page-products #lg-laliga:checked ~ .league-tabs__board .match-row[data-category="epl"],
.page-products #lg-laliga:checked ~ .league-tabs__board .match-row[data-category="bundes"] {
  display: none;
}

.page-products #lg-laliga:checked ~ .league-tabs__board .match-row[data-category="laliga"] {
  display: grid;
}

.page-products #lg-bundes:checked ~ .league-tabs__board .match-row[data-category="epl"],
.page-products #lg-bundes:checked ~ .league-tabs__board .match-row[data-category="laliga"] {
  display: none;
}

.page-products #lg-bundes:checked ~ .league-tabs__board .match-row[data-category="bundes"] {
  display: grid;
}

/* ===== section base ===== */
.page-products .prod-section {
  padding: 72px 0;
}

.page-products .section--entry {
  border-top: 1px solid rgba(230, 241, 255, 0.08);
}

.page-products .section--panel {
  background: var(--night);
}

.page-products .section--cards {
  background: linear-gradient(180deg, var(--deep) 0%, var(--void) 100%);
}

.page-products .section--local {
  background: var(--night);
}

.page-products .section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.page-products .section-kicker__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .section-kicker .eyebrow {
  margin: 0;
}

.page-products .section-kicker .section-title {
  margin: 0;
}

.page-products .section-intro {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(230, 241, 255, 0.82);
  margin: 0 0 36px;
}

/* ===== entry ===== */
.page-products .entry-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-products .entry-copy p {
  line-height: 1.7;
  margin: 0 0 10px;
}

.page-products .feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .feature-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
  color: rgba(230, 241, 255, 0.84);
}

.page-products .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background: var(--neon);
  transform: rotate(45deg);
  border-radius: 2px;
}

.page-products .entry-card {
  background: var(--night);
  border: 1px solid rgba(0, 255, 135, 0.16);
  border-radius: 18px;
  padding: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
}

.page-products .entry-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(230, 241, 255, 0.1);
}

.page-products .entry-card__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--offwhite);
}

.page-products .entry-card__route {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grayblue);
}

.page-products .entry-card .data-row {
  margin-bottom: 12px;
}

.page-products .entry-card__cta {
  margin-top: 20px;
}

/* ===== panel compare ===== */
.page-products .panel-compare {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

.page-products .compare-card {
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(230, 241, 255, 0.1);
}

.page-products .compare-card--new {
  background: rgba(0, 255, 135, 0.06);
  border-color: rgba(0, 255, 135, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
}

.page-products .compare-card__label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  background: rgba(230, 241, 255, 0.1);
  color: var(--offwhite);
}

.page-products .compare-card--new .compare-card__label {
  background: var(--neon);
  color: var(--void);
}

.page-products .compare-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(230, 241, 255, 0.82);
  line-height: 1.55;
}

.page-products .compare-card--new ul {
  color: var(--offwhite);
}

/* ===== guide steps ===== */
.page-products .guide-steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-products .guide-step {
  background: var(--night);
  border-radius: 18px;
  padding: 22px;
  border-top: 3px solid var(--neon);
  transition: transform 0.25s ease;
}

.page-products .guide-step:hover {
  transform: translateY(-4px);
}

.page-products .guide-step__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 12px;
  color: rgba(0, 255, 135, 0.55);
}

.page-products .guide-step .card-title {
  margin: 0 0 8px;
}

.page-products .guide-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(230, 241, 255, 0.78);
}

/* ===== membership media ===== */
.page-products .membership-media {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 10px;
}

.page-products .member-note {
  background: rgba(255, 215, 0, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.24);
  border-radius: 18px;
  padding: 22px;
}

.page-products .member-note p {
  margin: 12px 0 0;
  line-height: 1.65;
  color: rgba(230, 241, 255, 0.84);
}

/* ===== cards chart ===== */
.page-products .cards-layout {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
}

.page-products .cards-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--offwhite);
}

.page-products .legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.page-products .legend-swatch--yellow {
  background: var(--yellow);
}

.page-products .legend-swatch--red {
  background: var(--red);
}

.page-products .cards-legend p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grayblue);
}

.page-products .chart-board {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 280px;
  padding: 16px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(230, 241, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 36px;
}

.page-products .chart-group {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-products .chart-group__bars {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.page-products .chart-bar {
  flex: 1;
  min-width: 0;
  min-height: 3px;
  border-radius: 4px 4px 0 0;
  cursor: default;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.page-products .chart-bar--yellow {
  background: var(--yellow);
}

.page-products .chart-bar--red {
  background: var(--red);
}

.page-products .chart-bar:hover {
  filter: brightness(1.4);
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.page-products .chart-group__time {
  padding-top: 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grayblue);
  white-space: nowrap;
}

/* ===== local ===== */
.page-products .local-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .local-content__lead {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 20px;
  color: rgba(230, 241, 255, 0.85);
}

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

.page-products .local-content__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: rgba(230, 241, 255, 0.84);
}

.page-products .local-content__list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 0.55em;
}

.page-products .notice-bar {
  margin-bottom: 22px;
}

.page-products .notice-bar__text {
  margin: 0;
}

.page-products .local-content__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-products .local-content__note {
  font-size: 14px;
  color: var(--grayblue);
}

/* ===== advantage ===== */
.page-products .stat-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}

.page-products .advantage-bottom {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-products .advantage-list {
  background: var(--void);
  border-radius: 20px;
  padding: 28px;
  border-left: 4px solid var(--neon);
}

.page-products .advantage-list ul {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.55;
  color: rgba(230, 241, 255, 0.84);
}

.page-products .advantage-list__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grayblue);
}

/* ===== cta band ===== */
.page-products .prod-cta {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 28px;
  background: linear-gradient(120deg, rgba(0, 255, 135, 0.1), transparent 60%);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: 20px;
}

.page-products .prod-cta__text {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== responsive ===== */
@media (min-width: 860px) {
  .page-products .prod-hero {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }

  .page-products .prod-hero__facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .prod-section {
    padding: 96px 0;
  }

  .page-products .entry-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }

  .page-products .panel-compare {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .guide-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .membership-media {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .page-products .cards-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }

  .page-products .local-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-products .stat-band {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .advantage-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .live-panel__dot,
  .page-products .match-row__score {
    animation: none;
  }

  .page-products .chart-bar:hover {
    transform: none;
  }

  .page-products .guide-step:hover {
    transform: none;
  }
}
