/* BetBolt Replica — main stylesheet */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Poppins", -apple-system, system-ui, sans-serif;
  background: #0F0E1A;
  color: #fff;
  line-height: 1.55;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #FFD000; }
button { font-family: inherit; cursor: pointer; }
.no-js-banner { display:none; }
h1, h2, h3, h4, h5 { font-family: "Syne", "Poppins", sans-serif; font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Layout */
#bb-app { min-height: 100vh; display: grid; grid-template-columns: 72px 1fr; }
.mainLayout { display: contents; }

/* Sidebar */
.sidebar {
  grid-column: 1;
  position: sticky; top: 0;
  height: 100vh;
  background: #14132A;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  align-items: center; padding: 18px 0;
  gap: 6px; z-index: 30;
}
.sidebar .nav-item {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: rgba(255,255,255,0.55);
  transition: all 0.18s ease;
  position: relative;
}
.sidebar .nav-item:hover {
  background: rgba(255,210,63,0.08);
  color: #FFD000;
}
.sidebar .nav-item.on {
  background: rgba(255,210,63,0.14);
  color: #FFD000;
}
.sidebar .nav-item svg { width: 22px; height: 22px; }
.sidebar .nav-item .label {
  position: absolute; left: 64px; top: 50%; transform: translateY(-50%);
  background: #1a1933; padding: 6px 10px; border-radius: 6px;
  white-space: nowrap; font-size: 12px; opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease;
}
.sidebar .nav-item:hover .label { opacity: 1; }

/* Frame (main content column) */
.frame { grid-column: 2; min-width: 0; display: flex; flex-direction: column; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 25;
  background: #0F0E1A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 24px;
  display: flex; align-items: center; gap: 16px;
}
.header .headerLogoBox img.mainLogo { height: 30px; width: auto; }
.header .h-spacer { flex: 1; }
.header .h-currency {
  display: flex; align-items: center; gap: 8px;
  background: #1a1933; padding: 8px 14px; border-radius: 10px;
  font-weight: 600; font-size: 13px;
}
.header .h-currency .balance { color: #FFD000; font-family: "Syne", sans-serif; }
.header .btn-deposit, .header .btn-login, .header .btn-signup, .header .btn-chat {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  border: 0;
  font-size: 13px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.header .btn-login { background: transparent; color: #fff; }
.header .btn-login:hover { background: rgba(255,255,255,0.06); }
.header .btn-signup { background: linear-gradient(135deg, #FFD000 0%, #FF9500 100%); color: #0F0E1A; }
.header .btn-signup:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,210,63,0.32); }
.header .btn-deposit { background: #00C853; color: #0F0E1A; }
.header .btn-chat { background: #1a1933; color: #fff; }

/* Promo carousel */
.banner-promo-container {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; padding: 24px;
}
.promo-card {
  position: relative;
  border-radius: 18px;
  padding: 28px 28px 24px;
  min-height: 220px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.promo-card:hover { transform: translateY(-3px); }
.promo-card.bonus {
  background: linear-gradient(135deg, #5B2EFF 0%, #2A0E8F 100%);
}
.promo-card.rakeback {
  background: linear-gradient(135deg, #FFD000 0%, #FF6B00 100%);
  color: #0F0E1A;
}
.promo-card.vip {
  background: linear-gradient(135deg, #FF1A75 0%, #6E0044 100%);
}
.promo-card .pc-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; opacity: 0.85; font-weight: 600; }
.promo-card h3.pc-title {
  font-size: 30px; line-height: 1.05; margin: 12px 0 6px;
  font-family: "Syne", sans-serif; font-weight: 800;
}
.promo-card .pc-sub { font-size: 14px; opacity: 0.92; }
.promo-card .pc-cta {
  align-self: flex-start; margin-top: 14px;
  background: rgba(0,0,0,0.32); color: #fff;
  border: 0; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; font-size: 13px;
}
.promo-card.rakeback .pc-cta { background: #0F0E1A; color: #FFD000; }
.promo-card .pc-bg-num {
  position: absolute; right: -16px; top: -16px;
  font-size: 230px; font-family: "Syne", sans-serif; font-weight: 900;
  opacity: 0.07; pointer-events: none; line-height: 0.8;
}

/* Live wins ticker */
.live-wins {
  background: #14132A; border-radius: 14px;
  padding: 12px 20px; margin: 0 24px;
  display: flex; align-items: center; gap: 18px; overflow: hidden;
}
.live-wins .lw-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: #FFD000;
  text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}
.live-wins .lw-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #FF1A75; box-shadow: 0 0 8px #FF1A75;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(0.8);} }
.live-wins .lw-row { display: flex; gap: 24px; flex: 1; overflow-x: hidden; min-width: 0; }
.lw-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.85);
  white-space: nowrap; flex-shrink: 0;
}
.lw-item .lw-game { color: #FFD000; font-weight: 600; }
.lw-item .lw-amt { color: #00C853; font-weight: 700; font-family: "Syne", sans-serif; }

/* Find category bar */
.find-category {
  margin: 24px 24px 0;
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 6px;
}
.find-category .cat-pill {
  flex-shrink: 0;
  background: #14132A;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 18px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 13px;
  color: rgba(255,255,255,0.78);
  transition: all 0.15s ease;
}
.find-category .cat-pill:hover { background: #1f1c40; color: #fff; }
.find-category .cat-pill.on { background: #FFD000; color: #0F0E1A; border-color: #FFD000; }
.find-category .cat-pill img { height: 18px; width: auto; filter: brightness(1.2); }
.find-category .cat-pill.on img { filter: brightness(0); }

/* Search input */
.find-game-faster { margin: 18px 24px 0; }
.find-game-faster .input-wrap {
  background: #14132A;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.find-game-faster input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: #fff; font-size: 14px; font-family: inherit;
}
.find-game-faster .search-icon { color: rgba(255,255,255,0.5); width: 18px; height: 18px; }

/* Game category sections */
.category-container { margin: 32px 24px 0; }
.category-container-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.category-container-header img.cat-icon { height: 28px; width: auto; }
.category-container-header h2 {
  font-size: 22px; margin: 0;
  font-family: "Syne", sans-serif; font-weight: 800;
}
.category-container-header .see-all {
  margin-left: auto;
  font-size: 12px; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 1px;
  font-weight: 600;
}
.category-container-header .see-all:hover { color: #FFD000; }

/* Game carousel */
.game-carousele {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.game-tile {
  position: relative;
  aspect-ratio: 168 / 224;
  border-radius: 14px; overflow: hidden;
  background: #1a1933;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.game-tile:hover { transform: translateY(-3px); }
.game-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.game-tile .gt-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.84) 30%, transparent);
  font-size: 12px; font-weight: 600;
}
.game-tile .gt-provider {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,0.55);
  padding: 4px 8px; border-radius: 6px;
  font-size: 10px; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.game-tile .gt-hot {
  position: absolute; top: 8px; right: 8px;
  background: #FF1A75; color: #fff;
  padding: 3px 7px; border-radius: 5px;
  font-size: 9px; font-weight: 800; text-transform: uppercase;
}

/* Sportsbook horizontal */
.sport-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px;
  gap: 12px; overflow-x: auto;
}
.sport-card {
  background: #14132A; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 16px;
}
.sport-card .sc-league { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.8px; }
.sport-card .sc-teams { font-size: 14px; font-weight: 600; margin: 8px 0; }
.sport-card .sc-time { font-size: 12px; color: #FFD000; }
.sport-card .sc-odds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 12px;
}
.sport-card .odd {
  background: #1f1c40; border-radius: 8px;
  padding: 8px; text-align: center; cursor: pointer;
}
.sport-card .odd .o-label { font-size: 10px; color: rgba(255,255,255,0.55); text-transform: uppercase; }
.sport-card .odd .o-value { font-size: 13px; font-weight: 700; font-family: "Syne", sans-serif; color: #FFD000; }

/* Providers strip */
.providers-strip {
  margin: 40px 24px 0;
  display: flex; flex-wrap: wrap;
  gap: 10px 18px; align-items: center; justify-content: center;
  padding: 24px; background: #14132A; border-radius: 14px;
}
.providers-strip img { height: 28px; width: auto; opacity: 0.78; transition: opacity 0.15s ease; filter: grayscale(0.2); }
.providers-strip img:hover { opacity: 1; filter: grayscale(0); }

/* Long-form content */
.bb-content {
  max-width: 1100px;
  margin: 56px auto;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
}
.bb-content h2 {
  font-size: 32px;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  margin: 56px 0 16px;
  color: #fff;
  border-left: 4px solid #FFD000;
  padding-left: 14px;
}
.bb-content h3 { font-size: 22px; margin: 28px 0 10px; color: #FFD000; }
.bb-content p { margin: 0 0 1em; }
.bb-content ul, .bb-content ol { padding-left: 22px; margin: 0 0 1em; }
.bb-content li { margin-bottom: 6px; }
.bb-content strong { color: #fff; }
.bb-content a { color: #FFD000; border-bottom: 1px dotted rgba(255,210,63,0.5); }
.bb-content a:hover { color: #FFC000; border-bottom-color: #FFC000; }
.bb-content table {
  width: 100%; border-collapse: collapse;
  margin: 18px 0; font-size: 14px;
  background: #14132A; border-radius: 10px; overflow: hidden;
}
.bb-content th {
  text-align: left; background: #1a1933;
  padding: 12px 14px; font-family: "Syne", sans-serif;
  color: #FFD000; font-weight: 700;
}
.bb-content td { padding: 12px 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.bb-content blockquote {
  background: #14132A; border-left: 4px solid #FFD000;
  padding: 16px 22px; margin: 22px 0; border-radius: 0 10px 10px 0;
  font-style: italic; color: rgba(255,255,255,0.92);
}
.bb-content .info-box {
  background: linear-gradient(135deg, rgba(255,210,63,0.08), rgba(91,46,255,0.06));
  border: 1px solid rgba(255,210,63,0.18);
  padding: 22px; border-radius: 14px; margin: 24px 0;
}
.bb-content .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.bb-content .pros, .bb-content .cons { background: #14132A; border-radius: 12px; padding: 20px; }
.bb-content .pros h4 { color: #00C853; margin-top: 0; font-size: 16px; font-family: "Syne",sans-serif; }
.bb-content .cons h4 { color: #FF1A75; margin-top: 0; font-size: 16px; font-family: "Syne",sans-serif; }

.bb-cta-box {
  margin: 36px 0; padding: 32px;
  background: linear-gradient(135deg, #5B2EFF 0%, #FF1A75 100%);
  border-radius: 18px; text-align: center;
}
.bb-cta-box h3 {
  margin: 0 0 8px;
  font-family: "Syne", sans-serif; font-size: 26px; font-weight: 800;
  color: #fff;
}
.bb-cta-box p { margin: 0 0 18px; color: rgba(255,255,255,0.92); }
.bb-cta-box a {
  display: inline-block; padding: 14px 32px;
  background: #FFD000; color: #0F0E1A;
  border-radius: 12px; font-weight: 700;
  font-size: 16px; border: 0;
}
.bb-cta-box a:hover { background: #FFC000; transform: translateY(-2px); }

/* Footer */
footer.bb-footer {
  margin-top: 64px;
  background: #0a0915;
  padding: 56px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bb-footer-inner { max-width: 1280px; margin: 0 auto; }
.bb-footer-cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.bb-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: #FFD000; font-family: "Syne",sans-serif; }
.bb-footer ul { list-style: none; padding: 0; margin: 0; }
.bb-footer ul li { margin-bottom: 8px; font-size: 13px; }
.bb-footer ul li a { color: rgba(255,255,255,0.65); }
.bb-footer ul li a:hover { color: #FFD000; }
.bb-footer .bb-brand-mini img { height: 32px; }
.bb-footer .bb-brand-mini p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 14px; line-height: 1.7; max-width: 280px; }
.bb-footer .bb-licenses { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.bb-footer .bb-licenses img { height: 32px; opacity: 0.7; }
.bb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 14px;
}
.bb-footer-bottom .socials { display: flex; gap: 10px; }
.bb-footer-bottom .socials img { height: 22px; opacity: 0.6; }
.bb-footer-bottom .socials a:hover img { opacity: 1; }

@media (max-width: 1024px) {
  .banner-promo-container { grid-template-columns: 1fr; }
  .bb-footer-cols { grid-template-columns: 1fr 1fr; }
  .bb-content .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #bb-app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .header { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
  .bb-content { padding: 0 16px; }
  .bb-footer-cols { grid-template-columns: 1fr; }
}

/* Live wins fix: sticky label, masked overflow, smooth scroll */
.live-wins {
  position: relative;
  overflow: hidden;
  padding-left: 24px !important;
}
.live-wins .lw-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex; align-items: center;
  padding: 0 18px 0 24px;
  z-index: 4;
  background: linear-gradient(90deg, #14132A 75%, rgba(20,19,42,0));
}
.live-wins .lw-row {
  margin-left: 130px;
  flex-wrap: nowrap;
  overflow: visible !important;
}
.live-wins::before, .live-wins::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 32px; pointer-events: none; z-index: 3;
}
.live-wins::before { left: 130px; background: linear-gradient(90deg, #14132A, rgba(20,19,42,0)); }
.live-wins::after  { right: 0; background: linear-gradient(270deg, #14132A, rgba(20,19,42,0)); }

/* Sidebar tooltip: only on hover, not just mid-fade */
.sidebar .nav-item .label { display: none; }
.sidebar .nav-item:hover .label { display: block; opacity: 1; }

/* H1 hero — visible, brand-aligned */
.bb-page-title {
  margin: 28px 24px 12px;
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #fff;
  background: linear-gradient(135deg, #FFD000 0%, #FF1A75 60%, #5B2EFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bb-toc {
  margin: 24px auto;
  max-width: 1100px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(91,46,255,0.08), rgba(255,210,63,0.06));
  border: 1px solid rgba(255,210,63,0.18);
  border-radius: 14px;
  font-size: 14px;
}
.bb-toc-title { color: #FFD000; font-weight: 700; font-family: "Syne",sans-serif; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.bb-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; }
.bb-toc li { margin-bottom: 6px; break-inside: avoid; }
.bb-toc a { color: rgba(255,255,255,0.85); border-bottom: 1px dotted rgba(255,255,255,0.2); }
.bb-toc a:hover { color: #FFD000; border-bottom-color: #FFD000; }
.bb-breadcrumbs { margin: 12px 24px; font-size: 12px; color: rgba(255,255,255,0.55); }
.bb-breadcrumbs a { color: rgba(255,255,255,0.7); }
.bb-breadcrumbs a:hover { color: #FFD000; }
.bb-breadcrumbs .sep { margin: 0 6px; color: rgba(255,255,255,0.3); }
@media (max-width: 768px) {
  .bb-toc ol { columns: 1; }
}

/* TOC — collapsible, premium */
.bb-toc {
  margin: 28px auto;
  max-width: 1100px;
  background: linear-gradient(135deg, rgba(91,46,255,0.10) 0%, rgba(255,210,63,0.06) 100%);
  border: 1px solid rgba(255,210,63,0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.bb-toc[open] { box-shadow: 0 18px 40px -20px rgba(91,46,255,0.45); }
.bb-toc-summary {
  list-style: none;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  font-family: "Syne", sans-serif;
}
.bb-toc-summary::-webkit-details-marker { display: none; }
.bb-toc-summary::marker { display: none; }
.bb-toc-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,210,63,0.14); color: #FFD000;
  border-radius: 10px; flex-shrink: 0;
}
.bb-toc-title {
  font-size: 16px; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: 1.2px;
}
.bb-toc-count {
  margin-left: auto;
  background: rgba(255,210,63,0.14); color: #FFD000;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  font-family: "Inter", sans-serif;
}
.bb-toc-chev {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7);
  border-radius: 8px; flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.5,1.6,0.4,1), color 0.18s ease;
}
.bb-toc[open] .bb-toc-chev { transform: rotate(180deg); color: #FFD000; }
.bb-toc-summary:hover .bb-toc-chev { background: rgba(255,210,63,0.16); color: #FFD000; }

.bb-toc-list {
  margin: 0; padding: 8px 24px 24px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 4px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px; margin-top: 4px;
  animation: bb-toc-fade 0.32s cubic-bezier(0.2,0.9,0.3,1.05);
}
@keyframes bb-toc-fade { from{opacity:0;transform:translateY(-6px);} to{opacity:1;transform:translateY(0);} }
.bb-toc-list li { margin: 0; }
.bb-toc-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  color: rgba(255,255,255,0.85);
  border-radius: 10px;
  border-bottom: none !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  font-size: 14px; font-family: "Inter", sans-serif;
  font-weight: 500;
}
.bb-toc-list a:hover {
  background: rgba(255,210,63,0.08);
  color: #FFD000;
  transform: translateX(4px);
}
.bb-toc-num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55);
  border-radius: 7px;
  font-size: 11px; font-weight: 800;
  font-family: "Syne", sans-serif;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.bb-toc-list a:hover .bb-toc-num { background: #FFD000; color: #0F0E1A; }
.bb-toc-lbl { line-height: 1.3; }
@media (max-width: 768px) {
  .bb-toc-list { grid-template-columns: 1fr; }
  .bb-toc-summary { padding: 14px 18px; }
  .bb-toc-list { padding: 12px 14px 18px; }
}
