.page-products {
  --deepblue: #0A1F44;
  --neongreen: #39FF14;
  --fire: #FF4500;
  --section-space: clamp(56px, 7vw, 96px);
  background: var(--cream);
  color: var(--ink);
}
.page-products [id="filter"],
.page-products [id="schedule"],
.page-products [id="tools"],
.page-products [id="distribution"],
.page-products [id="live"],
.page-products [id="vip"] {
  scroll-margin-top: 120px;
}
.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  background: var(--deepblue);
  color: var(--cream);
  padding: clamp(56px, 7vw, 96px) 0 96px;
}
.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 243, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 236, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.page-products .prod-hero::after {
  content: "";
  position: absolute;
  left: -6%;
  bottom: -54px;
  width: 112%;
  height: 110px;
  pointer-events: none;
  background: var(--cream);
  transform: rotate(-1.6deg);
}
.page-products .prod-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.page-products .prod-hero .breadcrumbs {
  color: rgba(245, 243, 236, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.page-products .prod-hero .breadcrumbs a {
  color: var(--neongreen);
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}
.page-products .prod-hero .masthead-kicker {
  display: block;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neongreen);
}
.page-products .prod-hero h1 {
  margin: 8px 0 20px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.page-products .prod-hero .h1-ext {
  display: block;
  margin-top: 6px;
  font-size: 0.48em;
  letter-spacing: 0.06em;
  color: var(--neongreen);
}
.page-products .prod-hero .lead {
  max-width: 42em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 243, 236, 0.82);
}
.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.page-products .hero-actions .btn,
.page-products .hero-actions .quick-btn {
  font-weight: 700;
}
.page-products .hero-stats {
  display: grid;
  gap: 12px;
  align-content: end;
}
.page-products .hero-stat {
  padding: 18px 20px;
  border-left: 4px solid var(--neongreen);
  background: rgba(57, 255, 20, 0.07);
}
.page-products .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--neongreen);
}
.page-products .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(245, 243, 236, 0.78);
}

.page-products .filter-section {
  padding: var(--section-space) 0 0;
}
.page-products .filter-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-products .filter-heading .section-title {
  margin-bottom: 8px;
}
.page-products .filter-heading p {
  max-width: 38em;
  line-height: 1.75;
  color: var(--muted);
}
.page-products .filter-figure {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bone);
}
.page-products .filter-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .filter-figure figcaption,
.page-products .table-capture figcaption,
.page-products .vip-figure figcaption,
.page-products .scenario-figure figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.page-products .filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--fire);
  background: var(--bone);
}
.page-products .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-products .filter-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.page-products .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-products .filter-chip {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--cream);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.page-products .filter-chip.is-active {
  color: var(--cream);
  background: var(--fire);
  border-color: var(--fire);
}

.page-products .schedule-section {
  padding: var(--section-space) 0;
}
.page-products .section-head {
  display: grid;
  gap: 16px;
}
.page-products .section-heading .section-title {
  margin-bottom: 8px;
}
.page-products .section-title::before {
  content: attr(data-index) " / ";
  font-family: var(--font-mono);
  font-size: 0.62em;
  font-weight: 500;
  color: var(--fire);
  vertical-align: 0.12em;
}
.page-products .section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  color: var(--ink);
}
.page-products .sample-note {
  justify-self: start;
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--fire);
  border: 1px dashed var(--fire);
  background: rgba(216, 74, 46, 0.08);
}
.page-products .schedule-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 32px;
}
.page-products .tool-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 14px;
  border-left: 2px dotted var(--line);
}
.page-products .rail-note {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-products .tool-link {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
}
.page-products .tool-link:hover {
  color: var(--fire);
  border-color: var(--line);
}
.page-products .tool-link.is-active {
  color: var(--cream);
  background: var(--deepblue);
  border-color: var(--deepblue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.page-products .table-wrap {
  min-width: 0;
}
.page-products .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 8px 8px 0 rgba(53, 92, 125, 0.2);
}
.page-products .schedule-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}
.page-products .schedule-table th {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  background: var(--deepblue);
  border-right: 1px solid rgba(245, 243, 236, 0.14);
  border-bottom: 2px solid var(--neongreen);
}
.page-products .schedule-table td {
  padding: 12px 14px;
  white-space: nowrap;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.page-products .schedule-table tbody tr:last-child td {
  border-bottom: none;
}
.page-products .schedule-table tbody tr:hover td {
  background: rgba(57, 255, 20, 0.1);
}
.page-products .schedule-table tbody tr:hover td:first-child {
  background: #eae4d8;
}
.page-products .schedule-table th:first-child,
.page-products .schedule-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--cream);
  font-family: var(--font-mono);
  font-weight: 700;
  box-shadow: 2px 0 0 rgba(210, 200, 178, 0.7);
}
.page-products .schedule-table thead th:first-child {
  z-index: 3;
  background: var(--deepblue);
}
.page-products .schedule-table .score-col {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--deepblue);
}
.page-products .table-status {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--bone);
}
.page-products .table-status.is-live {
  color: var(--fire);
  border-color: var(--fire);
  background: rgba(216, 74, 46, 0.08);
}
.page-products .table-capture {
  margin: 24px 0 0;
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  background: var(--bone);
}
.page-products .table-capture img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .live-panel {
  align-self: start;
  padding: 22px;
  color: var(--cream);
  background: var(--deepblue);
  border-right: 6px solid var(--fire);
}
.page-products .live-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 243, 236, 0.2);
}
.page-products .panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--neongreen);
}
.page-products .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neongreen);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.18);
}
.page-products .panel-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: rgba(245, 243, 236, 0.9);
}
.page-products .live-card {
  margin-top: 14px;
  padding: 14px;
  background: rgba(245, 243, 236, 0.08);
  border-left: 3px solid var(--neongreen);
}
.page-products .live-league {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 243, 236, 0.56);
}
.page-products .live-match {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
}
.page-products .live-score {
  display: inline-block;
  margin: 0 3px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--neongreen);
}
.page-products .live-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 243, 236, 0.7);
}
.page-products .live-panel .btn--ghost {
  display: block;
  margin-top: 18px;
  border-color: var(--neongreen);
  color: var(--neongreen);
}

.page-products .tools-band {
  padding: var(--section-space) 0;
  color: var(--cream);
  background:
    linear-gradient(rgba(57, 255, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.045) 1px, transparent 1px),
    var(--deepblue);
  background-size: 34px 34px;
}
.page-products .tools-band .section-title {
  color: var(--cream);
}
.page-products .tools-band .lead {
  color: rgba(245, 243, 236, 0.74);
}
.page-products .tools-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
.page-products .tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-products .tool-card {
  position: relative;
  padding: 22px;
  background: rgba(245, 243, 236, 0.07);
  border-left: 4px solid var(--neongreen);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.page-products .tool-code {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--neongreen);
  letter-spacing: 0.1em;
}
.page-products .tool-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: var(--cream);
}
.page-products .tool-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 243, 236, 0.74);
}
.page-products .text-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--neongreen);
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}
.page-products .dist-viz {
  align-self: start;
  padding: 20px;
  background: rgba(245, 243, 236, 0.06);
  border: 1px solid rgba(57, 255, 20, 0.4);
}
.page-products .dist-viz h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: var(--cream);
}
.page-products .dist-viz img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.page-products .dist-viz p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 243, 236, 0.72);
}

.page-products .vip-section {
  padding: var(--section-space) 0;
}
.page-products .vip-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
.page-products .vip-copy {
  padding: 24px;
  background: var(--bone);
  border: 1px solid var(--line);
}
.page-products .vip-copy h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
}
.page-products .vip-copy p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--muted);
}
.page-products .vip-copy ul {
  margin: 0 0 20px;
  padding-left: 18px;
  line-height: 1.9;
  color: var(--ink);
}
.page-products .vip-figure {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--deepblue);
}
.page-products .vip-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .vip-figure figcaption {
  color: rgba(245, 243, 236, 0.7);
}

.page-products .scenario-section {
  padding: var(--section-space) 0;
  background:
    linear-gradient(rgba(53, 92, 125, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 92, 125, 0.1) 1px, transparent 1px),
    var(--cream);
  background-size: 40px 40px;
}
.page-products .scenario-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 32px;
}
.page-products .scenario-list {
  display: grid;
  gap: 16px;
}
.page-products .scenario-item {
  position: relative;
  padding: 22px 22px 22px 62px;
  background: var(--bone);
  border: 1px solid var(--line);
}
.page-products .scenario-num {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--cream);
  background: var(--deepblue);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.page-products .scenario-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}
.page-products .scenario-item p {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}
.page-products .scenario-item a {
  color: var(--fire);
  font-weight: 700;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}
.page-products .scenario-figure {
  margin: 0;
  justify-self: center;
  max-width: 320px;
  padding: 14px;
  background: var(--deepblue);
  border: 1px solid var(--line);
}
.page-products .scenario-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.page-products .scenario-figure figcaption {
  color: rgba(245, 243, 236, 0.8);
}
.page-products .service-callout {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  background: var(--bone);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.page-products .service-callout a {
  color: var(--fire);
  font-weight: 700;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .page-products .filter-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products .scenario-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .page-products .prod-hero-grid {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: end;
  }
  .page-products .filter-head {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
    align-items: end;
  }
  .page-products .vip-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    align-items: center;
  }
}

@media (min-width: 980px) {
  .page-products .schedule-layout {
    grid-template-columns: 180px minmax(0, 1fr) 280px;
    align-items: start;
  }
  .page-products .tool-rail {
    display: grid;
    align-content: start;
  }
  .page-products .tools-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: start;
  }
  .page-products .scenario-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: start;
  }
  .page-products .scenario-list {
    grid-template-columns: 1fr;
  }
}
