/* banger-casino-bet.com — BD & PK hub (bcb-*), dark theme */
:root {
  --bg: #1a1d23;
  --bg-elevated: #22262e;
  --bg-card: #2a2f38;
  --text: #f2f4f8;
  --text-muted: #b8c0cc;
  --accent: #008eff;
  --accent-hover: #33a3ff;
  --purple: #4b49e8;
  --purple-hover: #6c6aed;
  --danger: #e53935;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bcb-skip {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.bcb-skip:focus {
  left: 16px;
  top: 16px;
}

/* Header */
.bcb-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 29, 35, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bcb-topbar__inner {
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 8px;
}

.bcb-brand img {
  width: auto;
  max-height: 40px;
}

.bcb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.bcb-burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
}

.bcb-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bcb-menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.bcb-menu__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.bcb-menu__link:hover,
.bcb-menu__link:focus-visible {
  color: var(--text);
}

.bcb-menu__link.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--new {
  background: var(--danger);
  color: #fff;
}

.bcb-topbar__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, #0070cc 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 142, 255, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
  color: #fff;
}

.btn--secondary {
  background: linear-gradient(180deg, var(--purple) 0%, #3a38c4 100%);
  color: #fff;
}

.btn--secondary:hover {
  background: linear-gradient(180deg, var(--purple-hover) 0%, var(--purple) 100%);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--block {
  width: 100%;
  max-width: 360px;
}

/* Top promo banner (e.g. Aviator) */
.bcb-hero-promo {
  padding-top: 20px;
  padding-bottom: 8px;
}

.bcb-hero-promo__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff21bc 0%, #ff8533 55%, #ff9933 100%);
  box-shadow: 0 12px 40px rgba(255, 50, 150, 0.25);
}

.bcb-hero-promo__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 28px
    );
  pointer-events: none;
  opacity: 0.6;
}

.bcb-hero-promo__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 40%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.bcb-hero-promo__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  align-items: center;
  padding: clamp(20px, 4vw, 36px) clamp(20px, 4vw, 40px);
  min-height: 200px;
}

.bcb-hero-promo__copy {
  padding-right: 8px;
}

.bcb-hero-promo__headline {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.bcb-hero-promo__tagline {
  margin: 0 0 20px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  max-width: 22em;
}

.bcb-hero-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #4e94ff;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 20px rgba(78, 148, 255, 0.45);
  transition: background 0.2s, transform 0.15s;
}

.bcb-hero-promo__btn:hover {
  background: #6aa6ff;
  color: #fff;
}

.bcb-hero-promo__btn:active {
  transform: scale(0.98);
}

.bcb-hero-promo__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.bcb-hero-promo__img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

@media (max-width: 720px) {
  .bcb-hero-promo__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px 28px;
  }

  .bcb-hero-promo__copy {
    padding-right: 0;
    order: 1;
  }

  .bcb-hero-promo__art {
    order: 2;
  }

  .bcb-hero-promo__tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero */
.bcb-intro {
  padding: 40px 0 32px;
  text-align: center;
}

.bcb-intro h1 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.bcb-intro__cta {
  margin-bottom: 28px;
}

.bcb-intro__lead {
  text-align: left;
  max-width: 720px;
  margin-inline: auto;
  color: var(--text-muted);
}

.bcb-intro__lead p {
  margin: 0 0 1em;
}

/* Notice */
.bcb-alert {
  margin: 24px auto;
  max-width: 720px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  font-style: italic;
  color: var(--text-muted);
}

/* Age badge */
.bcb-age {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.bcb-age svg {
  width: min(120px, 40vw);
  height: auto;
}

/* Section */
.bcb-block {
  padding: 40px 0;
  scroll-margin-top: 80px;
}

.bcb-block h2 {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.bcb-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.bcb-block p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

.bcb-block ul {
  color: var(--text-muted);
  padding-left: 1.2em;
}

.bcb-block li {
  margin-bottom: 0.5em;
}

/* Image placeholder in article */
.bcb-media-ph {
  margin: 24px auto;
  max-width: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.bcb-media-ph img {
  width: 100%;
}

/* Game grid */
.game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bcb-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .bcb-games {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .bcb-games {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.bcb-slot {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 3 / 4;
}

.bcb-slot__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #3d4a6b 0%, #1e2430 100%);
}

.bcb-slot__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcb-slot__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s;
}

.bcb-slot:hover .bcb-slot__overlay,
.bcb-slot:focus-within .bcb-slot__overlay {
  opacity: 1;
}

.bcb-slot__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  text-shadow: 0 1px 2px #000;
}

.bcb-slot__provider {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn--play {
  padding: 10px 20px;
  font-size: 0.7rem;
}

.btn--demo {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.65rem;
  padding: 8px 16px;
}

/* Search bar (desktop style) */
.bcb-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  align-items: center;
}

.bcb-find {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.bcb-find input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.bcb-find input::placeholder {
  color: var(--text-muted);
}

.bcb-sort {
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Footer */
.bcb-foot {
  margin-top: 48px;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #14161b;
}

.bcb-foot__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.bcb-foot__brand {
  font-weight: 800;
  margin: 0 0 8px;
}

.bcb-foot__small {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 360px;
}

.bcb-foot__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bcb-foot__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.bcb-foot__nav a:hover {
  color: var(--accent);
}

.bcb-foot__copy {
  margin: 24px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile nav */
@media (max-width: 900px) {
  .bcb-burger {
    display: flex;
  }

  .bcb-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s, opacity 0.2s;
  }

  .bcb-menu.is-open {
    max-height: 100vh;
    opacity: 1;
    pointer-events: auto;
  }

  .bcb-menu__list {
    flex-direction: column;
    align-items: stretch;
  }

  .bcb-menu__link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .bcb-topbar__cta {
    flex-direction: column;
    width: 100%;
  }

  .bcb-topbar__cta .btn {
    width: 100%;
  }
}

/* Quick facts table (casino spec sheet) — full grid, reads as a real table */
.bcb-datatable__heading {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.bcb-datatable {
  --spec-border: rgba(255, 255, 255, 0.22);
  --spec-border-strong: rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--spec-border-strong);
  background: #1a1f28;
  box-shadow: var(--shadow);
}

.bcb-datatable__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
}

.bcb-datatable__table thead th {
  background: linear-gradient(180deg, #0d8eef 0%, #0566b3 100%);
  color: #fff;
  font-weight: 800;
  text-align: left;
  padding: 14px 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
}

.bcb-datatable__table thead th:first-child {
  width: 38%;
}

.bcb-datatable__table tbody th,
.bcb-datatable__table tbody td {
  border: 1px solid var(--spec-border);
  padding: 12px 14px;
  vertical-align: top;
}

.bcb-datatable__table tbody th {
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: #232833;
}

.bcb-datatable__table tbody td {
  color: var(--text-muted);
  background: #1e232c;
  border-left: 1px solid var(--spec-border-strong);
}

.bcb-datatable__table tbody tr:nth-child(even) th {
  background: #2a303c;
}

.bcb-datatable__table tbody tr:nth-child(even) td {
  background: #252b36;
}

.bcb-datatable__table a {
  color: var(--accent-hover);
  font-weight: 600;
  word-break: break-word;
}

.bcb-datatable__note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .bcb-datatable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bcb-datatable__table {
    min-width: 100%;
    table-layout: auto;
  }

  .bcb-datatable__table thead th:first-child {
    width: 40%;
    min-width: 140px;
  }
}

/* Hub links (home games section) */
.bcb-hub {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bcb-hub__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.bcb-hub__lead {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bcb-hub__lead a {
  color: var(--accent-hover);
  font-weight: 600;
}

.bcb-hub__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bcb-hub__list a {
  color: var(--accent-hover);
  font-weight: 600;
}

.bcb-breadcrumb {
  padding: 12px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bcb-breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bcb-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  opacity: 0.5;
}

.bcb-breadcrumb a {
  color: var(--accent-hover);
  font-weight: 600;
}

.btn--guide {
  font-size: 0.8rem;
  padding: 8px 12px;
}

/* Game guide pages — hero art */
.bcb-game-page__media {
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bcb-game-page__media img {
  width: 100%;
  max-height: min(420px, 56vh);
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.bcb-howto {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.bcb-howto li + li {
  margin-top: 10px;
}

.bcb-howto strong {
  color: var(--text);
}

