/* ===========================================================================
   mono-04-cashhunter — casino lobby.
   Sidebar (brand + login/register + page menu) · lobby hero banner · game-type
   pills · game-card grid · brief sections · CTA strip · footer.

   COLOUR CONTRACT (BR-GEN-05, BR-GEN-04):
   The only colours that enter this file are the three CSS variables the page
   injects inline from the per-site branding palette:
       --bg      background colour   (branding.backgroundColor)
       --accent  accent colour       (branding.accentColor)
       --text    text colour         (branding.textColor, always present)
   Every other tone below is DERIVED from those three with color-mix() +
   `transparent` — there is not a single hardcoded colour literal, so the
   stylesheet re-skins per site with no edits. Fonts are a system stack; no
   external font is fetched.

   STATE CONTRACT (BR-GEN-03):
   Element state and every JS hook is a data-* attribute — [data-open] on the
   sidebar drawer, [data-scrolled] on the mobile topbar, plus data-header,
   data-nav-toggle, data-primary-nav, data-section, data-faq, data-aff — never a
   class: the per-domain obfuscation step renames class tokens in the HTML and in
   this file, but never touches data-*, so a class-based state driven from JS
   would desync. `is-active` is the one modifier class here and is emitted at
   render time only (no JS reads it), so the rename stays in lockstep.
   =========================================================================== */

:root {
  /* Derived surface / line / muted tones (from --bg + --text). */
  --bg-2: color-mix(in srgb, var(--bg) 95%, var(--text));
  --surface: color-mix(in srgb, var(--bg) 92%, var(--text));
  --surface-2: color-mix(in srgb, var(--bg) 86%, var(--text));
  --line: color-mix(in srgb, var(--bg) 78%, var(--text));
  --line-2: color-mix(in srgb, var(--bg) 66%, var(--text));
  --muted: color-mix(in srgb, var(--text) 60%, var(--bg));
  --muted-2: color-mix(in srgb, var(--text) 78%, var(--bg));

  /* Derived accent tints. */
  --accent-2: color-mix(in srgb, var(--accent) 82%, var(--text));
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-ring: color-mix(in srgb, var(--accent) 40%, transparent);
  --accent-text: color-mix(in srgb, var(--accent) 72%, var(--text));
  --on-accent: color-mix(in srgb, var(--bg) 86%, var(--text));

  /* Derived shadow / hover lift (translucent shades of the two base tones). */
  --shadow: color-mix(in srgb, var(--bg) 55%, transparent);
  --lift: color-mix(in srgb, var(--text) 6%, transparent);

  /* Geometry. */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --sidebar-w: 244px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Noto Sans', sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}

/* ---------- prose (inline-HTML block bodies) ---------- */
.xa90c36cb06 p {
  margin: 0 0 1em;
}
.xa90c36cb06 a {
  color: var(--accent-text);
  text-decoration: underline;
}
.xa90c36cb06 h3 {
  margin-top: 1.2em;
}
.xa90c36cb06 ul,
.xa90c36cb06 ol {
  padding-left: 1.3em;
}
.xa90c36cb06 table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.xa90c36cb06 th,
.xa90c36cb06 td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.xa90c36cb06 th {
  background: var(--surface);
}

/* ---------- buttons ---------- */
.x2470127250 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  transition:
    transform 0.12s,
    background 0.12s,
    box-shadow 0.12s;
}
.x84011cca39 {
  width: 100%;
}
.x97f1723aad {
  padding: 14px 30px;
  font-size: 16px;
}
.xb683e47dbf {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 16px var(--accent-ring);
}
.xb683e47dbf:hover {
  background: var(--accent-2);
  box-shadow: 0 10px 22px var(--accent-ring);
  transform: translateY(-1px);
}
.x1db388eb40 {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.x1db388eb40:hover {
  border-color: var(--accent);
}

/* ---------- app shell ---------- */
.xd29226d3d8 {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ---------- sidebar (= the page menu) ---------- */
.x118cb955c3 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 18px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}
.x9ed48cd341 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.xc71548948c {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: 0;
  color: var(--muted-2);
  cursor: pointer;
  padding: 4px;
}
.x44de172a91 {
  margin: 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-2);
}

.x0c6e239732 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.x5fc68148f6 {
  display: inline-flex;
  align-items: center;
}
.xefb2d95631 {
  height: 40px;
  width: auto;
  max-width: 100%;
}
.x5d56895324 {
  height: 44px;
}
.x118cb955c3 .x0c6e239732,
.x118cb955c3 .x5fc68148f6 {
  display: flex;
  width: 100%;
  justify-content: center;
}
.x118cb955c3 .xefb2d95631 {
  height: 110px;
}
.x506b97f1df .xefb2d95631 {
  height: 88px;
  max-width: 62vw;
}
.xfc7dc951fd {
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.x1c9086b07b {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.x5a4a7720ce {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.x67fb347299 {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.xa0d5b8a5aa {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-weight: 600;
  font-size: 14.5px;
  transition:
    background 0.14s,
    color 0.14s;
}
/* Hover/active sit a hair off the base chrome: a faint text-toned lift on hover,
   then a faint accent wash for the current page — both keep the label readable
   on the sidebar surface. */
.xa0d5b8a5aa:hover {
  background: var(--lift);
  color: var(--text);
}
.xa0d5b8a5aa.x698f3335f1 {
  background: var(--accent-soft);
  color: var(--text);
}

/* ---------- main column ---------- */
.xd2c81b03ee {
  min-width: 0;
  padding: 22px 26px 40px;
}

/* mobile topbar (brand + burger row, then login/register row) — hidden on desktop */
.x506b97f1df {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.xdc3515b909 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.x1772a45e20 {
  display: flex;
  gap: 8px;
}
.x1772a45e20 .x2470127250 {
  flex: 1 1 0;
  padding: 10px 12px;
  font-size: 14px;
}
.x6194eb8fdb {
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  flex: none;
}
/* Scroll state is a data-* attribute set from JS, never a class. */
.x506b97f1df[data-scrolled='true'] {
  box-shadow: 0 4px 14px var(--shadow);
}

/* ---------- lobby hero banner (home page only) ---------- */
/* The banner is promotional artwork (offer text baked into the image), so it
   renders in FULL — full width, height following the image own aspect ratio.
   No fixed height + object-fit: cover, which would crop the offer off the
   bottom. Recommended crops: ~1900x440 desktop, ~1080x600 mobile.
   BR-GEN-15: with no configured hero background image the section keeps this
   default palette gradient; a configured one is layered in from main.eta with a
   darkening overlay. */
.xee90b3407a {
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background-image: linear-gradient(135deg, var(--surface-2), var(--bg-2));
}
.x833a4eedb5 {
  display: block;
  transition: filter 0.15s;
}
.x833a4eedb5:hover {
  filter: brightness(1.05);
}
.x7ad3b8dd68 {
  display: block;
}
.x86b3331f01 {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- game-type pills ---------- */
.x2c3360f1c4 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 22px;
}
.x4ca8a777bc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--lift);
  transition:
    border-color 0.12s,
    background 0.12s;
}
.x4ca8a777bc:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
/* The glyph is the package own inline SVG, inserted raw from the manifest
   declaration, so it is sized by element selector — it carries no class of its
   own. */
.xb6c12d1ee1 {
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
}
.xb6c12d1ee1 svg {
  width: 16px;
  height: 16px;
}

/* ---------- lobby game-card grid ---------- */
.xf5760dc921 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 16px;
  margin-bottom: 30px;
}
.x02ba278d38 {
  display: block;
}
.x6547e1f9ff {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  box-shadow: 0 6px 16px var(--shadow);
  transition: transform 0.14s;
}
.x1869eee011 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x02ba278d38:hover .x6547e1f9ff {
  transform: translateY(-3px);
}
.xd88dba5ad0 {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- brief: intro lead ---------- */
.xb02f540dfd {
  margin: 8px 0 26px;
}
.x129da1010a {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.xfce8f32a84 {
  grid-template-columns: 1fr;
}
.x726455639c {
  font-size: clamp(28px, 4vw, 40px);
}
.x3130b14001 {
  color: var(--muted-2);
  font-size: 16px;
}
.xb480eaed40 {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  margin-top: 18px;
}
.x7c0bef935d {
  margin-top: 18px;
}

.x0e73e95d45 {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.x1e6bb7f22f {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.xb7953b04d5 {
  font-size: 18px;
  font-weight: 700;
}

/* ---------- brief sections (text) ---------- */
.xa4da456b5a {
  margin-bottom: 30px;
}
.x3a1f43dc3d {
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 12px;
}

/* BR-GEN-33: a section heading stored at level 1 renders an H1, sized above a section H2. */
h1.x3a1f43dc3d {
  font-size: calc(clamp(20px, 2.6vw, 26px) * 1.3);
}
.x367464c9c2 {
  display: flow-root;
}
.x472d1eebb7 {
  width: 38%;
  border-radius: var(--radius-sm);
  margin: 0 0 14px 18px;
  float: right;
}
.x2cc815016e {
  float: left;
  margin: 0 18px 14px 0;
}

/* ---------- section heads (games/payments/bonuses/faq) ---------- */
.xfe0c2a0b9a {
  padding: 6px 0;
}
.xa52dd38d93 {
  margin-bottom: 18px;
}
.x7662e867b1 {
  text-align: center;
}
.xe81820c83c {
  font-size: clamp(22px, 3vw, 28px);
}

/* BR-GEN-33: a section heading stored at level 1 renders an H1, sized above a section H2. */
h1.xe81820c83c {
  font-size: calc(clamp(22px, 3vw, 28px) * 1.3);
}

/* ---------- brief games block (distinct from the lobby grid above) ---------- */
.xbb095ac2b2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.x19e9634a8c {
  display: block;
}
.xddc6f93318 {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  box-shadow: 0 6px 16px var(--shadow);
  transition: transform 0.14s;
}
.xddc6f93318 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x5e8220b064 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 42px;
  color: var(--muted);
}
.x19e9634a8c:hover .xddc6f93318 {
  transform: translateY(-3px);
}
.xbc4498049e {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.x26f22d69fc {
  font-size: 14px;
  font-weight: 600;
}
.xbcb941ee8b {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.xb278e77558 {
  display: grid;
  gap: 10px;
}
.x6c5bd934de {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.x26e988d9c2 {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 700;
}
.x26e988d9c2::-webkit-details-marker {
  display: none;
}
.x07b1b5fc2d {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.x07b1b5fc2d::before,
.x07b1b5fc2d::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.x07b1b5fc2d::before {
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
}
.x07b1b5fc2d::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  transition: opacity 0.15s;
}
.x6c5bd934de[open] .x07b1b5fc2d::after {
  opacity: 0;
}
.x74ddd525d6 {
  padding: 0 16px 16px;
  color: var(--muted-2);
}

/* ---------- payments ---------- */
.x2472b3e95b {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  margin: 0 auto 20px;
  display: block;
}
.x00b658efd6 {
  overflow-x: auto;
}
.x7f69ca709e {
  width: 100%;
  border-collapse: collapse;
}
.x7f69ca709e th,
.x7f69ca709e td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.x7f69ca709e th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- bonuses ---------- */
.x72e6fe2daa {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.xf29656e9e4 {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color 0.12s,
    transform 0.14s;
}
.xf29656e9e4:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.xf6634b1305 {
  font-size: 17px;
  margin: 0;
}
.x5366a97060 {
  margin: 0;
}
.xd5b2f56820 {
  font-weight: 900;
  font-size: 22px;
  color: var(--accent-text);
}
.xd8d23be950 {
  color: var(--muted);
  margin: 0 6px;
}
.xc1b81beb8c {
  font-weight: 800;
}
.xeada59f53f {
  color: var(--muted-2);
  font-size: 14px;
}
.xc5f3a33314 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.xc5f3a33314 li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.xc5f3a33314 span {
  color: var(--muted);
}
.x62d2836ad0 {
  color: var(--accent-text);
}

/* ---------- toc ---------- */
.x882acc6d1d {
  padding: 6px 0 16px;
}
.x66f739b472 {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 14px 18px;
}
.xae563babec {
  font-weight: 800;
  margin: 0 0 8px;
}
.xe75a4d96a5 {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 4px;
}
.x3d1a2d8135 {
  color: var(--accent-text);
}
.x3d1a2d8135:hover {
  text-decoration: underline;
}

/* ---------- cta strip ---------- */
.x9f14a2c9fd {
  margin: 30px 0;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2);
}
.xebcb429a84 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
}
.x1e5d2b0942 {
  margin: 0;
  font-size: 20px;
}
.xde1bd0eb50 {
  margin: 4px 0 0;
  color: var(--muted-2);
}

/* ---------- footer ---------- */
/* The lobby (hero/pills/grid) runs full-bleed across the main column, so the
   footer does too: .main already supplies the side padding, so footer content
   sits flush with the grid above it. */
.x1e1a98049d {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted-2);
}
.x000852c50f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.xc692c125a8 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.x12acd2e7b8 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.x12acd2e7b8 a {
  color: var(--muted-2);
  font-size: 14px;
}
.x12acd2e7b8 a:hover {
  color: var(--text);
}
.x79fa6df866 {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.x73c9427d70 {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 10px;
}
.xbaeb5f0d0d {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  max-width: 760px;
  margin: 0 auto;
}
/* Chips sit on the page surface tone, not on a fixed white holder: the badge
   set is site data (settings.paymentAssets / trustAssets), so the holder must
   stay neutral against whatever palette the site carries. */
.x9bb150b94e {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.x9bb150b94e img {
  height: 18px;
  width: auto;
  object-fit: contain;
}
.x16a0c430a1 {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.x4a1e82cd8e {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
}

/* ===========================================================================
   Responsive — the sidebar collapses to a drawer at <=960px. The drawer is
   position: fixed against the viewport, and its OPEN state is the data-open
   attribute the JS sets (never a class).
   =========================================================================== */
@media (max-width: 1200px) {
  .xf5760dc921 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 960px) {
  .xd29226d3d8 {
    display: block;
  }
  .x506b97f1df {
    display: flex;
  }
  .xc71548948c {
    display: inline-flex;
  }
  /* login/register live on the topbar on mobile — drop the duplicate pair from
     inside the drawer so they are out of the menu. (The desktop sidebar keeps them.) */
  .x1c9086b07b {
    display: none;
  }
  .x118cb955c3 {
    position: fixed;
    inset: 0;
    z-index: 60;
    height: 100vh;
    height: 100dvh;
    width: min(86vw, 320px);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: 0 0 40px var(--shadow);
  }
  .x118cb955c3[data-open='true'] {
    transform: translateX(0);
  }
  .xd2c81b03ee {
    padding: 16px 18px 36px;
  }
  .x129da1010a {
    grid-template-columns: 1fr;
  }
  .xf5760dc921 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .x472d1eebb7,
  .x2cc815016e {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }
  .xebcb429a84 {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .xf5760dc921 {
    grid-template-columns: repeat(2, 1fr);
  }
  .x2c3360f1c4 {
    gap: 8px;
  }
  .x4ca8a777bc {
    padding: 9px 14px;
    font-size: 12px;
  }
}
