
/* BSC Poker X v11.7.1 — Footer & floating dock cleanup */

:root {
  --v1171-footer-bg: rgba(2, 12, 22, .96);
  --v1171-footer-panel: rgba(8, 35, 53, .88);
  --v1171-footer-border: rgba(87, 210, 245, .22);
  --v1171-footer-text: #dcecf7;
  --v1171-footer-muted: #91aec2;
  --v1171-footer-link: #68e7ff;
}

/* Support current and older footer class names. */
footer,
.bscx-site-footer,
.v1150-footer,
.site-footer {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: 28px !important;
  padding: 0 !important;
  color: var(--v1171-footer-text);
  background: var(--v1171-footer-bg) !important;
  border-top: 1px solid var(--v1171-footer-border) !important;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, .18);
}

footer > *,
.bscx-site-footer > *,
.v1150-footer > *,
.site-footer > * {
  box-sizing: border-box;
}

.v1171-footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
}

.v1171-footer-brand {
  min-width: 0;
}

.v1171-footer-brand strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.v1171-footer-brand span {
  display: block;
  color: var(--v1171-footer-muted);
  font-size: 13px;
  line-height: 1.45;
}

.v1171-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}

.v1171-footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(104, 231, 255, .18);
  border-radius: 12px;
  color: var(--v1171-footer-link) !important;
  background: var(--v1171-footer-panel);
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.v1171-footer-links a:hover,
.v1171-footer-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(245, 199, 67, .5);
  background: rgba(14, 51, 73, .96);
  outline: none;
}

.v1171-footer-legal {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid rgba(87, 210, 245, .11);
  color: #7894a8;
  font-size: 12px;
}

/* Remove old floating Play Hold'em buttons and duplicate legacy docks. */
a[id*="PlayHoldem" i],
button[id*="PlayHoldem" i],
a[class*="play-holdem" i],
button[class*="play-holdem" i],
.v621-play-holdem,
.v62-play-holdem,
.bscx-play-holdem,
.bscx-cta-fixed {
  display: none !important;
}

/* Keep one HoldemBot button above the footer and away from screen edges. */
.bscx-hb1170 {
  right: max(18px, env(safe-area-inset-right)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  z-index: 50000 !important;
}

body.v1171-footer-fix {
  padding-bottom: 0 !important;
}

@media (max-width: 760px) {
  .v1171-footer-inner {
    width: min(100% - 22px, 1280px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 86px;
  }

  .v1171-footer-links {
    justify-content: flex-start;
  }

  .v1171-footer-links a {
    flex: 1 1 132px;
  }

  .v1171-footer-legal {
    grid-column: auto;
  }

  .bscx-hb1170 {
    right: 10px !important;
    bottom: 10px !important;
  }
}
