/**
 * BetPrime Sportsbook — layout escuro/dourado (base: esportes/index.html)
 */
html, body.bp-body {
  background: #070a12;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}

.bp-body a { text-decoration: none; }

.bp-hide-scrollbar::-webkit-scrollbar { display: none; }
.bp-hide-scrollbar { scrollbar-width: none; }
.bp-scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.bp-scrollbar-thin::-webkit-scrollbar-thumb { background: #242e4a; border-radius: 3px; }

.bp-gradient-gold { background: linear-gradient(135deg, #f5b800, #ffd966 60%, #d99e00); }
.bp-text-gold-grad {
  background: linear-gradient(135deg, #ffd966, #f5b800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bp-btn-gold {
  background: linear-gradient(135deg, #f5b800, #ffcc33);
  color: #0b0f1a;
  font-weight: 800;
  border: none;
  transition: .2s;
}
.bp-btn-gold:hover { filter: brightness(1.1); box-shadow: 0 6px 20px -6px rgba(245,184,0,.55); color: #0b0f1a; }
.bp-btn-outline {
  border: 1px solid #f5b800;
  color: #ffd966;
  background: transparent;
  font-weight: 700;
  transition: .2s;
}
.bp-btn-outline:hover { background: #f5b800; color: #0b0f1a; }

.bp-odd-btn {
  background: #131a2c;
  border: 1px solid #242e4a;
  color: #fff;
  transition: .15s;
  cursor: pointer;
  border-radius: 8px;
  padding: .45rem .55rem;
  min-width: 64px;
  text-align: center;
}
.bp-odd-btn:hover, .bp-odd-btn.active {
  background: #f5b800;
  border-color: #f5b800;
  color: #0b0f1a;
}
.bp-odd-btn:hover .bp-odd-val, .bp-odd-btn.active .bp-odd-val { color: #0b0f1a; }
.bp-odd-lbl { font-size: 9px; color: #6b7280; text-transform: lowercase; }
.bp-odd-val { color: #ffd966; font-weight: 800; font-size: .9rem; }

.bp-pulse-dot { animation: bp-pulse 1.4s infinite; }
@keyframes bp-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.bp-live-badge {
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: .15rem .45rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.bp-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  display: inline-block;
}

.bp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,10,18,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1c2540;
}
.bp-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 .75rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bp-logo { display: flex; align-items: center; gap: .5rem; color: #fff; }
.bp-logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.25rem; color: #0b0f1a;
}
.bp-logo-text { font-weight: 900; font-size: 1.15rem; line-height: 1; }
.bp-logo-sub { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #6b7280; margin-top: 2px; }
.bp-nav { display: flex; align-items: center; gap: .15rem; font-size: .875rem; font-weight: 600; }
.bp-nav-item {
  color: #9ca3af;
  padding: 0 1rem;
  height: 64px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-bottom: 3px solid transparent;
}
.bp-nav-item:hover { color: #ffd966; }
.bp-nav-item.active { color: #ffd966; border-bottom-color: #f5b800; }
.bp-nav-live { position: relative; display: inline-flex; width: 8px; height: 8px; }
.bp-nav-live::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #ef4444; animation: bp-ping 1s infinite; opacity: .75;
}
.bp-nav-live span { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
@keyframes bp-ping { 75%,100%{transform:scale(2);opacity:0} }

.bp-header-actions { display: flex; align-items: center; gap: .5rem; }
.bp-header-actions .btn { font-size: .8rem; padding: .4rem .85rem; border-radius: 8px; }

.bp-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: .75rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 310px;
  gap: .75rem;
}
.bp-sidebar { display: flex; flex-direction: column; gap: .5rem; }
.bp-sidebar-mobile-toggle { display: none; }

.bp-banner-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: .75rem;
  cursor: pointer;
  transition: transform .25s;
  color: inherit;
  display: block;
}
.bp-banner-item:hover { transform: translateX(3px); }
.bp-banner-item small { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.bp-banner-item strong { display: block; font-weight: 900; font-size: 1rem; line-height: 1.1; margin-top: 2px; }
.bp-banner-emoji { position: absolute; right: -4px; bottom: -4px; font-size: 2rem; }
.bp-banner-yellow { background: linear-gradient(135deg, #facc15, #ca8a04); color: #0b0f1a; }
.bp-banner-green { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; }
.bp-banner-amber { background: linear-gradient(135deg, #f59e0b, #b45309); color: #0b0f1a; }
.bp-banner-lime { background: linear-gradient(135deg, #84cc16, #15803d); color: #fff; }
.bp-banner-orange { background: linear-gradient(135deg, #f97316, #b91c1c); color: #fff; }
.bp-banner-pink { background: linear-gradient(135deg, #ec4899, #a21caf); color: #fff; }
.bp-banner-cyan { background: linear-gradient(135deg, #06b6d4, #1d4ed8); color: #fff; }

.bp-panel {
  background: #131a2c;
  border: 1px solid #1c2540;
  border-radius: 12px;
  overflow: hidden;
}
.bp-search-wrap { position: relative; padding: .5rem; }
.bp-search-wrap svg, .bp-search-wrap i {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: #6b7280; font-size: .9rem;
}
.bp-search-wrap input {
  width: 100%;
  background: #070a12;
  border: 1px solid #1c2540;
  border-radius: 8px;
  padding: .5rem .75rem .5rem 2.25rem;
  color: #fff;
  font-size: .85rem;
  outline: none;
}
.bp-search-wrap input:focus { border-color: #f5b800; }

.bp-side-tabs { display: flex; border-bottom: 1px solid #1c2540; }
.bp-side-tabs a {
  flex: 1; text-align: center; padding: .5rem;
  font-size: .8rem; font-weight: 700; color: #9ca3af;
  border-bottom: 2px solid transparent;
}
.bp-side-tabs a.active { color: #ffd966; border-bottom-color: #f5b800; }

.bp-side-menu { padding: .5rem; }
.bp-side-menu a {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .65rem; border-radius: 8px;
  color: #9ca3af; font-size: .85rem;
  border-left: 3px solid transparent;
}
.bp-side-menu a:hover { background: #171f36; color: #ffd966; }
.bp-side-menu a.active { background: #171f36; color: #ffd966; border-left-color: #f5b800; }

.bp-center { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }

.bp-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.bp-hero-mega {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b, #131a2c 50%, #854d0e);
  padding: 1.25rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bp-hero-mega::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(245,184,0,.35), transparent 50%);
  opacity: .35;
  pointer-events: none;
}
.bp-hero-mega > * { position: relative; z-index: 1; }
.bp-hero-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #f5b800; color: #0b0f1a;
  font-size: 10px; font-weight: 900; padding: .2rem .45rem;
  border-radius: 4px; text-transform: uppercase;
}

.bp-match-card {
  background: linear-gradient(180deg, #171f36 0%, #0f1524 100%);
  border: 1px solid #242e4a;
  border-radius: 16px;
  padding: 1rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bp-match-meta { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: #ffd966; }
.bp-match-teams-row {
  display: flex; align-items: center; justify-content: space-around;
  padding: .5rem 0;
}
.bp-team-col { text-align: center; }
.bp-team-logo {
  width: 56px; height: 56px; border-radius: 50%;
  background: #1c2540; border: 2px solid #242e4a;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .35rem; overflow: hidden;
}
.bp-team-logo img { width: 36px; height: 36px; object-fit: contain; }
.bp-team-name { font-size: 11px; font-weight: 600; }
.bp-vs { font-size: 1.1rem; font-weight: 900; color: #6b7280; }

.bp-odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }

.bp-section-title {
  font-weight: 800; font-size: 1.05rem; margin-bottom: .75rem;
  display: flex; align-items: center; gap: .5rem;
}

.bp-cat-scroll {
  display: flex; gap: .75rem; overflow-x: auto;
  padding-bottom: .35rem;
}
.bp-cat-item { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; cursor: pointer; }
.bp-cat-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #1c2540, #0b0f1a 70%);
  border: 2px solid #242e4a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  transition: .2s;
}
.bp-cat-circle:hover { border-color: #f5b800; transform: translateY(-3px); }
.bp-cat-label { font-size: .75rem; font-weight: 600; }

.bp-ligas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: .75rem;
}
.bp-liga-card {
  background: radial-gradient(circle at 50% 30%, #1c2540 0%, #0b0f1a 80%);
  border: 1px solid #242e4a;
  border-radius: 12px;
  padding: 1rem .5rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  aspect-ratio: 1;
  transition: .2s;
  color: #ffd966;
  text-align: center;
}
.bp-liga-card:hover { border-color: #f5b800; transform: translateY(-2px); }
.bp-liga-icon {
  width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(135deg, #f5b800, #ffd966);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #0b0f1a;
}
.bp-liga-icon img { width: 40px; height: 40px; object-fit: contain; }
.bp-liga-name { font-size: 11px; font-weight: 700; line-height: 1.2; }

.bp-turbo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .75rem;
}
.bp-turbo-card {
  background: #131a2c;
  border: 1px solid #1c2540;
  border-radius: 12px;
  padding: 1rem;
  display: flex; flex-direction: column;
}
.bp-turbo-card h6 { font-size: .9rem; font-weight: 700; margin: .5rem 0; }
.bp-turbo-add {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  background: #070a12; border: 1px solid #242e4a;
  border-radius: 8px; padding: .5rem;
  cursor: pointer;
  transition: .15s;
}
.bp-turbo-add:hover { background: #171f36; }

.bp-ev-tabs {
  display: flex; gap: .5rem; overflow-x: auto;
  margin-bottom: .75rem;
}
.bp-ev-tab {
  flex-shrink: 0;
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: #131a2c; border: 1px solid #1c2540;
  color: #9ca3af; font-size: .8rem; font-weight: 600;
  cursor: pointer;
}
.bp-ev-tab.active { border-color: #f5b800; color: #ffd966; }

.bp-event-row, .bp-live-row {
  background: #131a2c;
  border: 1px solid #1c2540;
  border-radius: 12px;
  padding: .75rem;
  margin-bottom: .5rem;
}
.bp-event-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #9ca3af; margin-bottom: .5rem;
}
.bp-event-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  align-items: center;
}
.bp-event-teams { font-size: .85rem; }
.bp-event-teams div { display: flex; align-items: center; gap: .5rem; margin: .15rem 0; font-weight: 600; }
.bp-event-teams img { width: 20px; height: 20px; object-fit: contain; }
.bp-score-live { margin-left: auto; font-weight: 900; color: #ffd966; }

.bp-sport-filters { display: flex; gap: .5rem; overflow-x: auto; margin-bottom: .75rem; }
.bp-sport-chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: #131a2c; border: 1px solid #1c2540;
  color: #9ca3af; font-size: .8rem; font-weight: 600;
}
.bp-sport-chip.active { border-color: #f5b800; color: #ffd966; }

.bp-popular { display: block; }
.bp-popular-sticky { position: sticky; top: 80px; }
.bp-popular-head {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #1c2540;
  background: #0f1524;
  font-weight: 900; font-size: .85rem;
}
.bp-popular-list { max-height: calc(100vh - 140px); overflow-y: auto; }
.bp-popular-group {
  padding: .5rem 1rem;
  font-size: .7rem; font-weight: 900; color: #ffd966;
  background: #0f1524;
}
.bp-popular-item {
  padding: .75rem;
  border-bottom: 1px solid #1c2540;
}
.bp-popular-item:hover { background: #171f36; }
.bp-popular-meta { display: flex; justify-content: space-between; font-size: 10px; color: #6b7280; margin-bottom: .35rem; }
.bp-popular-teams { font-size: .75rem; font-weight: 600; margin-bottom: .5rem; line-height: 1.35; }

.bp-footer {
  border-top: 1px solid #1c2540;
  background: #070a12;
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
}
.bp-footer-inner {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}
.bp-footer-col h6 { color: #e5e7eb; font-size: .85rem; margin-bottom: .5rem; }
.bp-footer-col a { display: block; color: #6b7280; font-size: .8rem; padding: .15rem 0; }
.bp-footer-col a:hover { color: #ffd966; }
.bp-footer-copy { text-align: center; padding-top: 1rem; font-size: .75rem; color: #6b7280; }

.bp-betslip {
  position: fixed;
  bottom: 1rem; right: 1rem;
  width: min(300px, calc(100vw - 2rem));
  background: #0f1524;
  border: 1px solid #242e4a;
  border-radius: 12px;
  z-index: 1040;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,.7);
}
.bp-betslip-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  background: #131a2c;
  border-bottom: 1px solid #1c2540;
  cursor: pointer;
}
.bp-betslip-count {
  width: 24px; height: 24px; border-radius: 50%;
  background: #f5b800; color: #0b0f1a;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .7rem;
}
.bp-betslip-body { display: none; padding: 1rem; }
.bp-betslip-body.open { display: block; }
.bp-betslip-body .form-control {
  background: #070a12; border-color: #242e4a; color: #fff;
}
.bp-betslip-body .slip-item {
  background: #131a2c; border: 1px solid #1c2540;
  border-radius: 8px; padding: .65rem; margin-bottom: .5rem; font-size: .75rem;
}

.bp-alert-wrap { max-width: 1600px; margin: .5rem auto; padding: 0 .75rem; }
.bp-alert-wrap .alert { font-size: .85rem; margin: 0; }

@media (max-width: 1200px) {
  .bp-shell { grid-template-columns: 220px 1fr; }
  .bp-popular { display: none; }
}
@media (max-width: 992px) {
  .bp-shell { grid-template-columns: 1fr; }
  .bp-sidebar { display: none; }
  .bp-sidebar.open {
    display: flex; position: fixed; left: 0; top: 64px; bottom: 0;
    width: 260px; z-index: 40; background: #070a12;
    padding: .75rem; overflow-y: auto;
    border-right: 1px solid #1c2540;
  }
  .bp-sidebar-mobile-toggle { display: inline-flex; }
  .bp-hero-grid { grid-template-columns: 1fr; }
  .bp-event-body { grid-template-columns: 1fr; }
}
@media (min-width: 993px) {
  .bp-betslip { position: relative; bottom: auto; right: auto; width: 100%; margin-top: .75rem; }
}
