:root {
  --bg: #07080c;
  --bg-2: #0c0f15;
  --panel: #13161d;
  --panel-2: #1b2029;
  --panel-3: #272e39;
  --border: rgba(255, 112, 77, .105);
  --border-2: rgba(89, 203, 232, .2);
  --text: #f8f5ef;
  --muted: #aca9a5;
  --muted-2: #747680;
  --neon: #ff704d;
  --neon-2: #59cbe8;
  --neon-3: #ff4d73;
  --gold: #ffc857;
  --danger: #ff4d73;
  --sidebar: 248px;
}

/* Palette-only overrides: dimensions and interaction remain in bocekbet.css. */
body.bb-shell .btn-primary {
  color: #1a0905;
  background: linear-gradient(135deg, #ff8a54, var(--neon-3));
  box-shadow: 0 7px 22px -7px rgba(255, 77, 115, .68);
}

body.bb-shell .btn-primary:hover {
  background: linear-gradient(135deg, #ff9a63, #ff5d82);
  box-shadow: 0 11px 30px -7px rgba(255, 77, 115, .78);
}

body.bb-shell .card:hover {
  border-color: var(--neon);
  box-shadow:
    0 18px 38px -18px rgba(255, 112, 77, .5),
    0 0 0 1px rgba(89, 203, 232, .08);
}

.bocek-logo .bocek-mark,
.modal-brand .brand-emblem {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 200, 87, .22);
  background: #090a0e;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .07) inset,
    0 8px 24px rgba(255, 77, 115, .2);
}

.bocek-logo .bocek-mark img,
.modal-brand .brand-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html,
body,
body.bb-shell {
  background: var(--bg);
}

body.bb-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 112, 77, .055), transparent 31%, rgba(89, 203, 232, .045) 57%, transparent 76%, rgba(255, 77, 115, .035)),
    linear-gradient(180deg, rgba(255, 200, 87, .045), transparent 280px),
    var(--bg);
}

.app {
  background: transparent;
}

/* Application shell */
.sidebar {
  width: var(--sidebar);
  padding: 18px 14px 16px;
  border-right-color: rgba(234, 244, 240, .075);
  background:
    linear-gradient(180deg, rgba(231, 198, 116, .035), transparent 180px),
    #0a1013;
  box-shadow: 18px 0 50px rgba(0, 0, 0, .2);
}

.sidebar::-webkit-scrollbar {
  width: 0;
}

.sb-logo.bocek-logo {
  padding-bottom: 17px;
}

.bb-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin: 0 4px 9px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #070c0f;
}

.bb-mode-switch > a,
.bb-mode-switch > span {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 45px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 750;
  transition: color .16s ease, background-color .16s ease;
}

.bb-mode-switch > a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .035);
}

.bb-mode-switch > a.active {
  color: var(--text);
  background: #162127;
  box-shadow:
    0 8px 18px -14px rgba(0, 0, 0, .9),
    0 1px 0 rgba(255, 255, 255, .045) inset;
}

.bb-mode-switch > a.active i {
  color: var(--neon);
}

.bb-mode-switch > span {
  cursor: default;
  opacity: .55;
}

.bb-mode-switch small {
  position: absolute;
  top: -3px;
  right: -2px;
  padding: 2px 4px;
  border-radius: 5px;
  color: #17140b;
  background: var(--gold);
  font-size: 7px;
  font-weight: 900;
}

.sidebar .sb-section {
  color: #718084;
}

.sidebar .sb-item:hover {
  color: var(--text);
  background: #111a1f;
}

.sidebar .sb-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 112, 77, .13), rgba(89, 203, 232, .025));
}

.bb-sidebar-foot {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding: 16px 10px 2px;
  border-top: 1px solid var(--border);
}

.bb-sidebar-foot span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.bb-sidebar-foot span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 9px rgba(255, 112, 77, .72);
}

.bb-sidebar-foot small {
  color: var(--muted-2);
  font-size: 10px;
}

.main {
  min-width: 0;
  background: transparent;
}

.topbar {
  position: sticky;
  min-height: 72px;
  padding: 13px 28px;
  border-bottom-color: var(--border);
  background:
    linear-gradient(90deg, rgba(255, 200, 87, .055), transparent 24%, rgba(255, 112, 77, .04) 48%, rgba(89, 203, 232, .04) 72%, rgba(255, 77, 115, .035)),
    rgba(6, 11, 13, .94);
  backdrop-filter: blur(20px) saturate(125%);
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--neon) 34%, var(--neon-2) 67%, var(--neon-3));
  box-shadow: 0 0 18px rgba(89, 203, 232, .34);
}

.lang,
.wallet,
.usermenu-btn,
.bell-btn {
  border-color: var(--border);
  background: #11191e;
}

.alert {
  min-height: 34px;
  padding: 8px 28px;
  border-bottom-color: rgba(89, 203, 232, .2);
  color: #d6e3e1;
  background:
    linear-gradient(90deg, rgba(255, 112, 77, .16), rgba(89, 203, 232, .09) 46%, rgba(255, 77, 115, .075) 76%, rgba(255, 200, 87, .08));
  font-size: 11.5px;
}

.content {
  max-width: 1580px;
  gap: 28px;
  padding: 24px 30px 38px;
}

/* Lobby command bar */
.bb-commandbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(89, 203, 232, .19);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 112, 77, .075), rgba(89, 203, 232, .045) 52%, rgba(255, 77, 115, .045)),
    #0d171a;
  box-shadow: 0 16px 38px -32px rgba(0, 0, 0, .85);
}

.bb-commandbar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--neon-2) 50%, var(--neon-3));
}

.bb-lobby-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  padding: 7px;
  scrollbar-width: none;
}

.bb-lobby-nav::-webkit-scrollbar {
  display: none;
}

.bb-lobby-nav a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: color .16s ease, background-color .16s ease;
}

.bb-lobby-nav a:hover {
  color: var(--text);
  background: #151f24;
}

.bb-lobby-nav a.active {
  color: var(--text);
  background: #19252a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .045) inset;
}

.bb-lobby-nav a.active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 2px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(255, 112, 77, .52);
}

.bb-lobby-nav a.active i {
  color: var(--neon);
}

.bb-game-search {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 0 8px 0 17px;
  border-left: 1px solid var(--border);
  background: #090f12;
  transition: box-shadow .16s ease;
}

.bb-game-search:focus-within {
  box-shadow: 3px 0 0 rgba(255, 112, 77, .52) inset;
}

.bb-game-search > i {
  color: var(--muted-2);
  font-size: 14px;
}

.bb-game-search input {
  min-width: 0;
  flex: 1;
  align-self: stretch;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 13.5px;
}

.bb-game-search input::placeholder {
  color: var(--muted-2);
}

.bb-game-search a {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  background: #151f24;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.bb-game-search a:hover {
  color: var(--neon);
  border-color: rgba(255, 112, 77, .4);
  background: #19262a;
}

/* Admin banner */
.bnslider {
  border-color: var(--border-2);
  background: var(--panel);
  box-shadow: 0 24px 54px -38px rgba(0, 0, 0, .9);
}

.bns-slide {
  height: 220px;
}

.bns-slide::before {
  background: linear-gradient(90deg, rgba(6, 10, 12, .9), rgba(7, 11, 13, .3) 65%, transparent);
}

.bns-ov {
  background: linear-gradient(90deg, rgba(6, 10, 12, .72), transparent);
}

/* Main lobby stage */
.bb-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, .85fr);
  gap: 14px;
}

.bb-hero .hero-main {
  min-height: 370px;
  padding: 46px;
  border-color: rgba(255, 200, 87, .3);
  background:
    linear-gradient(90deg, rgba(4, 8, 9, .98) 0%, rgba(6, 15, 15, .9) 43%, rgba(5, 11, 12, .2) 80%),
    url("/images/brand/home-hero-fire.jpg") 70% center / cover no-repeat,
    #101b1c;
  box-shadow:
    0 30px 70px -44px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 112, 77, .055),
    0 1px 0 rgba(255, 255, 255, .045) inset;
}

.bb-hero .hero-main::after {
  background:
    linear-gradient(180deg, transparent 58%, rgba(5, 9, 10, .34)),
    linear-gradient(112deg, rgba(255, 112, 77, .075), transparent 42%),
    linear-gradient(300deg, rgba(231, 198, 116, .055), transparent 38%);
}

.bb-hero .hero-copy {
  max-width: 520px;
}

.bb-hero .hero-copy h1 {
  letter-spacing: 0;
}

.bb-hero .hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--neon), #ffd39a 52%, var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
}

.bb-hero .hero-copy .tag {
  border-color: rgba(255, 112, 77, .38);
  color: #ffd7c7;
  background: linear-gradient(90deg, rgba(255, 112, 77, .15), rgba(89, 203, 232, .1));
  box-shadow: 0 0 20px rgba(255, 112, 77, .08);
}

.bb-hero .hero-side {
  gap: 14px;
}

.bb-hero .hero-card {
  min-height: 0;
  justify-content: flex-end;
  padding: 23px;
  border-color: var(--border-2);
  background: #121b20;
  box-shadow:
    0 20px 42px -34px rgba(0, 0, 0, .9),
    0 1px 0 rgba(255, 255, 255, .04) inset;
}

.bb-hero .hero-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  opacity: .8;
}

.bb-hero .hero-card.c1 {
  background:
    linear-gradient(90deg, rgba(12, 18, 21, .99), rgba(12, 18, 21, .93) 57%, rgba(12, 18, 21, .42)),
    url("/images/brand/promotions-hero-fire.jpg") 79% center / cover no-repeat,
    #121a1e;
}

.bb-hero .hero-card.c1::after {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(231, 198, 116, .42);
}

.bb-hero .hero-card.c2 {
  background:
    linear-gradient(90deg, rgba(11, 18, 21, .99), rgba(11, 18, 21, .93) 57%, rgba(11, 18, 21, .42)),
    url("/images/brand/auth-register-fire.jpg") 76% 32% / cover no-repeat,
    #111a1f;
}

.bb-hero .hero-card.c2::after {
  background: var(--neon-2);
  box-shadow: 0 0 12px rgba(89, 203, 232, .42);
}

.bb-hero .hero-card h3 {
  max-width: 78%;
  letter-spacing: 0;
}

.bb-offer-kicker {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.bb-hero .bb-offer-no {
  position: absolute;
  top: 17px;
  left: 20px;
  display: block;
  color: rgba(255, 255, 255, .28);
  font-size: 11px;
  font-weight: 900;
}

.bb-hero .bb-offer-go {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border-2);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(6, 10, 12, .55);
}

.bb-hero .hero-card:hover .bb-offer-go {
  color: var(--neon);
  border-color: var(--neon);
}

.bb-hero .hero-card .big {
  right: -4px;
  bottom: -16px;
  opacity: .11;
}

/* Live proof and account stats */
.winticker {
  border-color: var(--border-2);
  background: #0e161a;
  box-shadow: 0 16px 34px -30px rgba(0, 0, 0, .9);
}

.wt-label {
  color: #0a1210;
  background: linear-gradient(135deg, var(--gold), #cfac53);
}

.wt-pill {
  border-color: var(--border);
  background: #090f12;
}

.bb-lobby .stats {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(89, 203, 232, .16);
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(255, 112, 77, .08), rgba(89, 203, 232, .055) 54%, rgba(255, 77, 115, .06)),
    #0f171b;
}

.bb-lobby .stats::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--neon), var(--neon-2), var(--neon-3));
}

.bb-lobby .stat {
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bb-lobby .stat:last-child {
  border-right: 0;
}

.bb-lobby .stat .v {
  white-space: nowrap;
}

/* Game and provider shelves */
.bb-shelf {
  min-width: 0;
}

.bb-lobby .section-head {
  position: relative;
  margin-bottom: 9px;
  padding: 0 2px 12px;
  border-bottom: 1px solid var(--border);
}

.bb-lobby .section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: min(180px, 42%);
  height: 2px;
  background: linear-gradient(90deg, var(--neon-3), var(--gold), var(--neon-2));
  box-shadow: 0 0 12px rgba(89, 203, 232, .22);
}

.bb-lobby .section-head h2 {
  letter-spacing: 0;
}

.bb-lobby .bb-shelf .grid.slots {
  display: grid;
  grid-auto-columns: clamp(158px, 12.8vw, 190px);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 13px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-right: -30px;
  padding: 7px 30px 21px 2px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.bb-lobby .bb-shelf .grid.slots::-webkit-scrollbar {
  display: none;
}

.bb-lobby .bb-shelf .grid.slots .card {
  min-width: 0;
  scroll-snap-align: start;
}

.bb-lobby .prov-row {
  display: grid;
  grid-auto-columns: clamp(142px, 12vw, 180px);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  margin-right: -30px;
  padding: 4px 30px 13px 2px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.bb-lobby .prov-row::-webkit-scrollbar {
  display: none;
}

.bb-lobby .prov {
  min-height: 88px;
  scroll-snap-align: start;
  border-color: var(--border);
  background: #11191e;
}

.bb-lobby .prov:hover {
  background: #18242a;
}

.bb-activity .live {
  border-color: var(--border);
  background: #0f171b;
  box-shadow: 0 22px 46px -38px rgba(0, 0, 0, .9);
}

.bb-activity .live-row.head {
  background: #0a1013;
}

.bb-activity .live-row:not(.head) {
  border-bottom-color: var(--border);
}

.bb-activity .live-row:not(.head):hover {
  background: rgba(89, 203, 232, .035);
}

/* Game catalog */
.bb-catalog-page {
  gap: 25px;
}

.bb-catalog-page .slot-head {
  position: relative;
  min-height: 198px;
  align-items: center;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, .99), rgba(7, 11, 13, .91) 46%, rgba(7, 11, 13, .22)),
    url("/images/brand/slots-hero-fire.jpg") right center / cover no-repeat,
    #0f171b;
  box-shadow: 0 28px 64px -46px rgba(0, 0, 0, .95);
}

.bb-catalog-page .slot-head > * {
  position: relative;
  z-index: 1;
}

.bb-live-page .slot-head {
  background:
    linear-gradient(90deg, rgba(7, 11, 13, .99), rgba(7, 11, 13, .91) 46%, rgba(7, 11, 13, .2)),
    url("/images/brand/live-hero-fire.jpg") right center / cover no-repeat,
    #0f171b;
}

.bb-catalog-page .slot-head::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--neon), var(--neon-2));
}

.bb-catalog-page .page-title {
  letter-spacing: 0;
}

.bb-catalog-page .slot-search {
  min-width: min(330px, 100%);
}

.bb-catalog-page .slot-search input {
  border-color: var(--border-2);
  background: #090f12;
}

.bb-catalog-page .slot-tabs {
  padding: 2px 0 4px;
}

.bb-catalog-page > .grid.slots,
.bb-live-page .grid.slots {
  gap: 14px;
}

.bb-live-page > section:not(.slot-head) {
  padding-top: 3px;
}

.lc-card.no-img,
.lc-card.no-img .slot-fallback {
  background:
    linear-gradient(150deg, rgba(89, 203, 232, .075), transparent 52%),
    #11191e;
}

/* Promotions */
.promo-page {
  gap: 23px;
}

.promo-hero {
  display: grid;
  min-height: 320px;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  padding: 42px 46px;
  border-color: rgba(231, 198, 116, .18);
  text-align: left;
  background:
    linear-gradient(90deg, rgba(4, 8, 9, .98), rgba(7, 16, 16, .87) 54%, rgba(6, 11, 12, .18)),
    url("/images/brand/promotions-hero-fire.jpg") 73% 58% / cover no-repeat;
  box-shadow: 0 30px 70px -46px rgba(0, 0, 0, .95);
}

.promo-hero::after {
  background:
    linear-gradient(110deg, rgba(255, 112, 77, .07), transparent 46%),
    linear-gradient(310deg, rgba(231, 198, 116, .055), transparent 40%);
}

.promo-hero h1 {
  letter-spacing: 0;
}

.promo-hero-copy {
  position: relative;
  z-index: 1;
}

.promo-hero p {
  margin-right: 0;
  margin-left: 0;
}

.promo-hero-count {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 148px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.promo-hero-count strong {
  color: var(--gold);
  font-size: 68px;
  font-weight: 900;
  line-height: .9;
}

.promo-hero-count span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-filter {
  justify-content: flex-start;
}

.promo-page .promo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.promo-page .promo-card {
  grid-column: span 4;
  min-width: 0;
  border-color: var(--border);
  background: #11191e;
  box-shadow: 0 18px 42px -34px rgba(0, 0, 0, .9);
}

.promo-page .promo-card.is-featured {
  grid-column: span 8;
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .72fr);
}

.promo-page .promo-card.is-featured .promo-card-media {
  min-height: 100%;
  aspect-ratio: auto;
}

.promo-page .promo-card.is-featured .promo-card-body {
  justify-content: center;
  padding: 30px;
  border-left: 1px solid var(--border);
}

.promo-page .promo-card.is-featured .promo-card-body h3 {
  font-size: 21px;
}

.promo-page .promo-card-body h3 {
  letter-spacing: 0;
}

.promo-index {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  color: rgba(255, 255, 255, .7);
  font-size: 24px;
  font-weight: 900;
}

/* Shared product surfaces */
.stat,
.prov,
.live,
.legal-body,
.modal,
.promo-card {
  border-color: var(--border);
  background: #11191e;
  box-shadow: 0 18px 42px -34px rgba(0, 0, 0, .88);
}

.wallet-balance-card,
.prf-card,
.prf-sc,
.wt-card,
.wt-stat,
.bns-active,
.bns-item,
.vip-hero,
.vip-card,
.vip-tiers,
.ref-hero,
.ref-card,
.shop-hero,
.shop-card,
.shop-red,
.bc-hero,
.bc-card,
.dk-hero,
.dk-card,
.pg-hero,
.legal-body,
.game-area {
  border-color: var(--border-2);
  background: #11191e;
}

.prf-kv,
.bns-stat,
.ref-linkbox,
.bc-claims,
.dk-item {
  border-color: var(--border);
  background: #0a1114;
}

.input-wrap,
.prf-field input {
  border-color: var(--border-2);
  background: #090f12;
}

.modal {
  background:
    linear-gradient(155deg, rgba(89, 203, 232, .035), transparent 45%),
    #11191e;
}

.usermenu-drop,
.bell-drop {
  border-color: var(--border-2);
  background: #151f24;
}

.usermenu-drop a:hover,
.usermenu-drop button:hover,
.bell-item:hover {
  background: var(--panel-2);
}

.footer {
  border-top-color: var(--border);
  background: #080d10;
}

.foot-bottom {
  border-top-color: var(--border);
}

.mobile-nav {
  background: rgba(8, 13, 16, .97);
  border-top-color: var(--border-2);
}

@media (min-width: 1500px) {
  .bb-catalog-page > .grid.slots,
  .bb-live-page .grid.slots {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .bb-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  }

  .bb-hero .hero-main {
    padding: 38px;
  }

  .bb-lobby .bb-shelf .grid.slots {
    grid-auto-columns: 165px;
  }

  .promo-page .promo-card.is-featured {
    grid-column: span 12;
  }

  .promo-page .promo-card:not(.is-featured) {
    grid-column: span 6;
  }
}

@media (max-width: 1050px) {
  .bb-commandbar {
    grid-template-columns: 1fr;
  }

  .bb-game-search {
    min-height: 50px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .bb-game-search:focus-within {
    box-shadow: 0 3px 0 rgba(255, 112, 77, .52) inset;
  }

  .bb-hero {
    grid-template-columns: 1fr;
  }

  .bb-hero .hero-side {
    flex-direction: row;
  }

  .bb-hero .hero-card {
    min-height: 165px;
  }

  .bb-lobby .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-lobby .stat:nth-child(2) {
    border-right: 0;
  }

  .bb-lobby .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: min(86vw, 310px);
    background: #090f12;
  }

  .topbar {
    min-height: 64px;
    padding: 10px 12px;
  }

  .alert {
    padding: 7px 14px;
  }

  .content {
    gap: 23px;
    padding: 14px 14px 92px;
  }

  .bb-commandbar {
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .bb-lobby-nav {
    padding: 7px 14px;
  }

  .bb-lobby-nav a {
    min-height: 38px;
    padding: 8px 12px;
  }

  .bb-game-search {
    margin: 0 14px 10px;
    border: 1px solid var(--border);
    border-radius: 11px;
  }

  .bb-game-search:focus-within {
    border-color: rgba(255, 112, 77, .45);
    box-shadow: 0 0 0 3px rgba(255, 112, 77, .07);
  }

  .bns-slide {
    height: 174px;
  }

  .bb-hero .hero-main {
    min-height: 370px;
    padding: 29px 22px;
    background:
      linear-gradient(180deg, rgba(5, 10, 11, .25), rgba(5, 10, 11, .96) 79%),
      url("/images/brand/home-hero-fire.jpg") 68% center / cover no-repeat;
  }

  .bb-hero .hero-main::before {
    background: linear-gradient(180deg, rgba(5, 10, 11, .04), rgba(5, 10, 11, .22));
  }

  .bb-hero .hero-copy {
    max-width: 100%;
  }

  .bb-hero .hero-copy h1 {
    font-size: 31px;
  }

  .bb-hero .hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bb-hero .hero-card {
    min-height: 168px;
    padding: 18px;
  }

  .bb-hero .hero-card h3 {
    max-width: 86%;
    font-size: 16px;
  }

  .bb-hero .hero-card p {
    font-size: 11px;
  }

  .bb-offer-kicker {
    margin-bottom: 9px;
    font-size: 8.5px;
  }

  .bb-hero .bb-offer-no {
    top: 13px;
    left: 16px;
  }

  .bb-hero .hero-card::after {
    top: 15px;
    right: 15px;
    width: 34px;
  }

  .bb-hero .bb-offer-go {
    right: 13px;
    bottom: 13px;
    width: 29px;
    height: 29px;
  }

  .bb-lobby .stat {
    padding: 14px;
  }

  .bb-lobby .stat .v {
    font-size: 18px;
  }

  .bb-lobby .bb-shelf .grid.slots {
    grid-auto-columns: 142px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .bb-lobby .prov-row {
    grid-auto-columns: 132px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .bb-catalog-page .slot-head {
    align-items: stretch;
    padding: 19px 18px;
  }

  .bb-catalog-page .slot-search {
    width: 100%;
  }

  .promo-hero {
    min-height: 370px;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 31px 22px;
    background:
      linear-gradient(180deg, rgba(5, 10, 11, .22), rgba(5, 10, 11, .96) 74%),
      url("/images/brand/promotions-hero-fire.jpg") 67% center / cover no-repeat;
  }

  .promo-hero-count {
    display: none;
  }

  .promo-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: none;
  }

  .promo-filter::-webkit-scrollbar {
    display: none;
  }

  .promo-filter > * {
    flex: 0 0 auto;
  }

  .promo-page .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-page .promo-card,
  .promo-page .promo-card.is-featured,
  .promo-page .promo-card:not(.is-featured) {
    grid-column: span 1;
  }

  .promo-page .promo-card.is-featured {
    display: flex;
    min-height: 0;
  }

  .promo-page .promo-card.is-featured .promo-card-media {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .promo-page .promo-card.is-featured .promo-card-body {
    justify-content: flex-start;
    padding: 22px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .promo-page .promo-card.is-featured .promo-card-body h3 {
    font-size: 17px;
  }

  .footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 430px) {
  .bb-mode-switch > a,
  .bb-mode-switch > span {
    min-height: 43px;
  }

  .bb-hero .hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .bb-hero .hero-card p {
    display: none;
  }

  .bb-lobby .stat {
    gap: 10px;
    padding: 12px;
  }

  .bb-lobby .stat .ic {
    width: 38px;
    height: 38px;
  }

  .bb-lobby .stat .v {
    font-size: 16px;
  }
}

/* Top-navigation arena shell */
.bb-topnav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 3px;
}

.bb-topnav a,
.bb-topnav button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .16s ease, background-color .16s ease;
}

.bb-topnav a:hover,
.bb-topnav button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .045);
}

.bb-topnav a.active {
  color: #fff;
  background: rgba(255, 112, 77, .075);
}

.bb-topnav a.active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 2px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(255, 112, 77, .55);
}

.bb-topnav a.active i {
  color: var(--neon);
}

.bb-topnav button {
  width: 42px;
  flex: 0 0 42px;
  padding: 0;
  color: var(--neon-2);
}

.bb-hero-facts {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: #b8b3b1;
  font-size: 11px;
  font-weight: 650;
}

.bb-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.bb-hero-facts i {
  color: var(--gold);
}

.support-fab {
  display: none;
}

@media (min-width: 761px) {
  .sidebar {
    display: none;
  }

  .app,
  .main {
    width: 100%;
  }

  .topbar {
    min-height: 78px;
    gap: 18px;
    padding: 13px max(28px, calc((100vw - 1500px) / 2));
    border-bottom-color: rgba(234, 244, 240, .1);
    background:
      linear-gradient(90deg, rgba(231, 198, 116, .025), transparent 28%),
      rgba(7, 10, 12, .94);
  }

  .topbar-logo.bocek-logo {
    display: flex;
    flex: 0 0 auto;
    margin-right: 10px;
  }

  .topbar-logo.bocek-logo .bocek-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .topbar-logo.bocek-logo .bocek-word {
    font-size: 16px;
  }

  .content {
    max-width: 1500px;
    align-self: center;
    padding: 28px 32px 44px;
  }

  .alert {
    padding-right: max(30px, calc((100vw - 1440px) / 2));
    padding-left: max(30px, calc((100vw - 1440px) / 2));
  }

  .bb-lobby {
    gap: 31px;
  }

  .bb-hero {
    display: block;
    position: relative;
  }

  .bb-hero .hero-main {
    min-height: 468px;
    padding: 58px 58px 106px;
    background:
      linear-gradient(90deg, rgba(3, 7, 8, .99) 0%, rgba(5, 14, 14, .9) 36%, rgba(5, 11, 12, .32) 67%, rgba(4, 8, 9, .08) 100%),
      linear-gradient(180deg, transparent 55%, rgba(4, 8, 9, .48)),
      url("/images/brand/home-hero-fire.jpg") 74% 49% / cover no-repeat,
      #101b1c;
  }

  .bb-hero .hero-main::after {
    background:
      linear-gradient(180deg, transparent 56%, rgba(4, 8, 9, .55)),
      linear-gradient(112deg, rgba(255, 112, 77, .08), transparent 39%),
      linear-gradient(305deg, rgba(231, 198, 116, .075), transparent 36%);
  }

  .bb-hero .hero-copy {
    max-width: 610px;
  }

  .bb-hero .hero-copy h1 {
    max-width: 600px;
    font-size: 50px;
    line-height: 1.02;
  }

  .bb-hero .hero-copy p {
    max-width: 500px;
    font-size: 15.5px;
  }

  .bb-hero .hero-side {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: -62px 34px 0;
  }

  .bb-hero .hero-card {
    min-height: 126px;
    justify-content: center;
    padding: 22px 82px 22px 24px;
    border-color: rgba(234, 244, 240, .15);
    background-color: rgba(14, 22, 25, .96);
    backdrop-filter: blur(18px) saturate(120%);
  }

  .bb-hero .hero-card h3 {
    max-width: none;
    margin-bottom: 4px;
    font-size: 18px;
  }

  .bb-hero .hero-card p {
    max-width: 360px;
  }

  .bb-offer-kicker {
    margin-bottom: 7px;
  }

  .bb-hero .hero-card .big {
    right: 25px;
    bottom: 12px;
    font-size: 78px;
    opacity: .1;
  }

  .bb-hero .bb-offer-go {
    right: 18px;
    bottom: 17px;
  }

  .bb-lobby .stats {
    overflow: visible;
    border-width: 1px 0;
    border-radius: 0;
    background: transparent;
  }

  .bb-lobby .stat {
    min-height: 82px;
    padding: 16px 24px;
  }

  .bb-commandbar {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
    border-color: rgba(234, 244, 240, .11);
    background:
      linear-gradient(90deg, rgba(255, 112, 77, .028), transparent 40%),
      #0d1418;
  }

  .bb-lobby .bb-shelf .grid.slots {
    grid-auto-columns: clamp(168px, 12.7vw, 196px);
    margin-right: -32px;
    padding-right: 32px;
  }

  .bb-lobby .prov-row {
    margin-right: -32px;
    padding-right: 32px;
  }

  .promo-hero {
    min-height: 360px;
    padding: 48px 54px;
  }

  .bb-catalog-page .slot-head {
    padding: 25px 28px;
  }

  .footer {
    padding-right: max(30px, calc((100vw - 1440px) / 2));
    padding-left: max(30px, calc((100vw - 1440px) / 2));
  }
}

@media (min-width: 1100px) {
  .bb-catalog-page > .grid.slots,
  .bb-live-page .grid.slots {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .bb-catalog-page > .grid.slots,
  .bb-live-page .grid.slots {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .topbar {
    gap: 10px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .topbar-logo.bocek-logo {
    margin-right: 2px;
  }

  .bb-topnav a {
    gap: 6px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11.5px;
  }

  .bb-hero .hero-main {
    min-height: 440px;
    padding-right: 44px;
    padding-left: 44px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .bb-topnav a:nth-child(4),
  .bb-topnav a:nth-child(5) {
    display: none;
  }

  .bb-hero .hero-copy h1 {
    font-size: 44px;
  }
}

@media (max-width: 760px) {
  .bb-topnav {
    display: none;
  }

  .bb-hero-facts {
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 22px;
    font-size: 10px;
  }

  .bb-hero {
    display: block;
  }

  .bb-hero .hero-main {
    min-height: 410px;
    padding-bottom: 74px;
  }

  .bb-hero .hero-side {
    position: relative;
    z-index: 3;
    margin: -38px 10px 0;
  }

  .bb-commandbar {
    margin-right: 0;
    margin-left: 0;
    border: 1px solid var(--border);
    border-radius: 13px;
  }

  .bb-lobby-nav {
    padding-right: 9px;
    padding-left: 9px;
  }
}

@media (max-width: 430px) {
  .bb-hero-facts span:nth-child(2) {
    display: none;
  }

  .bb-hero .hero-main {
    min-height: 400px;
  }

  .bb-hero .hero-side {
    margin-right: 0;
    margin-left: 0;
  }
}

/* Image-led authentication */
#loginModal,
#registerModal {
  align-items: center;
  padding: 24px;
}

.bb-auth-modal {
  position: relative;
  display: grid;
  width: min(860px, 100%);
  height: auto;
  max-width: 860px;
  max-height: calc(100dvh - 48px);
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
  border-color: rgba(89, 203, 232, .27);
  background: #091114;
  box-shadow:
    0 44px 110px -32px rgba(0, 0, 0, .96),
    0 0 42px -28px rgba(89, 203, 232, .72),
    0 1px 0 rgba(255, 255, 255, .05) inset;
}

.bb-auth-modal::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--neon) 36%, var(--neon-2) 68%, var(--neon-3));
}

.bb-auth-register {
  width: min(1040px, 100%);
  max-width: 1040px;
  grid-template-columns: minmax(280px, 315px) minmax(0, 1fr);
}

.bb-auth-art {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 200, 87, .24);
  background-color: #081012;
  background-position: center;
  background-size: cover;
}

.bb-auth-login .bb-auth-art {
  background-image: url("/images/brand/auth-login-fire.jpg");
  background-position: center 34%;
}

.bb-auth-register .bb-auth-art {
  background-image: url("/images/brand/auth-register-fire.jpg");
  background-position: center 28%;
}

.bb-auth-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 9, .02) 35%, rgba(4, 7, 9, .34) 68%, rgba(4, 7, 9, .96)),
    linear-gradient(90deg, rgba(4, 7, 9, .08), transparent 45%),
    linear-gradient(135deg, rgba(255, 112, 77, .08), transparent 42%, rgba(89, 203, 232, .08) 72%, rgba(255, 77, 115, .07));
}

.bb-auth-art-copy {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  z-index: 1;
}

.bb-auth-art-copy span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--neon);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.bb-auth-register .bb-auth-art-copy span {
  color: var(--gold);
}

.bb-auth-art-copy strong {
  display: block;
  max-width: 260px;
  color: #fff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.16;
}

.bb-auth-form {
  position: relative;
  display: flex;
  min-width: 0;
  max-height: calc(100dvh - 48px);
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: 30px 36px;
  background:
    linear-gradient(145deg, rgba(89, 203, 232, .085), transparent 38%),
    linear-gradient(315deg, rgba(255, 77, 115, .045), transparent 42%),
    #0c1619;
}

.bb-auth-register .bb-auth-form {
  justify-content: flex-start;
  padding: 24px 30px 26px;
}

.bb-auth-form .modal-brand {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.bb-auth-form .modal-title,
.bb-auth-form .modal-sub {
  text-align: left;
}

.bb-auth-form .modal-title {
  letter-spacing: 0;
}

.bb-auth-form .modal-sub {
  margin: 6px 0 18px;
}

.bb-auth-form .modal-foot {
  margin-top: 16px;
}

.bb-auth-form .input-wrap {
  border-color: rgba(89, 203, 232, .2);
  background: #071014;
}

.bb-auth-form .field > label {
  color: #c5bfbc;
}

.bb-auth-form .input-wrap > i {
  color: var(--neon-2);
}

.bb-auth-register .input-wrap > i {
  color: var(--gold);
}

@media (max-width: 760px) {
  #loginModal,
  #registerModal {
    align-items: flex-start;
    padding: 10px;
  }

  #loginModal {
    align-items: center;
  }

  .bb-auth-modal {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - 20px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 154px auto;
    border-radius: 17px;
  }

  .bb-auth-register {
    height: calc(100dvh - 20px);
    grid-template-rows: 154px minmax(0, 1fr);
  }

  .bb-auth-art {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .bb-auth-login .bb-auth-art {
    background-position: center 30%;
  }

  .bb-auth-register .bb-auth-art {
    background-position: center 27%;
  }

  .bb-auth-art-copy {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .bb-auth-art-copy span {
    margin-bottom: 5px;
    font-size: 8.5px;
  }

  .bb-auth-art-copy strong {
    max-width: 280px;
    font-size: 17px;
  }

  .bb-auth-form,
  .bb-auth-register .bb-auth-form {
    overflow-y: auto;
    padding: 22px 19px 26px;
    justify-content: flex-start;
  }

  .bb-auth-form .modal-brand {
    margin-bottom: 14px;
  }

  .bb-auth-form .modal-sub {
    margin-bottom: 19px;
  }
}

@media (max-width: 430px) {
  .bb-auth-modal {
    grid-template-rows: 138px auto;
  }

  .bb-auth-register {
    grid-template-rows: 138px minmax(0, 1fr);
  }
}
