/* Information and legal pages: about, how it works, responsible gambling, legal,
 * FAQ, promotions, contact, 404. Built on .page-head, .prose, .card, .acc, .chip
 * from layout/components; only page-level pieces live here. Markup helpers:
 * includes/content.php. */

/* ---------- page head extras ---------- */
.ct-head h1 { max-width: 20ch; }
.ct-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; font-size: var(--fs-sm); color: var(--text-2); }
.ct-head__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.ct-head__meta time { color: var(--text); font-weight: 700; }
.ct-head__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.page-head.has-media .page-head__media img { opacity: .55; }

/* ---------- two-column frame: TOC + reading column ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 1fr); }
.ct__main { min-width: 0; max-width: 760px; }
.ct__main > * + * { margin-top: 48px; }

/* table of contents */
.toc__title { font: 700 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.toc__list { display: grid; gap: 2px; }
.toc__link { position: relative; display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: var(--radius-1); font-size: var(--fs-sm); line-height: 1.35; color: var(--text-2); transition: color .2s, background-color .2s; }
.toc__link:hover { color: var(--text); background: color-mix(in oklab, #fff 4%, transparent); }
.toc__n { flex: none; font: 800 11px/1 var(--font-display); color: var(--text-3); font-variant-numeric: tabular-nums; transition: color .2s; }
.toc__link[aria-current="true"] { color: var(--text); background: var(--casino-soft); }
.toc__link[aria-current="true"] .toc__n { color: var(--casino-text); }
.toc__link[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--brand); transform: skewX(calc(-1 * var(--angle))); }
.is-sports .toc__link[aria-current="true"] { background: var(--sports-soft); }
.is-sports .toc__link[aria-current="true"] .toc__n { color: var(--accent); }
.is-sports .toc__link[aria-current="true"]::before { background: var(--accent); }

@media (min-width: 1024px) {
  .ct { grid-template-columns: 250px minmax(0, 760px); gap: 64px; justify-content: center; }
  .ct__aside { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
}
/* below 1024: the TOC is a sticky chip row under the header */
@media (max-width: 1023.98px) {
  html { scroll-padding-top: calc(var(--header-h) + 76px); }
  .ct__aside { position: sticky; top: var(--header-h); z-index: 5; margin: -12px calc(-1 * var(--gutter)) 28px; padding: 10px var(--gutter); background: color-mix(in oklab, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
  .toc__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
  .toc__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .toc__list::-webkit-scrollbar { display: none; }
  .toc__list li { flex: none; }
  .toc__link { height: 40px; align-items: center; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair); white-space: nowrap; font-weight: 600; }
  .toc__link[aria-current="true"]::before { display: none; }
  .toc__link[aria-current="true"] { background: var(--casino-ink); color: #fff; box-shadow: none; }
  .toc__link[aria-current="true"] .toc__n { color: color-mix(in oklab, #fff 70%, transparent); }
  .is-sports .toc__link[aria-current="true"] { background: var(--accent); color: var(--on-sports); }
  .is-sports .toc__link[aria-current="true"] .toc__n { color: color-mix(in oklab, var(--on-sports) 65%, transparent); }
}
@media (min-width: 1024px) { html { scroll-padding-top: calc(var(--header-h) + 28px); } }

/* ---------- numbered sections ---------- */
.ct-sec { scroll-margin-top: 0; }
.ct-sec + .ct-sec { padding-top: 48px; border-top: 1px solid var(--hair); }
.ct-sec > h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); font-stretch: 88%; font-weight: 800; line-height: 1.12; }
.ct-sec__n { flex: none; display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 4px; transform: translateY(-3px) skewX(calc(-1 * var(--angle))); background: var(--casino-soft); box-shadow: inset 0 0 0 1px var(--casino-line); color: var(--casino-text); font: 800 13px/1 var(--font-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ct-sec__n .ic { width: 16px; height: 16px; transform: skewX(var(--angle)); }
.is-sports .ct-sec__n { background: var(--sports-soft); box-shadow: inset 0 0 0 1px var(--sports-line); color: var(--accent); }
.ct-sec > .prose { max-width: 72ch; }
.ct-sec > .prose + * { margin-top: 24px; }
.ct-sec__action { margin-top: 20px; }
.ct__main--legal .prose { font-size: 1rem; }

/* ---------- operator facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 0; }
.facts__row { padding: 16px 18px; border-radius: var(--radius-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair); min-width: 0; }
.facts dt { font: 700 11px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.facts dd { margin: 8px 0 0; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.card .facts__row { background: var(--surface-1); }

/* ---------- support call-to-action ---------- */
.cta-card { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: start; padding: 24px; border-radius: var(--radius-3); background: radial-gradient(80% 140% at 100% 0%, var(--casino-soft), transparent 70%), var(--surface-2); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--casino-line); }
.cta-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-2); background: var(--casino-soft); color: var(--casino-text); box-shadow: inset 0 0 0 1px var(--casino-line); flex: none; }
.cta-card__icon .ic { width: 22px; height: 22px; }
.cta-card__title { font: 800 1.2rem/1.2 var(--font-display); color: var(--text); letter-spacing: -.01em; }
.cta-card__body p + p { margin-top: 6px; color: var(--text-2); font-size: var(--fs-sm); }
.cta-card__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 14px; padding-left: 6px; }

/* ---------- how it works: step list ---------- */
.ct-sec--flush { padding: 0; border: 0; }
.steps { display: grid; gap: 14px; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 24px; padding: 26px 28px 28px 22px; border-radius: var(--radius-3); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .25s var(--ease); }
.step:target, .step.is-current { box-shadow: inset 0 0 0 1px var(--casino-line); }
.step__num { justify-content: center; align-self: start; width: 84px; height: 64px; border-radius: var(--radius-1); background: linear-gradient(160deg, var(--casino-ink), color-mix(in oklab, var(--brand), #000 45%)); box-shadow: 0 12px 28px -14px var(--brand); }
.step__num > span { font: 800 2.1rem/1 var(--font-display); font-stretch: 80%; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.step:nth-child(even) .step__num { background: linear-gradient(160deg, var(--accent), color-mix(in oklab, var(--accent), #000 35%)); box-shadow: 0 12px 28px -14px var(--accent); }
.step:nth-child(even) .step__num > span { color: var(--on-sports); }
.step h3 { font-size: var(--fs-h3); font-stretch: 88%; font-weight: 800; line-height: 1.15; margin: 4px 0 12px; }
.step .prose { font-size: 1rem; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 63px; bottom: -14px; width: 2px; height: 14px; background: var(--hair-2); }

.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.req { padding: 24px; scroll-margin-top: calc(var(--header-h) + 80px); }
.req__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--radius-2); background: var(--surface-3); color: var(--accent); box-shadow: inset 0 0 0 1px var(--hair-2); }
.req__icon .ic { width: 20px; height: 20px; }
.req h3 { font-size: 1.2rem; font-stretch: 90%; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.req .prose { font-size: .95rem; line-height: 1.65; }

/* ---------- responsible gambling ---------- */
.quick-help { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; padding: 26px; border-radius: var(--radius-3); background: radial-gradient(90% 120% at 100% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 70%), var(--surface-2); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--sports-line); }
.quick-help__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-2); background: var(--accent); color: var(--on-sports); }
.quick-help__icon .ic { width: 26px; height: 26px; }
.quick-help h2 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); font-stretch: 88%; font-weight: 800; line-height: 1.15; }
.quick-help > div > p { margin-top: 8px; color: var(--text-2); }
.quick-help__lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; margin-top: 18px; }
.quick-help__lines a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: var(--radius-2); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--hair-2); transition: box-shadow .2s, background-color .2s; }
.quick-help__lines a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.quick-help__lines .ic { color: var(--accent); width: 20px; height: 20px; }
.quick-help__lines b { display: block; font-variant-numeric: tabular-nums; color: var(--text); }
.quick-help__lines small { display: block; font-size: var(--fs-xs); color: var(--text-2); line-height: 1.35; }
.quick-help .quick-help__more { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: var(--fs-sm); }

.orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.org { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.org h3 { font-size: 1.12rem; font-stretch: 92%; font-weight: 800; line-height: 1.25; }
.org p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.org__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hair); font-size: var(--fs-sm); }
.org__contact { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.org__contact .ic { color: var(--accent); }
a.org__contact:hover { color: var(--accent); }

/* ---------- promotions ---------- */
.key-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.key-term, .nf-link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; }
.key-term b, .nf-link b { font: 800 1.08rem/1.2 var(--font-display); color: var(--text); }
.key-term > span:last-child, .nf-link > span:not(.key-term__icon) { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
.key-term__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: var(--radius-2); background: var(--sports-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--sports-line); }
.key-term__icon .ic { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq__tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
.faq__tools > * { min-width: 0; }
.faq__search { position: relative; max-width: 640px; }
.faq__search > .ic { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--text-2); pointer-events: none; }
.faq__search input { width: 100%; height: 56px; padding: 0 52px; border: 0; border-radius: var(--radius-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text); font: 500 1rem/1 var(--font-text); transition: box-shadow .2s; -webkit-appearance: none; appearance: none; }
.faq__search input::-webkit-search-cancel-button { display: none; }
.faq__search input::placeholder { color: color-mix(in oklab, var(--text-2) 80%, transparent); }
.faq__search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px var(--casino-soft); }
.faq__clear { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); transition: background-color .2s, color .2s; }
.faq__clear:hover { background: var(--surface-3); color: var(--text); }
.faq__status { min-height: 1.2em; font-size: var(--fs-sm); color: var(--text-2); }
.faq__status:empty { display: none; }
.faq__chips { flex-wrap: nowrap; overflow-x: auto; }
.faq__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.faq__groups { min-width: 0; }
.faq__group + .faq__group { margin-top: 48px; }
.faq__group > h2 { margin-bottom: 18px; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); font-stretch: 88%; font-weight: 800; line-height: 1.12; display: flex; align-items: center; gap: 12px; }
.faq__group > h2::before { content: ""; width: 14px; height: 6px; border-radius: 2px; background: var(--brand); transform: skewX(calc(-1 * var(--angle))); flex: none; }
.faq__group:nth-child(even) > h2::before { background: var(--accent); }
.acc__h { margin: 0; font: inherit; letter-spacing: normal; line-height: inherit; }
.acc__q > span { min-width: 0; }
.acc__a .prose { font-size: .98rem; }
.faq__aside .faq__card { display: grid; gap: 14px; justify-items: start; }
.faq__card h2 { font-size: 1.35rem; font-stretch: 88%; font-weight: 800; line-height: 1.15; }
.faq__card p { color: var(--text-2); font-size: var(--fs-sm); }
.faq__card .btn { margin-top: 4px; }
.faq__links { display: grid; gap: 10px; width: 100%; padding-top: 14px; border-top: 1px solid var(--hair); font-size: var(--fs-sm); }
.faq__empty p + p { margin-top: 6px; }
@media (min-width: 1024px) {
  .faq__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
  .faq__chips { flex-wrap: nowrap; }
}
@media (max-width: 900px) {
  .faq__chips { flex-wrap: nowrap; overflow-x: auto; }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.contact__main { display: grid; gap: 24px; min-width: 0; }
.contact__aside { display: grid; gap: 24px; align-content: start; min-width: 0; }
.contact h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-stretch: 88%; font-weight: 800; line-height: 1.15; }
.contact__intro { margin: 8px 0 20px; color: var(--text-2); font-size: var(--fs-sm); }
.contact__email { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.contact__email p { margin-top: 8px; color: var(--text-2); }
.contact__addr { font-size: 1.1rem; overflow-wrap: anywhere; }
.contact__hours { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.contact__hours b { color: var(--text); }
.contact__form { padding: 28px; }
.field__opt { font-weight: 500; color: var(--text-2); }
.contact .form__done .ic { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.contact .form__done p { color: var(--text-2); }
.contact .form__done b { color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.contact__before { align-items: flex-start; }
.contact__before .prose { font-size: var(--fs-sm); line-height: 1.6; color: var(--text-2); }
.contact__help .faq__links { margin-top: 16px; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 28px); }
  .contact__aside .facts { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.nf-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.nf-link { position: relative; padding-right: 48px; }
.nf-link--casino .key-term__icon { background: var(--casino-soft); color: var(--casino-text); box-shadow: inset 0 0 0 1px var(--casino-line); }
.nf-link__arrow { position: absolute; right: 20px; top: 24px; width: 20px; height: 20px; color: var(--text-2); transition: transform .2s var(--ease), color .2s; }
a.nf-link:hover .nf-link__arrow { transform: translateX(3px); color: var(--text); }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  .ct__main > * + * { margin-top: 36px; }
  .ct-sec + .ct-sec { padding-top: 36px; }
  .ct-sec > h2 { gap: 10px; }
  .ct-sec__n { min-width: 34px; height: 24px; font-size: 12px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .step__num { width: 64px; height: 48px; }
  .step__num > span { font-size: 1.6rem; }
  .step:not(:last-child)::after { left: 51px; }
  .step h3 { margin-top: 0; }
  .cta-card, .quick-help { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .cta-card__actions { padding-left: 0; }
  .cta-card__actions .btn { flex: 1 1 auto; max-width: 100%; }
  .cta-card__actions .btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .contact__form { padding: 20px; }
  .contact__email { grid-template-columns: minmax(0, 1fr); }
  .ct-head__actions .btn { flex: 1 1 auto; }
}
