/* ============================================================
   Spacejeux — play-bright.css (play-bright.php)
   ============================================================ */

/* ---------- HERO ---------- */
.pb-hero { background: var(--white); padding-block: 56px; }
.pb-hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.pb-hero__text { display: grid; gap: 20px; }
.pb-hero__text h1 { font-size: 40px; font-weight: 800; line-height: 1.1; }
.pb-hero__text p { font-size: 16px; line-height: 1.6; color: var(--slate-700); }
.pb-hero__art { border-radius: 16px; overflow: hidden; aspect-ratio: 608 / 320; }
.pb-hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION HEAD (32px variant used on this page) ---------- */
.pb-sechead { display: grid; gap: 12px; margin-bottom: 24px; }
.pb-sechead h2 { font-size: 32px; font-weight: 800; line-height: 1.2; }
.pb-sechead p { font-size: 16px; line-height: 1.5; color: var(--slate-700); }

/* ---------- KEEP PLAY IN PERSPECTIVE ---------- */
.pb-principles { background: var(--bg-tint); padding-block: 56px; }
.pb-principles__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start;
}
.pb-principle {
  display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center;
}
.pb-principle__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center;
}
.pb-principle h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink); }
.pb-principle p { font-size: 13px; line-height: 1.5; color: var(--slate-700); }

/* ---------- TOOLS THAT PUT YOU IN CONTROL ---------- */
.pb-tools { background: var(--white); padding-block: 56px; }
.pb-tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pb-tool {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: grid; gap: 16px; align-content: start;
}
.pb-tool h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 600; }
.pb-tool > p { font-size: 14px; line-height: 1.5; color: var(--slate-700); }

/* limits mockup */
.pb-tool__mock {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  display: grid; gap: 12px;
}
.pb-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13px;
}
.pb-row span { color: var(--slate-700); }
.pb-row b { font-weight: 600; color: var(--ink); }
.pb-slider { position: relative; height: 6px; border-radius: 3px; background: var(--border); }
.pb-slider__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: 3px; background: var(--teal);
}
.pb-slider__fill::after {
  content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--teal);
}

/* break / self-exclusion visuals */
.pb-tool__visual {
  height: 56px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid; place-items: center; color: var(--teal);
}
.pb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-chip {
  padding: 8px 12px; border-radius: 999px; line-height: 1.3;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 13px; color: var(--slate-700);
}

/* ---------- KNOW HOW YOU PLAY / A QUICK CHECK-IN ---------- */
.pb-know { background: var(--bg-tint); padding-block: 56px; }
.pb-know__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pb-know__col { display: grid; gap: 16px; align-content: start; }
.pb-know__col h2 { font-size: 32px; font-weight: 800; line-height: 1.2; }
.pb-know__lead { font-size: 16px; line-height: 1.5; color: var(--slate-700); }
.pb-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: grid; gap: 16px;
}
.pb-panel--checks { gap: 12px; }
.pb-progresswrap { display: grid; gap: 8px; }
.pb-progress { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.pb-progress__fill { display: block; height: 100%; border-radius: 4px; background: var(--teal); }
.pb-progress__note { font-size: 12px; color: var(--slate-700); }
.pb-check { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); }
.pb-check svg { flex: none; color: var(--teal); }

/* ---------- KEEP THE GAME A GAME ---------- */
.pb-cta { background: var(--bg-tint); padding-block: 80px; }
.pb-cta__head { max-width: 680px; display: grid; gap: 12px; margin-bottom: 48px; }
.pb-cta__head h2 { font-size: 40px; font-weight: 700; line-height: 1.1; }
.pb-cta__head p { font-size: 16px; line-height: 1.5; color: var(--slate-700); }

.pb-help {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: center;
  padding-left: 38px;
  margin-bottom: 48px;
}
.pb-help::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--teal);
}
.pb-help__content { display: grid; gap: 16px; align-content: center; padding-block: 12px; }
.pb-help__content h3 { font-size: 24px; font-weight: 700; }
.pb-help__content > p { font-size: 15px; line-height: 1.6; color: var(--slate-700); }
.pb-help__phone { display: flex; align-items: center; gap: 12px; }
.pb-help__phone-icon {
  flex: none; width: 24px; height: 24px; border-radius: 6px;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center;
}
.pb-help__phone a { font-size: 18px; font-weight: 700; color: var(--ink); }
.pb-help__call { justify-self: start; padding-inline: 30px; }

/* support illustration (mirrors the home-page one) */
.pb-ill {
  position: relative; width: 320px; max-width: 100%; height: 220px;
  border-radius: var(--radius-lg);
  background-image: radial-gradient(circle, rgba(217,226,235,.45) 1px, transparent 1.2px);
  background-size: 24px 24px; background-position: 11px 11px;
}
.pb-ill__line {
  position: absolute; left: 68px; right: 68px; top: 89px; height: 2px;
  border-radius: 1px; background: rgba(9,162,159,.25);
}
.pb-ill__line::before, .pb-ill__line::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: rgba(9,162,159,.3);
}
.pb-ill__line::before { left: 44px; }
.pb-ill__line::after { left: 136px; }
.pb-ill-node { position: absolute; width: 92px; display: grid; justify-items: center; text-align: center; }
.pb-ill-node--1 { left: 22px; top: 50px; }
.pb-ill-node--2 { left: 114px; top: 50px; }
.pb-ill-node--3 { right: 22px; top: 42px; }
.pb-ill-node__num { font-size: 9px; color: rgba(9,162,159,.55); margin-bottom: 4px; }
.pb-ill-node__circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1px solid rgba(97,128,163,.25);
  display: grid; place-items: center; color: rgba(28,42,74,.6);
}
.pb-ill-node__circle--accent {
  width: 48px; height: 48px;
  border: 1.5px solid rgba(9,162,159,.5); color: #09a29f;
  box-shadow: 0 0 0 6px rgba(9,162,159,.06), 0 0 0 12px rgba(9,162,159,.04);
}
.pb-ill-node__title {
  margin-top: 10px; font-size: 8px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: #1c2a4a;
}
.pb-ill-node__title--accent { color: #09a29f; }
.pb-ill-node__sub { font-size: 7.5px; color: rgba(97,128,163,.75); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .pb-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .pb-hero__art { max-width: 608px; }
  .pb-principles__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .pb-tools__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pb-know__grid { grid-template-columns: 1fr; gap: 32px; }
  .pb-help { grid-template-columns: 1fr; padding: 24px 24px 24px 38px; }
  .pb-help__content { padding-block: 0; }
}

@media (max-width: 720px) {
  .pb-hero { padding-block: 32px 40px; }
  .pb-hero__text { gap: 12px; }
  .pb-hero__text h1 { font-size: 32px; }
  .pb-hero__art { display: none; }

  .pb-principles { padding-block: 24px; }
  .pb-tools { padding-block: 40px; }
  .pb-tool { padding: 20px; gap: 12px; }

  .pb-know { padding-block: 24px; }
  .pb-know__grid { gap: 24px; }
  .pb-know__col--checkin h2 { font-size: 28px; }
  .pb-panel { padding: 20px; }

  .pb-cta { padding-block: 40px; }
  .pb-cta__head { gap: 8px; margin-bottom: 24px; }
  .pb-cta__head h2 { font-size: 28px; line-height: 1.2; }
  .pb-cta__head p { font-size: 14px; }
  .pb-help { margin-bottom: 24px; padding: 20px 20px 20px 38px; }
  .pb-help__content { gap: 12px; }
  .pb-help__content h3 { font-size: 20px; }
  .pb-help__content > p { font-size: 13px; line-height: 1.5; }
  .pb-help__phone { gap: 8px; }
  .pb-help__phone a { font-size: 16px; }
  .pb-help__call { justify-self: stretch; height: 42px; }
  .pb-ill { display: none; }
}

@media (max-width: 640px) {
  .pb-principles__grid { grid-template-columns: 1fr; }
}
