.bwb-gsw-game-stats { text-align:left !important; }

/* =========================
   FRONTEND GRID LAYOUT
   ========================= */

.bwb-bonus-section {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.bwb-bonus-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important; /* IMPORTANT */
  gap: 20px !important;
}

.bwb-bonus-box {
  margin-bottom: 0 !important; /* gap already handles vertical spacing */
}

/* Single bonus box */
.bwb-bonus-box {
  position: relative !important;
  overflow: hidden !important;
  background-color: #232323 !important;
  background: radial-gradient(circle at top, #333333 0, #232323 45%, #141414 100%) !important;
  border-radius: 6px !important;
  padding: 12px !important;
  width: calc(25% - 15px) !important; /* 4 per row on desktop */
  box-sizing: border-box !important;
  color: #fff !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.85),
    inset 0 0 18px rgba(0, 0, 0, 0.7) !important;
}

/* Top accent bar (colour from settings / per card) */
.bwb-bonus-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bwb-bt-accent, #28a745) !important;
  pointer-events: none;
  z-index: 2;
}

/* Swoop / highlight effect */
.bwb-bonus-box::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -15%;
  width: 150%;
  height: 70%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* Make sure content is above the swoop */
.bwb-bonus-box > * {
  position: relative;
  z-index: 1;
}

/* Red corner ribbon – same look as bonus-tables / bonus-popup */
.bwb-bonus-box .bwb-bt-ribbon {
  position: absolute !important;
  top: 14px !important;
  left: -35px !important;
  width: 140px !important;
  text-align: center !important;
  background: #b91c1c !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 4px 0 !important;
  transform: rotate(-35deg) !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

/* Button – accent from settings / per card */
.bwb-bonus-button {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin: 0 auto !important;
  padding: 10px 40px !important;
  background-color: var(--bwb-bt-accent, #28a745) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 18px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: 240px !important; /* enough for full label */
}

.bwb-bonus-button:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

@media (max-width: 600px) {
  .bwb-bonus-heading {
    line-height: 1;
    font-size: 1rem;
  }
}

/* 18+ line */
.bwb-bonus-terms {
  font-size: 11px !important;
  margin-top: 5px !important;
  color: #646464 !important;
  white-space: nowrap !important;
  margin-bottom: 0 !important;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

/* Tablet: 2 per row */
@media (max-width: 1024px) {
  .bwb-bonus-box {
    width: calc(50% - 10px) !important;
  }
}

/* Small mobile: still 2 per row */
@media (max-width: 480px) {
  .bwb-bonus-box {
    width: calc(50% - 10px) !important;
  }

  .bwb-bonus-terms {
    font-size: 10px !important;
  }
}

/* =========================
   DISCLAIMER BOX (RESTRICTED COUNTRIES)
   ========================= */

.disclaimer-box{
  border-radius:10px !important;
  background-color:#dc2828 !important;
  padding:20px !important;
  margin:20px auto !important;
  max-width:800px !important;
  text-align:center !important;
  box-shadow:0 2px 6px rgba(0,0,0,.1) !important;
}

.disclaimer-box p{
  font-size:20px !important;
  line-height:1.2 !important;
  color:#fff !important;
  margin:0 !important;
}

.disclaimer-box strong{
  color:#f9f9f9 !important;
}

@media only screen and (max-width: 768px){
  .disclaimer-box{
    padding:15px !important;
  }
  .disclaimer-box p{
    font-size:18px !important;
  }
}

/* === Bonus CTA Heading (centered + cool red underline) === */
.bwb-bonus-heading{
  margin: 18px 0 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .3px;
  padding-top: 20px;

  position: relative;
  display: block;
  text-align: center;
}

.bwb-bonus-heading::after{
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 8px auto 0;

  background: linear-gradient(
    90deg,
    #f21313 0%,
    #ff3a3a 50%,
    #f21313 100%
  );

  border-radius: 2px;
}

/* =========================
   Bonus Boxes – alignment fix (paste at bottom)
   ========================= */

/* Make each box a structured column */
.bwb-bonus-box{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 8px !important;

  padding: 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}

/* Consistent logo area (fixes different logo shapes messing up alignment) */
.bwb-bonus-logo{
  width: 100% !important;
  max-width: 200px !important;

  /* hard alignment helpers */
  height: 56px !important;          /* try 52–64 if needed */
  object-fit: contain !important;
  display: block !important;

  margin: 0 auto !important;
}

/* Text block should be full width and consistent height */
.bwb-bonus-text{
  width: 100% !important;
  min-height: 44px !important;      /* keeps buttons aligned even if text varies */
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
}

/* Reduce the “jumpiness” from tight line-height */
.bwb-bonus-text p{
  margin: 0 !important;
  line-height: 1.15 !important;
}

/* Push CTA + terms to the bottom consistently */
.bwb-bonus-button{
  margin-top: auto !important;      /* pins CTA toward bottom */
}

/* Make button alignment consistent (same width across boxes) */
.bwb-bonus-button{
  width: 100% !important;
  max-width: 240px !important;
  box-sizing: border-box !important;
}

/* Terms always sits under CTA, not floating weirdly */
.bwb-bonus-terms{
  margin-top: 0 !important;
}

/* First line = primary hook */
.bwb-bonus-text p:first-child{
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* Second line = supporting info */
.bwb-bonus-text p:last-child{
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.75) !important;
}