/* ==========================================================================
   bettycasinosaskatchewan.com — party template, Betty black + gold reskin.
   Base: party template — single-brand casino guide, layout cloned from
   partycasinoontario.com (dark plum, magenta CTAs, mint links, Exo).
   Hand-rolled CSS, no build step. Tokens first; every colour below is a token.
   ========================================================================== */

@font-face {
  font-family: "Exo";
  src: url("/fonts/exo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* surfaces: Betty black, warmed slightly toward the gold */
  --bg: #0c0b09;
  --surface: #1d1a14;
  --surface-60: rgba(29, 26, 20, 0.6);
  --surface-80: rgba(29, 26, 20, 0.82);
  --surface-2: #2b261c;
  --line: #463d2c;
  /* brand: Betty gold (logo gradient #FFEBA5 → #FFC700 → #FFE27B). A FILL under dark text (--on-brand, 12.9:1).
     Never gold text on gold; never white text on gold. */
  --brand: #ffc700;
  --brand-deep: #5a4300;
  --brand-hover: #ffe27b;
  --on-brand: #15110a;
  --mint: #f3d98b;          /* pale gold: links + open/selected states (template slot name kept) */
  /* text */
  --t00: #f7f7f7;
  --t100: #f0f0f0;
  --t200: #dbdbdb;
  --t300: #bfbfbf;
  --t400: #a6a6a6;
  /* shape */
  --r-s: 16px;
  --r-m: 24px;
  --glow: 0 1px 33px 0 rgba(255, 199, 0, 0.14), 0 1px 22px 0 rgba(255, 199, 0, 0.22);
  --panel-grad: radial-gradient(156.65% 140.48% at 1.23% 99.9%, var(--brand-deep) 0%, var(--surface) 49.52%);
  --scrim-grad: radial-gradient(156.65% 140.48% at 1.23% 99.9%, rgba(90, 67, 0, .92) 0%, var(--surface-80) 49.52%);
  --font: "Exo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* layout */
  --header-h: 72px;
  --bar-h: 112px;
  color-scheme: dark;
}
@media (min-width: 768px) {
  :root { --bar-h: 86px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin-top: var(--header-h);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--t200);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
a { color: var(--mint); text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--t100); font-weight: 700; overflow-wrap: break-word; }
/* anchors and keyboard focus never land under the fixed header or the floating bar */
html { scroll-padding: calc(var(--header-h) + 16px) 0 calc(var(--bar-h) + 32px); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }
[hidden] { display: none !important; }
/* controls that do nothing without script.js; <head> adds .js before first paint */
html:not(.js) .js-only { display: none !important; }

.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px)  { .container { max-width: 752px; } }
@media (min-width: 1200px) { .container { max-width: 1248px; } }

main { display: flex; flex-direction: column; gap: 48px; margin-bottom: 40px; }
@media (min-width: 768px) { main { gap: 56px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 9px 15px;
  font-size: 14px; font-weight: 700; line-height: 20px; white-space: nowrap;
  color: var(--t00);
  border: 1px solid var(--brand);
  border-radius: var(--r-s);
  transition: background-color .3s, color .3s, border-color .3s;
  cursor: pointer;
}
.btn--solid { background: var(--brand); }
.btn--solid:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn--ghost { background: var(--surface-60); color: var(--t100); }
.btn--ghost:hover { background: var(--brand); }
/* ghost buttons that are controls (not outbound CTAs) hover in-page, not in the action colour */
.btn--ghost:not([data-cta]):hover { background: var(--line); }
.btn--lg { padding: 15px 26px; font-size: 18px; line-height: 26px; }
.btn--glow { box-shadow: var(--glow); }
.btn .icon--arrow { width: 22px; height: 14px; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
@media (min-width: 768px)  { .site-header { padding: 16px 0; background: var(--bg); } }
@media (min-width: 1200px) { .site-header { padding: 18px 0; } }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 767px) { .site-header__bar { min-height: 72px; padding: 16px; background: var(--bg); } }

.logo { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; line-height: 1; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.logo__top    { font-size: 15px; color: var(--t00); }
.logo__bottom { font-size: 14px; color: var(--brand); margin-top: 1px; }
@media (min-width: 1200px) { .logo__top { font-size: 19px; } .logo__bottom { font-size: 17px; } }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 767px) { .site-header__actions .btn--login { display: none; } }
.btn .icon--out { width: 14px; height: 14px; }
.btn--lg .icon--out { width: 16px; height: 16px; }

/* ---------- hero bonus ---------- */
@media (min-width: 768px) { .hero { margin-top: 40px; } }
.hero__wrap { padding: 0; }
@media (min-width: 768px) { .hero__wrap { padding: 0 16px; } }
.hero__card { position: relative; isolation: isolate; overflow: hidden; padding: 40px 16px; text-align: center; }
@media (min-width: 768px)  { .hero__card { padding: 80px 16px; border-radius: var(--r-m); } }
@media (min-width: 1200px) { .hero__card { padding: 80px; } }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-grad); }
.hero__title { margin-bottom: 8px; font-size: 40px; font-weight: 700; line-height: 48px; color: var(--t100); overflow-wrap: break-word; }
@media (min-width: 768px) { .hero__title { font-size: 48px; line-height: 56px; } }
.hero__label { margin-bottom: 24px; font-size: 24px; font-weight: 700; line-height: 32px; text-transform: uppercase; color: var(--t200); }
.hero__cta { width: 240px; max-width: 100%; padding: 15px 23px; border: 0; }
.hero__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--t200); }
.hero__note .icon { width: 18px; height: 18px; color: var(--mint); }

/* ---------- search ---------- */
.search-zone { margin: -24px 0; }
@media (min-width: 1200px) { .search-zone { margin: -16px 0; } }
.search { position: relative; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
@media (min-width: 768px) { .search { flex-direction: row; } }
.search__field { position: relative; flex: 1; }
.search__icon { position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; color: var(--t400); pointer-events: none; }
.search__input {
  width: 100%; height: 48px; padding: 12px 12px 12px 50px;
  color: var(--t100); background: var(--surface); border-radius: var(--r-s);
}
.search__input::placeholder { color: var(--t400); opacity: 1; }
.search__input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.search__filter { height: 48px; padding: 10px 15px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.search__filter[aria-expanded="true"] { background: var(--line); border-color: var(--mint); }
.search__filter .icon { width: 16px; height: 16px; }
.search__list {
  position: absolute; top: 54px; left: 0; right: 0; z-index: 990;
  max-height: 320px; overflow-y: auto;
  padding: 6px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
}
.search__list[hidden] { display: none; }
.search__option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; text-align: left; border-radius: 10px; color: var(--t200); }
.search__option img { width: 36px; height: 36px; border-radius: 8px; }
.search__option small { display: block; font-size: 12px; line-height: 16px; color: var(--t400); }
.search__option:hover, .search__option[aria-selected="true"] { background: var(--surface-2); color: var(--t100); }
.search__empty { padding: 10px 12px; color: var(--t300); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chips[hidden] { display: none; }
.chip { flex-shrink: 0; padding: 7px 15px; }
.chip[aria-pressed="true"] { background: var(--line); border-color: var(--mint); color: var(--t100); box-shadow: inset 0 0 0 1px var(--mint); }

/* ---------- table of contents ---------- */
.toc { display: flex; flex-wrap: wrap; align-items: center; padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 768px) { .toc { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; } }
.toc__label { width: 100%; font-size: 14px; color: var(--t100); }
@media (min-width: 768px) { .toc__label { width: auto; flex-shrink: 0; } }
.toc__track { display: flex; gap: 8px; margin-top: 4px; min-width: 0; }
@media (min-width: 768px) { .toc__track { margin: 0 0 0 16px; } }
.toc__link {
  display: flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 10px 16px; white-space: nowrap;
  font-weight: 700; color: var(--t300); background: var(--surface); border-radius: var(--r-m);
  transition: background-color .3s, color .3s;
}
.toc__link:hover, .toc__link.is-active { background: var(--line); color: var(--t100); }
.drag-track :focus-visible { outline-offset: -3px; }

/* shared: horizontal drag-scroll track with a right-edge fade while more content waits */
.drag-track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.drag-track::-webkit-scrollbar { display: none; }
.drag-track.is-scrollable { -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent); }
.drag-track.is-scrollable.at-end { -webkit-mask-image: none; mask-image: none; }
.drag-track.is-dragging { cursor: grabbing; user-select: none; }
.drag-track.is-dragging a { pointer-events: none; }
@media (hover: hover) { .drag-track.is-scrollable { cursor: grab; } }

/* ---------- panels (games / providers / compliance / faq) ---------- */
.panel { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel-grad); }
@media (min-width: 768px) { .panel { padding: 24px; } }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; gap: 12px; font-size: 28px; line-height: 36px; }
@media (min-width: 768px) { .section-title { font-size: 32px; line-height: 40px; } }
.section-title .icon { width: 24px; height: 24px; color: var(--mint); }
@media (min-width: 768px) { .section-title .icon { width: 32px; height: 32px; } }
.panel__more { display: none; }
@media (min-width: 768px) { .panel__more { display: inline-flex; } }

/* ---------- games grid ---------- */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
@media (min-width: 768px)  { .games { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .games { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.game { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.game--big { grid-column: span 2; }
@media (min-width: 768px) { .game--big { grid-row: span 2; } }
@media (min-width: 768px)  { .game--right { grid-column: 3 / span 2; } }
@media (min-width: 1200px) { .game--right { grid-column: 5 / span 2; } }
html.js .games:not(.is-expanded):not(.is-filtering) .game--extra { display: none; }
.game[hidden] { display: none !important; }
.game.is-flash .game__thumb { box-shadow: 0 0 0 3px var(--mint); }

.game__thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--r-s); background: var(--surface); transition: box-shadow .3s; }
.game__thumb img { width: 100%; height: 100%; object-fit: cover; }
.game__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--surface-60); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s;
}
.game__play span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: var(--t00); box-shadow: var(--glow); }
.game__play .icon { width: 22px; height: 22px; }
.game__thumb:hover .game__play, .game__thumb:focus-visible .game__play { opacity: 1; }

.game__meta { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.game__text { min-width: 0; flex: 1; }
.game__name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 700; line-height: 20px; color: var(--t100); }
.game__provider { display: block; font-size: 12px; line-height: 16px; color: var(--t300); }
.game__info { position: relative; display: flex; }
.game__info-btn { position: relative; display: grid; place-items: center; width: 24px; height: 24px; margin: -2px -4px 0 0; color: var(--t400); border-radius: 50%; }
.game__info-btn::before { content: ""; position: absolute; top: -4px; right: -8px; bottom: -16px; left: -12px; }
.game__info-btn .icon { width: 16px; height: 16px; }
.game__info-btn:hover, .game__info-btn[aria-expanded="true"] { color: var(--t100); }
.game__pop {
  position: absolute; top: 30px; right: -12px; z-index: 5;
  width: 174px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
}
.game__pop::before { content: ""; position: absolute; top: -7px; right: 18px; width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.game__info:hover .game__pop, .game__info-btn[aria-expanded="true"] + .game__pop { visibility: visible; opacity: 1; }
.game__pop dl { display: flex; flex-direction: column; gap: 8px; }
.game__pop dl > div { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; line-height: 16px; }
.game__pop dt { width: 50%; color: var(--t200); }
.game__pop dd { width: 50%; font-weight: 700; color: var(--t100); }
.games__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 8px; text-align: center; color: var(--t200); }
.games__empty q { color: var(--t100); font-weight: 700; }
.panel__toggle { display: flex; justify-content: center; margin-top: 16px; }
.panel__toggle .icon--chev { width: 14px; height: 8px; transition: transform .3s; }
.panel__toggle [aria-expanded="true"] .icon--chev { transform: rotate(180deg); }

/* ---------- logo strips (providers, compliance) ---------- */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .strip { display: flex; flex-wrap: nowrap; gap: 16px; } }
.strip--compliance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logo-chip {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0;
  min-height: 60px; padding: 7px 10px; text-align: center;
  font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .03em; text-transform: uppercase; color: var(--t100);
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg);
  transition: background-color .3s;
}
@media (min-width: 768px) { .logo-chip { min-width: 128px; padding: 7px 18px; font-size: 13px; } }
.logo-chip .icon { width: 26px; height: 26px; color: var(--mint); }
.strip--compliance .logo-chip { justify-content: flex-start; text-align: left; letter-spacing: 0; text-transform: none; font-size: 14px; }
@media (min-width: 768px) { .strip--compliance .logo-chip { padding: 8px 18px; } }
/* payment methods: colour badge + name + payout note */
.strip--payments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pay-chip { justify-content: flex-start; gap: 12px; padding: 8px 12px; text-align: left; letter-spacing: 0; text-transform: none; font-size: 14px; line-height: 18px; }
@media (min-width: 768px) { .pay-chip { padding: 8px 20px 8px 12px; } }
.pay-chip img { width: 48px; height: 30px; flex-shrink: 0; }
.pay-chip small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 16px; color: var(--t300); white-space: nowrap; }
@media (max-width: 767px) {
  /* 2-column grid on phones: let the note wrap so chips never outgrow their column */
  .pay-chip { min-width: 0; gap: 10px; padding: 8px 10px; }
  .pay-chip img { width: 40px; height: 25px; }
  .pay-chip small { white-space: normal; }
}
@media (max-width: 767px) { html.js .strip:not(.is-open) .is-extra { display: none; } }
.panel .panel__toggle--mobile { display: flex; }
@media (min-width: 768px) { .panel .panel__toggle--mobile { display: none; } }

/* ---------- article ---------- */
.article { display: flex; flex-direction: column; gap: 12px; }
/* prose at a readable measure; tables and banners keep the full column */
.article > :is(h1, h2, h3, p, ol, ul) { max-width: 72ch; }
.article h1:not(:first-child), .article h2:not(:first-child) { margin-top: 28px; }
.article h3:not(:first-child) { margin-top: 12px; }
.article h1 { font-size: 40px; line-height: 48px; letter-spacing: .2px; }
.article h2 { font-size: 30px; line-height: 38px; }
.article h3 { font-size: 22px; line-height: 30px; }
@media (min-width: 768px) {
  .article h1 { font-size: 48px; line-height: 60px; }
  .article h2 { font-size: 36px; line-height: 44px; }
  .article h3 { font-size: 24px; line-height: 32px; }
}
.article a:not(.btn) { border-bottom: 1px solid currentColor; }
.article ol { margin: 6px 0 14px; padding-left: 24px; list-style: decimal; }
.article ol li { margin-bottom: 8px; padding-left: 6px; }
.article ol li::marker { font-weight: 700; color: var(--t100); }
.article ul { margin: 6px 0 14px; padding-left: 8px; }
.article ul li { position: relative; margin-bottom: 8px; padding-left: 16px; }
.article ul li::before { content: ""; position: absolute; top: 11px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--t300); transform: translateY(-50%); }
.article strong { color: var(--t100); }

.table-wrap {
  margin: 16px 0; padding: 16px; overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface);
}
@media (min-width: 768px) { .table-wrap { padding: 24px; } }
.table-wrap.is-scrollable:not(.at-end) { -webkit-mask-image: linear-gradient(to right, #000 90%, transparent); mask-image: linear-gradient(to right, #000 90%, transparent); }
.table-wrap table { width: 100%; border-spacing: 0 4px; border-collapse: separate; }
.table-wrap th { padding: 12px 18px; text-align: left; white-space: nowrap; font-weight: 700; color: var(--t100); background: var(--line); }
.table-wrap td { padding: 11px 18px; white-space: nowrap; background: var(--bg); }
@media (min-width: 1200px) { .table-wrap td { white-space: normal; } }
.table-wrap tr > :first-child { border-top-left-radius: var(--r-s); border-bottom-left-radius: var(--r-s); }
.table-wrap tr > :last-child { border-top-right-radius: var(--r-s); border-bottom-right-radius: var(--r-s); }
.table-wrap caption { caption-side: top; }

/* in-article bonus banner */
.bonus-banner { position: relative; isolation: isolate; overflow: hidden; margin: 34px 0; border: 1px solid var(--line); border-radius: var(--r-m); }
.bonus-banner__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.bonus-banner__scrim { padding: 24px 20px; background: var(--scrim-grad); }
@media (min-width: 768px)  { .bonus-banner__scrim { padding: 32px; } }
@media (min-width: 1200px) { .bonus-banner__scrim { padding: 40px; } }
/* one box only: content sits straight on the scrim (no inner framed card), art stays visible on the right */
.bonus-banner__card { display: flex; flex-direction: column; align-items: stretch; gap: 16px; max-width: 760px; }
@media (min-width: 768px) { .bonus-banner__card { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; } }
.bonus-banner__label { margin-bottom: 8px; font-size: 18px; font-weight: 700; line-height: 26px; text-transform: uppercase; color: var(--t300); }
@media (min-width: 1200px) { .bonus-banner__label { font-size: 20px; line-height: 28px; } }
.bonus-banner__title { font-size: 24px; font-weight: 700; line-height: 32px; color: var(--t100); }
@media (min-width: 768px) { .bonus-banner__title { font-size: 32px; line-height: 40px; } }
.bonus-banner__terms { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--t200); }
.bonus-banner .btn { flex-shrink: 0; }

.cta-row { display: flex; justify-content: center; margin: 24px auto 40px; }
.cta-row .btn { padding: 15px 24px; }
@media (min-width: 768px) { .cta-row .btn { padding: 15px 48px; } }

/* ---------- FAQ ---------- */
.faq__title { margin-bottom: 12px; }
.faq { display: flex; flex-direction: column; gap: 20px; padding: 24px; padding-top: 30px; }
.faq__item { padding: 0 15px; border-bottom: 4px solid transparent; transition: border-color .3s; }
.faq__item[open] { border-bottom-color: var(--mint); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 48px; padding: 10px 0 12px;
  list-style: none; cursor: pointer;
  font-size: 18px; font-weight: 700; line-height: 26px; color: var(--t100);
}
.faq__q::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .faq__q { font-size: 20px; line-height: 28px; } }
.faq__q .icon { width: 14px; height: 8px; margin-right: 4px; color: var(--t400); transition: transform .3s, color .3s; }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); color: var(--mint); }
.faq__a { padding-bottom: 12px; color: var(--t200); }

/* ---------- floating bonus bar ---------- */
.float-slot { min-height: var(--bar-h); padding-bottom: 24px; }
.float-slot::before {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; z-index: 991; pointer-events: none;
  height: calc(var(--bar-h) + 16px);
  background: linear-gradient(180deg, rgba(22, 14, 52, 0) 0%, var(--bg) 70%);
}
@media (min-width: 768px) { .float-slot::before { height: calc(var(--bar-h) + 32px); } }
.float-slot::before { transition: opacity .3s; }
.float-slot.is-static::before, .float-slot.is-hidden::before { opacity: 0; }
.float-bar {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 992;
  display: grid; grid-template-columns: 56px 1fr min-content; align-items: center; column-gap: 8px;
  padding: 11px; overflow: hidden;
  border: 1px solid var(--brand); border-radius: var(--r-m);
  background: var(--scrim-grad), var(--line);
  box-shadow: 0 12px 24px 0 rgba(67, 67, 67, .16);
  transition: translate .45s cubic-bezier(.16, 1, .3, 1), visibility 0s;
}
/* hidden while the hero CTA or a bonus banner is on screen (script.js); never while docked */
.float-slot.is-hidden:not(.is-static) .float-bar { translate: 0 calc(100% + 40px); visibility: hidden; transition: translate .3s ease-in, visibility 0s linear .3s; }
@media (min-width: 768px) { .float-bar { left: 24px; right: 128px; bottom: 24px; padding: 15px; column-gap: 16px; } }
@media (min-width: 1200px) { .float-bar { width: 600px; left: 50%; right: auto; transform: translateX(-50%); } }
.float-slot.is-static .float-bar { position: relative; inset: auto; transform: none; margin: 0 auto; }
@media (min-width: 1200px) { .float-slot.is-static .float-bar { width: 600px; } }
.float-bar__logo { width: 56px; height: 56px; border-radius: 12px; }
.float-bar__title { font-size: 18px; font-weight: 700; line-height: 26px; color: var(--t100); }
@media (min-width: 768px) { .float-bar__title { font-size: 24px; line-height: 32px; } }
.float-bar__btn { height: 54px; min-width: 54px; padding: 14px; }
@media (max-width: 767px) {
  .float-bar { grid-template-columns: 1fr min-content; padding: 10px 10px 10px 16px; }
  .float-bar__logo { display: none; }
  .float-bar__title { font-size: 16px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .float-bar__btn { height: 48px; min-width: 48px; padding: 12px; }
}
.float-bar__btn span { display: none; }
@media (min-width: 768px) { .float-bar__btn span { display: inline; } }

/* ---------- help button + panel (honest help: FAQ, RG line, email; not a fake live chat) ---------- */
.help-fab {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 16px); z-index: 993;
  display: grid; place-items: center; width: 64px; height: 64px;
  color: var(--t00); background: var(--brand); border: 1px solid var(--mint); border-radius: 50%;
  box-shadow: var(--glow); transition: background-color .3s, bottom .3s;
}
.help-fab .icon { width: 32px; height: 32px; }
.help-fab:hover { background: var(--brand-hover); }
@media (max-width: 767px) { .help-fab, .help-panel { display: none !important; } }
body.bar-static .help-fab { bottom: 8px; }
@media (min-width: 768px) {
  .help-fab, body.bar-static .help-fab { right: 20px; bottom: 22px; width: 80px; height: 80px; }
  .help-fab .icon { width: 40px; height: 40px; }
}
.help-panel {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 92px); z-index: 994;
  width: min(320px, calc(100vw - 32px)); padding: 20px;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel-grad);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
body.bar-static .help-panel { bottom: 84px; }
@media (min-width: 768px) { .help-panel, body.bar-static .help-panel { right: 20px; bottom: 116px; } }
.help-panel[hidden] { display: none; }
.help-panel__title { margin-bottom: 4px; font-size: 20px; line-height: 28px; color: var(--t100); }
.help-panel p { margin-bottom: 12px; font-size: 14px; line-height: 20px; }
.help-panel ul { display: flex; flex-direction: column; gap: 6px; }
.help-panel li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; font-weight: 700; color: var(--t100); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.help-panel li a:hover { background: var(--line); }
.help-panel li a span { font-weight: 400; font-size: 13px; color: var(--t300); }
.help-panel__close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--t300); border-radius: 50%; }
.help-panel__close:hover { color: var(--t100); background: var(--surface-60); }
.help-panel__close .icon { width: 14px; height: 14px; }

/* ---------- bonus popup ---------- */
.bonus-pop { width: calc(100% - 32px); max-width: 600px; margin: auto; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
.bonus-pop::backdrop { background: rgba(22, 14, 52, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bonus-pop__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; min-height: 460px; padding: 56px 24px 32px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
@media (min-width: 768px) { .bonus-pop__card { min-height: 520px; padding: 64px 40px 40px; } }
.bonus-pop__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bonus-pop__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 100%, var(--brand-deep) 0%, rgba(55, 44, 98, .72) 60%, rgba(22, 14, 52, .55) 100%); }
.bonus-pop__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--t100); background: var(--surface-60); border-radius: 50%; }
.bonus-pop__close:hover { background: var(--brand); }
.bonus-pop__close .icon { width: 16px; height: 16px; }
.bonus-pop__label { margin-bottom: 8px; font-size: 20px; font-weight: 700; line-height: 28px; text-transform: uppercase; color: var(--t100); }
.bonus-pop__title { margin-bottom: 12px; font-size: 40px; font-weight: 700; line-height: 48px; color: var(--t00); }
@media (min-width: 768px) { .bonus-pop__title { font-size: 56px; line-height: 64px; } }
.bonus-pop__sub { margin-bottom: 24px; font-size: 14px; line-height: 20px; color: var(--t200); }
.bonus-pop__terms { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--t300); }
.bonus-pop .btn { width: 100%; }

/* ---------- footer ---------- */
.site-footer { padding: 24px 0; border-top: 1px solid var(--surface); }
@media (min-width: 768px) { .site-footer { padding: 40px 4px; } }
.footer-top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 30px; }
@media (min-width: 1200px) { .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 32px; } }
.footer-legal { max-width: 760px; font-size: 14px; line-height: 20px; color: var(--t300); }
.footer-legal p + p { margin-top: 8px; }
.footer-legal strong { color: var(--t100); }
.footer-legal a { border-bottom: 1px solid currentColor; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 4px; }
.footer-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--t100); border: 0; }
.footer-links a::before { content: ""; position: absolute; inset: 0 -10px; } /* short words like "FAQ" still get a 44px-wide target */
.footer-links a:hover { color: var(--mint); }
.footer-pay { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; flex-shrink: 0; max-width: 340px; }
.footer-pay img { width: 38px; height: 24px; }
.footer-pay__more { position: relative; }
.footer-pay__more > button { position: relative; font-weight: 700; line-height: 19px; color: var(--mint); border-bottom: 1px solid var(--mint); }
.footer-pay__more > button::before { content: ""; position: absolute; inset: -12px -13px; }
.footer-pay__pop {
  position: absolute; right: -13px; bottom: 34px; z-index: 10; width: 220px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.footer-pay__pop::after { content: ""; position: absolute; right: 18px; bottom: -7px; width: 12px; height: 12px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.footer-pay__more:hover .footer-pay__pop, .footer-pay__more > button[aria-expanded="true"] + .footer-pay__pop { visibility: visible; opacity: 1; }
.footer-pay__pop { display: flex; flex-direction: column; gap: 8px; }
.footer-pay__pop li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 22px; color: var(--t200); }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; }
/* keep the last footer line clear of the round help button */
@media (max-width: 767px) { .site-footer { padding-bottom: 88px; } }
@media (min-width: 768px) { .footer-bottom { padding-right: 84px; } }
@media (min-width: 1200px) { .footer-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.footer-copy { font-size: 14px; line-height: 20px; color: var(--t300); }
.footer-mail a { position: relative; line-height: 19px; border-bottom: 1px solid var(--mint); }
.footer-mail a::before { content: ""; position: absolute; inset: -12px 0; }

.game__info.is-dismissed .game__pop, .footer-pay__more.is-dismissed .footer-pay__pop { visibility: hidden; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   bettycasinosaskatchewan.com additions on top of the party template
   ========================================================================== */

/* gold is a fill under dark text */
.btn--solid, .btn--solid:hover { color: var(--on-brand); }
.btn--ghost[data-cta]:hover { background: var(--brand); color: var(--on-brand); }
.game__play span { color: var(--on-brand); }
.help-fab { color: var(--on-brand); border-color: var(--brand-hover); }
.bonus-pop__close:hover { color: var(--on-brand); }
.bonus-pop::backdrop { background: rgba(12, 11, 9, .6); }
.bonus-pop__card::before { background: radial-gradient(120% 90% at 50% 100%, rgba(90, 67, 0, .95) 0%, rgba(29, 26, 20, .78) 60%, rgba(12, 11, 9, .6) 100%); }
.float-slot::before { background: linear-gradient(180deg, rgba(12, 11, 9, 0) 0%, var(--bg) 70%); }

/* ---------- logo: Betty wordmark ---------- */
.logo { flex-direction: row; gap: 10px; text-transform: none; letter-spacing: 0; }
.logo img { width: auto; height: 30px; }
@media (min-width: 1200px) { .logo img { height: 34px; } }

/* ---------- main navigation ---------- */
.site-header__bar { gap: 12px; }
.site-nav { display: none; }
.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--t100); border: 1px solid var(--line); border-radius: 12px; background: var(--surface-60);
}
.nav-toggle:hover { background: var(--line); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .i-x { display: none; }
.nav-toggle[aria-expanded="true"] .i-x { display: block; }
.nav-toggle[aria-expanded="true"] .i-burger { display: none; }
.site-nav a { display: flex; align-items: center; font-weight: 700; color: var(--t200); }
.site-nav a[aria-current="page"] { color: var(--t100); }
@media (max-width: 1199px) {
  .site-nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 999;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .5);
  }
  .site-nav.is-open ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 720px; margin: 0 auto; }
  .site-nav.is-open a { min-height: 48px; padding: 0 14px; color: var(--t100); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
  .site-nav.is-open a[aria-current="page"] { border-color: var(--mint); }
}
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  /* nav centred on the bar: equal side columns, so the logo and Sign up never pull it off-centre */
  .site-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .logo { justify-self: start; }
  .site-nav { display: block; justify-self: center; }
  .site-header__actions { justify-self: end; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { min-height: 44px; padding: 0 10px; font-size: 14px; border-radius: 12px; transition: background-color .3s, color .3s; }
  .site-nav a:hover { color: var(--t100); background: var(--surface); }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mint); border-radius: 12px 12px 0 0; }
}

/* ---------- inner-page hero: photo or art + scrim, breadcrumb, h1 ---------- */
@media (min-width: 768px) { .page-hero { margin-top: 40px; } }
.page-hero .container { padding: 0; }
@media (min-width: 768px) { .page-hero .container { padding: 0 16px; } }
.page-hero__card { position: relative; isolation: isolate; overflow: hidden; padding: 32px 16px 36px; }
@media (min-width: 768px) { .page-hero__card { padding: 56px 48px; border-radius: var(--r-m); border: 1px solid var(--line); } }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 11, 9, .84) 0%, rgba(12, 11, 9, .93) 100%); }
@media (min-width: 768px) { .page-hero__card::before { background: linear-gradient(90deg, rgba(12, 11, 9, .95) 0%, rgba(12, 11, 9, .86) 48%, rgba(12, 11, 9, .38) 100%); } }
.page-hero__inner { max-width: 640px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 14px; line-height: 20px; color: var(--t300); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--t400); }
.crumbs a { color: var(--t200); border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--mint); }
.page-hero h1 { margin-bottom: 12px; font-size: 34px; line-height: 42px; color: var(--t00); }
@media (min-width: 768px) { .page-hero h1 { font-size: 46px; line-height: 56px; } }
.page-hero__lead { margin-bottom: 22px; font-size: 18px; line-height: 28px; color: var(--t100); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__actions .hero__cta { width: auto; min-width: 200px; }
.page-hero__note { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--t200); }
.page-hero__note .icon { width: 18px; height: 18px; color: var(--mint); }

/* ---------- article extras ---------- */
.figure { max-width: 860px; margin: 18px 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.figure img { width: 100%; }
.figure figcaption { padding: 10px 16px 12px; font-size: 13px; line-height: 18px; color: var(--t300); }
.notice { max-width: 72ch; margin: 8px 0; padding: 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: var(--r-s); background: var(--surface); }
.notice p + p { margin-top: 8px; }
.notice__title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 700; color: var(--t100); }
.notice__title .icon { width: 20px; height: 20px; color: var(--mint); }
.proscons { display: grid; gap: 16px; margin: 12px 0; }
@media (min-width: 768px) { .proscons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.proscons > div { padding: 18px 20px 8px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.proscons h3 { margin-bottom: 8px; font-size: 20px; line-height: 28px; }
.article .proscons ul { padding-left: 0; }
.article .proscons--pros li::before { background: var(--mint); }
.article .proscons--cons li::before { background: var(--t400); }
.key-steps { counter-reset: step; }

/* ---------- related guides ---------- */
.related { display: grid; gap: 12px; }
@media (min-width: 768px)  { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.related a { display: flex; flex-direction: column; gap: 4px; min-height: 100%; padding: 16px 18px; color: var(--t100); font-weight: 700; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); transition: border-color .3s, background-color .3s; }
.related a span { font-size: 14px; font-weight: 400; line-height: 20px; color: var(--t300); }
.related a:hover { border-color: var(--mint); background: var(--surface); }

/* ---------- footer additions ---------- */
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 8px; }
.footer-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--t100); border: 0; }
.footer-nav a:hover { color: var(--mint); }
.footer-pay { max-width: 220px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-brand img { width: auto; height: 26px; }

/* 404 */
.notfound { padding: 40px 0 8px; text-align: center; }
.notfound h1 { margin-bottom: 12px; font-size: 40px; line-height: 48px; }
.notfound p { margin: 0 auto 20px; max-width: 52ch; }
