/* live-casino.css — Live Casino lobby, cloned from the home casino lobby.
 * Injected IN-FLOW by live-casino.js as a child of the home content column,
 * right after the slideshow. It therefore inherits the page's horizontal
 * padding and scrolls with the document exactly like the home page (slideshow +
 * sidebar + grid move together — nothing is fixed or scroll-locked). Accent +
 * background follow the active theme via --color-primary / --bgColor. */

#gx-livecasino-page {
  --lc-accent: var(--color-primary, #ebcf47);
  --lc-bg: var(--bgColor, #0a1929);
  --lc-card: #161e2e;
  --lc-elevated: #1e2738;
  --lc-input: #131b28;
  --lc-border: #253348;
  --lc-text: #e8e8ee;
  --lc-muted: #7888a0;
  position: static;                   /* in document flow — scrolls with the page */
  width: 100%;
  background: transparent;            /* show the page background behind, like home */
  color: var(--lc-text);
  font-family: Inter, 'Maven Pro', system-ui, sans-serif;
  padding: 0 0 64px;                  /* horizontal padding inherited from the home column */
}

/* injected LIVE CASINO nav tab — active highlight while on /live-casino */
#gx-livecasino-nav.gx-lc-navactive { color: var(--color-primary, #ebcf47) !important; }
#gx-livecasino-nav.gx-lc-navactive * { color: inherit !important; }

/* ── top toolbar: search + provider + category icons (single row) ── */
#gx-livecasino-page .gx-lc-top {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 0 12px; flex-wrap: nowrap;   /* single row: search + provider + category icons */
}
#gx-livecasino-page .gx-lc-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--lc-input); border: 1px solid var(--lc-border);
  border-radius: 8px; padding: 0 10px; width: 200px; flex: none;
  height: 38px; box-sizing: border-box;   /* match the provider select height exactly */
}
#gx-livecasino-page .gx-lc-search-ic { color: var(--lc-muted); flex: none; }
#gx-livecasino-page .gx-lc-search input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--lc-text); font-size: 13px;
}
#gx-livecasino-page .gx-lc-search input::placeholder { color: var(--lc-muted); opacity: 1; }
#gx-livecasino-page .gx-lc-prov {
  flex: none; width: 190px; min-width: 190px; max-width: 190px;   /* pin width — a global select{width:100%} would blow it out otherwise */
  background: var(--lc-input); color: var(--lc-text);
  border: 1px solid var(--lc-border); border-radius: 8px;
  padding: 0 10px; font-size: 13px; outline: none; cursor: pointer;
  height: 38px; box-sizing: border-box;   /* same height as the search box → both sit on one line */
  margin: 0;   /* kill the UA/global select margin-bottom (~9.75px) that pushed it ~5px above the search box in the centered flex row */
}
#gx-livecasino-page .gx-lc-prov option { background: var(--lc-card); color: var(--lc-text); }
#gx-livecasino-page .gx-lc-spacer { display: none; }   /* keep search + provider + icons grouped on one line */

#gx-livecasino-page .gx-lc-cats {
  display: flex; align-items: center; gap: 2px;
  flex: 0 1 auto; min-width: 0; margin-left: auto;   /* push icons to the right edge of the row */
  overflow-x: auto;                                  /* scroll the icons only if the row gets too tight */
}
#gx-livecasino-page .gx-lc-cat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 12px; min-width: 64px; border: none; cursor: pointer;
  background: transparent; border-radius: 10px; color: var(--lc-muted);
  transition: background .15s, color .15s;
}
#gx-livecasino-page .gx-lc-cat-ic { font-size: 30px; line-height: 1; transition: transform .2s ease; }
#gx-livecasino-page .gx-lc-cat-lb { font-size: .6rem; font-weight: 600; white-space: nowrap; }
#gx-livecasino-page .gx-lc-cat:hover .gx-lc-cat-ic { transform: scale(1.3) translateY(-2px); }
#gx-livecasino-page .gx-lc-cat.active {
  color: var(--lc-accent);
  background: color-mix(in srgb, var(--lc-accent) 12%, transparent);
}
#gx-livecasino-page .gx-lc-cat.active .gx-lc-cat-ic {
  filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--lc-accent) 40%, transparent));
}

/* ── section title ── */
#gx-livecasino-page .gx-lc-title {
  padding: 6px 0 14px; font-size: 1.1rem; font-weight: 700;
  color: var(--lc-text); text-transform: uppercase; letter-spacing: .05em;
}

/* ── game grid (clone of CasinoPage: lg 6 cols, gap 16) ── */
#gx-livecasino-page .gx-lc-grid {
  display: grid; gap: 16px; padding: 0;
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1200px) { #gx-livecasino-page .gx-lc-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { #gx-livecasino-page .gx-lc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { #gx-livecasino-page .gx-lc-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── game card ── */
#gx-livecasino-page .gx-lc-card { position: relative; cursor: pointer; transition: transform .2s; }
#gx-livecasino-page .gx-lc-card:hover { transform: translateY(-4px); }
#gx-livecasino-page .gx-lc-thumb {
  position: relative;                      /* anchor for badge / fav / hover overlays */
  background: var(--lc-elevated); border-radius: 12px; overflow: hidden;
  line-height: 0;                          /* remove inline-image baseline gap */
}
#gx-livecasino-page .gx-lc-thumb img {
  display: block; width: 100%; height: auto;   /* keep the thumbnail's original ratio — no crop */
}
#gx-livecasino-page .gx-lc-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--lc-accent); color: #000; font-size: .62rem; font-weight: 700;
  padding: 2px 7px; border-radius: 5px; letter-spacing: .03em;
}
#gx-livecasino-page .gx-lc-fav {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 30px; height: 30px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(0,0,0,.35); color: rgba(255,255,255,.7); font-size: 15px; line-height: 1;
}
#gx-livecasino-page .gx-lc-fav:hover { background: rgba(0,0,0,.55); }
#gx-livecasino-page .gx-lc-fav.is-fav { color: #ff1744; }
#gx-livecasino-page .gx-lc-hover {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(0,0,0,.65); opacity: 0; transition: opacity .2s;
}
#gx-livecasino-page .gx-lc-card:hover .gx-lc-hover { opacity: 1; }
#gx-livecasino-page .gx-lc-play, #gx-livecasino-page .gx-lc-demo {
  min-width: 110px; padding: 9px 22px; border-radius: 8px; font-weight: 700; font-size: .9rem;
  cursor: pointer; letter-spacing: .04em;
}
#gx-livecasino-page .gx-lc-play { background: var(--lc-accent); color: #000; border: none; }
#gx-livecasino-page .gx-lc-play:hover { filter: brightness(1.08); }
#gx-livecasino-page .gx-lc-demo { background: transparent; color: #fff; border: 2px solid #fff; }
#gx-livecasino-page .gx-lc-demo:hover { border-color: var(--lc-accent); color: var(--lc-accent); }
/* ── show more ── */
#gx-livecasino-page .gx-lc-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
#gx-livecasino-page .gx-lc-more {
  background: transparent; border: 1px solid var(--lc-accent); color: var(--lc-accent);
  border-radius: 10px; padding: 10px 32px; font-weight: 600; font-size: .85rem;
  text-transform: uppercase; cursor: pointer;
}
#gx-livecasino-page .gx-lc-more:hover { background: color-mix(in srgb, var(--lc-accent) 10%, transparent); }

/* ── states ── */
#gx-livecasino-page .gx-lc-loading,
#gx-livecasino-page .gx-lc-empty { padding: 60px 0; text-align: center; color: var(--lc-muted); font-size: .95rem; }
