/* ===========================================================================
   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) ---------- */
.x1b64b26491 p {
  margin: 0 0 1em;
}
.x1b64b26491 a {
  color: var(--accent-text);
  text-decoration: underline;
}
.x1b64b26491 h3 {
  margin-top: 1.2em;
}
.x1b64b26491 ul,
.x1b64b26491 ol {
  padding-left: 1.3em;
}
.x1b64b26491 table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.x1b64b26491 th,
.x1b64b26491 td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.x1b64b26491 th {
  background: var(--surface);
}

/* ---------- buttons ---------- */
.x3eec191346 {
  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;
}
.x15129a366a {
  width: 100%;
}
.xa928314c5a {
  padding: 14px 30px;
  font-size: 16px;
}
.x5cf2cf15b9 {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 16px var(--accent-ring);
}
.x5cf2cf15b9:hover {
  background: var(--accent-2);
  box-shadow: 0 10px 22px var(--accent-ring);
  transform: translateY(-1px);
}
.xd7546ce6b6 {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.xd7546ce6b6:hover {
  border-color: var(--accent);
}

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

/* ---------- sidebar (= the page menu) ---------- */
.x1673876fb3 {
  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;
}
.x6e4914f824 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.xc257398598 {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: 0;
  color: var(--muted-2);
  cursor: pointer;
  padding: 4px;
}
.xa5c6140642 {
  margin: 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-2);
}

.xcfd8459a63 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.x687de9b459 {
  display: inline-flex;
  align-items: center;
}
.x218a435c37 {
  height: 40px;
  width: auto;
  max-width: 100%;
}
.x256a457be6 {
  height: 44px;
}
.x1673876fb3 .xcfd8459a63,
.x1673876fb3 .x687de9b459 {
  display: flex;
  width: 100%;
  justify-content: center;
}
.x1673876fb3 .x218a435c37 {
  height: 110px;
}
.x5d929de109 .x218a435c37 {
  height: 88px;
  max-width: 62vw;
}
.xa9aff688f8 {
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.xbfad9f7690 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.x25dd29e6c5 {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.x75e0cc233f {
  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. */
.x75e0cc233f:hover {
  background: var(--lift);
  color: var(--text);
}
.x75e0cc233f.x9a58dbe8c5 {
  background: var(--accent-soft);
  color: var(--text);
}

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

/* mobile topbar (brand + burger row, then login/register row) — hidden on desktop */
.x5d929de109 {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.x5f11901a39 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.x4cf7586963 {
  display: flex;
  gap: 8px;
}
.x4cf7586963 .x3eec191346 {
  flex: 1 1 0;
  padding: 10px 12px;
  font-size: 14px;
}
.x51d5b48466 {
  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. */
.x5d929de109[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. */
.xb0e2593ada {
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background-image: linear-gradient(135deg, var(--surface-2), var(--bg-2));
}
.x934400f8a5 {
  display: block;
  transition: filter 0.15s;
}
.x934400f8a5:hover {
  filter: brightness(1.05);
}
.x6340c64863 {
  display: block;
}
.x334ceb56bf {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- game-type pills ---------- */
.x9f5095514f {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 22px;
}
.xdba02faf6c {
  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;
}
.xdba02faf6c: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. */
.x7bc6bbec32 {
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
}
.x7bc6bbec32 svg {
  width: 16px;
  height: 16px;
}

/* ---------- lobby game-card grid ---------- */
.x2e96b7e57f {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 16px;
  margin-bottom: 30px;
}
.x22920a3efd {
  display: block;
}
.x484a5e807e {
  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;
}
.x4f66814b01 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x22920a3efd:hover .x484a5e807e {
  transform: translateY(-3px);
}
.x4ae326cb61 {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- brief: intro lead ---------- */
.xe4e9cd25a1 {
  margin: 8px 0 26px;
}
.xaaa660c918 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.x81276017de {
  grid-template-columns: 1fr;
}
.x2cedc65ad3 {
  font-size: clamp(28px, 4vw, 40px);
}
.x1181f0b7f4 {
  color: var(--muted-2);
  font-size: 16px;
}
.x1477c27fba {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  margin-top: 18px;
}
.x30097d6955 {
  margin-top: 18px;
}

.xe3cdb802cc {
  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;
}
.x3f0d7e6ebb {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.xe5f498d55a {
  font-size: 18px;
  font-weight: 700;
}

/* ---------- brief sections (text) ---------- */
.xb8281e60a6 {
  margin-bottom: 30px;
}
.x0ae566fb0b {
  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.x0ae566fb0b {
  font-size: calc(clamp(20px, 2.6vw, 26px) * 1.3);
}
.x467940c4c8 {
  display: flow-root;
}
.x0da7c2bcc5 {
  width: 38%;
  border-radius: var(--radius-sm);
  margin: 0 0 14px 18px;
  float: right;
}
.x4e8df4037f {
  float: left;
  margin: 0 18px 14px 0;
}

/* ---------- section heads (games/payments/bonuses/faq) ---------- */
.xcc3d57e3fc {
  padding: 6px 0;
}
.xa7f35da7b5 {
  margin-bottom: 18px;
}
.x929b6ca619 {
  text-align: center;
}
.xa6752c696c {
  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.xa6752c696c {
  font-size: calc(clamp(22px, 3vw, 28px) * 1.3);
}

/* ---------- brief games block (distinct from the lobby grid above) ---------- */
.xba98ed7014 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.xc1d7a947f7 {
  display: block;
}
.x30fb4c0686 {
  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;
}
.x30fb4c0686 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.x0a1a459bec {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 42px;
  color: var(--muted);
}
.xc1d7a947f7:hover .x30fb4c0686 {
  transform: translateY(-3px);
}
.x062a6468fe {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.x351fae0914 {
  font-size: 14px;
  font-weight: 600;
}
.x628b9a9bef {
  font-size: 12px;
  color: var(--muted);
}

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

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

/* ---------- bonuses ---------- */
.xd9959fb4be {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.x5ae35b774a {
  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;
}
.x5ae35b774a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.xe9a5eadcbf {
  font-size: 17px;
  margin: 0;
}
.xacb2ab2c00 {
  margin: 0;
}
.xd07b66cc3d {
  font-weight: 900;
  font-size: 22px;
  color: var(--accent-text);
}
.x6216428138 {
  color: var(--muted);
  margin: 0 6px;
}
.x0bc110cbfe {
  font-weight: 800;
}
.x0b2b38cac4 {
  color: var(--muted-2);
  font-size: 14px;
}
.xabc0e540ab {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.xabc0e540ab li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.xabc0e540ab span {
  color: var(--muted);
}
.x74adc770aa {
  color: var(--accent-text);
}

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

/* ---------- cta strip ---------- */
.x44ea64a557 {
  margin: 30px 0;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2);
}
.xbdce673cb9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
}
.x2a36ed95a6 {
  margin: 0;
  font-size: 20px;
}
.xd6bc9bf93b {
  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. */
.x45af8b898e {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted-2);
}
.x8cad5bd337 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.xda88287728 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.x1f50bc5d38 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.x1f50bc5d38 a {
  color: var(--muted-2);
  font-size: 14px;
}
.x1f50bc5d38 a:hover {
  color: var(--text);
}
.xe05b267ae4 {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.xe8c0a88765 {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 10px;
}
.x73b223843f {
  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. */
.xb33f57241b {
  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);
}
.xb33f57241b img {
  height: 18px;
  width: auto;
  object-fit: contain;
}
.x73f04ecaad {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.x87c0dafa89 {
  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) {
  .x2e96b7e57f {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 960px) {
  .x23c4a52f96 {
    display: block;
  }
  .x5d929de109 {
    display: flex;
  }
  .xc257398598 {
    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.) */
  .xb631bcdc63 {
    display: none;
  }
  .x1673876fb3 {
    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);
  }
  .x1673876fb3[data-open='true'] {
    transform: translateX(0);
  }
  .x3667f3405e {
    padding: 16px 18px 36px;
  }
  .xaaa660c918 {
    grid-template-columns: 1fr;
  }
  .x2e96b7e57f {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .x0da7c2bcc5,
  .x4e8df4037f {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }
  .xbdce673cb9 {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .x2e96b7e57f {
    grid-template-columns: repeat(2, 1fr);
  }
  .x9f5095514f {
    gap: 8px;
  }
  .xdba02faf6c {
    padding: 9px 14px;
    font-size: 12px;
  }
}
