.elementor-4427 .elementor-element.elementor-element-c294e59{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4427 .elementor-element.elementor-element-c294e59:not(.elementor-motion-effects-element-type-background), .elementor-4427 .elementor-element.elementor-element-c294e59 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #1328E0 0%, #000000 100%);}.elementor-4427 .elementor-element.elementor-element-b96b561{--display:flex;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-4427 .elementor-element.elementor-element-51af3bd{--spacer-size:10px;}.elementor-4427 .elementor-element.elementor-element-4f55d66{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4427 .elementor-element.elementor-element-094f82c{--display:flex;}.elementor-4427 .elementor-element.elementor-element-709a613{--display:flex;}.elementor-4427 .elementor-element.elementor-element-2d906a6{--display:flex;}.elementor-4427 .elementor-element.elementor-element-e7f17a8{--display:flex;}.elementor-4427 .elementor-element.elementor-element-987e752{--display:flex;}.elementor-4427 .elementor-element.elementor-element-748d9c2{--display:flex;}.elementor-4427 .elementor-element.elementor-element-9ba2a95{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-4427 .elementor-element.elementor-element-2cde391{--display:flex;--min-height:0px;}.elementor-4427 .elementor-element.elementor-element-746acef{--display:flex;--min-height:141px;}.elementor-4427 .elementor-element.elementor-element-d3c00d2{--display:flex;--min-height:141px;}.elementor-4427 .elementor-element.elementor-element-58aa514{--display:flex;--min-height:141px;}.elementor-4427 .elementor-element.elementor-element-dbf6124{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:877px){.elementor-4427 .elementor-element.elementor-element-2cde391{--width:25%;}.elementor-4427 .elementor-element.elementor-element-746acef{--width:25%;}.elementor-4427 .elementor-element.elementor-element-d3c00d2{--width:25%;}.elementor-4427 .elementor-element.elementor-element-58aa514{--width:25%;}}/* Start custom CSS for html, class: .elementor-element-4d65934 */.live-counter-section {
  text-align: center;
  background: linear-gradient(135deg, #00274d, #013c64);
  padding: 50px 20px;
  border-radius: 15px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
}

.live-counter-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.highlight {
  background: linear-gradient(90deg, #00ffcc, #00bfff);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.counter-box {
  margin-top: 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: inline-block;
  padding: 20px 60px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.counter-box:hover {
  transform: scale(1.03);
}

.count {
  font-size: 52px;
  font-weight: bold;
  color: #00ffcc;
  text-shadow: 0 0 15px rgba(0, 255, 200, 0.7);
  letter-spacing: 2px;
}

.subtext {
  margin-top: 8px;
  font-size: 15px;
  color: #d8ffff;
}
<!-- WEEKLY BONUS9M LIVE COUNTER (blue theme) -->
<section id="weekly-b9m" class="weekly-b9m">
  <div class="weekly-wrap">
    <div class="badge">BONUS9M • Weekly Live Counter</div>

    <h2 class="title">This Week’s Registrations Using Promo Code <span class="code">BONUS9M</span></h2>
    <p class="sub">Live estimate — Monday to Sunday (auto-resets weekly)</p>

    <div class="counter-card">
      <div class="label">Total Accounts This Week</div>
      <div class="digits" id="weekCount">500</div>
      <div class="cap-note">Target cap this week: <b>4,790</b></div>
    </div>

    <!-- News / Ticker -->
    <div class="ticker-wrap">
      <div class="ticker-title">New Player</div>
      <div class="ticker" id="tickerLine">
        <!-- items are injected by JS -->
      </div>
    </div>
  </div>
</section>

<style>
  .weekly-b9m{
    --blue-900:#0b2a5a;
    --blue-800:#10356f;
    --blue-700:#16428e;
    --blue-600:#1f57c3;
    --blue-500:#2b6df3;
    --white:#eaf2ff;
    --mint:#91f3d0;
    --glass:rgba(255,255,255,.08);
    background: radial-gradient(1200px 600px at 70% 0%, var(--blue-700), var(--blue-900));
    padding: 64px 18px;
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .weekly-wrap{max-width:1100px;margin:0 auto;text-align:center}
  .badge{
    display:inline-block;
    padding:6px 14px;
    background:linear-gradient(90deg, var(--blue-500), var(--blue-600));
    border-radius:999px;
    font-weight:700;
    letter-spacing:.5px;
    box-shadow:0 0 0 0 rgba(145,243,208,.35);
    animation:pulseGlow 2.8s ease-in-out infinite;
  }
  @keyframes pulseGlow{
    0%{box-shadow:0 0 0 0 rgba(145,243,208,.35)}
    70%{box-shadow:0 0 0 14px rgba(145,243,208,0)}
    100%{box-shadow:0 0 0 0 rgba(145,243,208,0)}
  }
  .title{font-size:clamp(22px,3.2vw,36px);margin:14px 0 4px;font-weight:800}
  .title .code{
    background:linear-gradient(90deg,#00ffd0,#54b1ff);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
    text-shadow:0 0 18px rgba(84,177,255,.35);
  }
  .sub{opacity:.8;margin-bottom:22px}

  .counter-card{
    backdrop-filter: blur(8px);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    padding:28px 22px 30px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 40px rgba(0,0,0,.25);
    max-width:760px;margin:0 auto 22px;
  }
  .label{opacity:.85;margin-bottom:6px;letter-spacing:.3px}
  .digits{
    font-size: clamp(42px,8vw,82px);
    font-weight:900;
    letter-spacing: .5px;
    line-height:1;
    text-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 22px rgba(43,109,243,.35);
    animation: countGlow 3.5s ease-in-out infinite;
  }
  @keyframes countGlow{
    0%,100%{text-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 16px rgba(43,109,243,.28)}
    50%{text-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 28px rgba(43,109,243,.6)}
  }
  .cap-note{opacity:.75;margin-top:8px}

  /* Ticker */
  .ticker-wrap{
    display:flex;gap:12px;align-items:center;
    margin-top:26px;
    background:var(--glass);
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    padding:10px 12px;
    overflow:hidden;
  }
  .ticker-title{
    flex:0 0 auto;
    font-weight:800;
    color:#c4ffe8;
    background:rgba(145,243,208,.1);
    border:1px solid rgba(145,243,208,.35);
    padding:6px 10px;border-radius:8px;margin-right:6px
  }
  .ticker{
    display:flex;gap:22px;align-items:center;white-space:nowrap;
    animation:scrollLeft 28s linear infinite;
  }
  @keyframes scrollLeft{
    0%{transform:translateX(0)}
    100%{transform:translateX(-50%)}
  }
  .tick-item{
    display:inline-flex;align-items:center;gap:10px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.15);
    padding:6px 10px;border-radius:10px;
  }
  .flag{font-size:18px}
  .acc{opacity:.95;font-weight:700}
  .divider{opacity:.45}

  /* small screens */
  @media (max-width:560px){
    .ticker{animation-duration:36s}
    .ticker-wrap{padding:8px}
    .tick-item{gap:8px}
  }
</style>

<script>
(function(){
  const MAX_THIS_WEEK = 4790;
  const START_THIS_WEEK = 500;

  const counterEl = document.getElementById('weekCount');
  const tickerEl  = document.getElementById('tickerLine');

  /* ---------- weekly reset (Monday) ---------- */
  function getMondayKey(){
    const d = new Date();
    const day = d.getDay();               // 0 Sun … 6 Sat
    const diff = (day === 0 ? -6 : 1 - day); // go back to Monday
    const monday = new Date(d.getFullYear(), d.getMonth(), d.getDate() + diff);
    monday.setHours(0,0,0,0);
    return 'b9m-week-' + monday.getTime();
  }

  const weekKey = getMondayKey();
  let saved = JSON.parse(localStorage.getItem(weekKey) || 'null');
  if(!saved){ saved = {count: START_THIS_WEEK, time: Date.now()}; }
  else {
    // If localStorage has an older week, clear others
    Object.keys(localStorage).forEach(k => { if(k.startsWith('b9m-week-') && k !== weekKey) localStorage.removeItem(k); });
  }

  let count = Math.min(saved.count, MAX_THIS_WEEK);
  renderCount(count);

  /* ---------- random burst update engine ---------- */
  const baseIntervals = [3000, 7000, 5000, 13000, 4000, 9000];
  function nextDelay(){
    const base = baseIntervals[Math.floor(Math.random()*baseIntervals.length)];
    const jitter = (Math.random()*1200) - 600; // ±600ms
    return Math.max(1200, base + jitter);
  }
  function nextStep(){
    if(count >= MAX_THIS_WEEK) return; // reached cap
    const step = weightedStep();       // random + weighted
    count = Math.min(MAX_THIS_WEEK, count + step);
    animateTo(count);
    saved.count = count; saved.time = Date.now();
    localStorage.setItem(weekKey, JSON.stringify(saved));
    schedule();
  }
  function weightedStep(){
    // Mostly small increases; sometimes larger spikes
    const r = Math.random();
    if(r < .60) return 1;
    if(r < .85) return 2;
    if(r < .95) return 3;
    return Math.floor(4 + Math.random()*5); // 4..8 burst
  }
  function schedule(){ setTimeout(nextStep, nextDelay()); }
  schedule();

  /* ---------- number animation ---------- */
  let animId;
  function animateTo(target){
    cancelAnimationFrame(animId);
    const start = parseInt(counterEl.dataset.val || counterEl.textContent.replace(/,/g,''),10);
    const diff = target - start;
    const dur = Math.min(900, 200 + diff*60); // quick for small, smoother for larger
    const t0 = performance.now();
    (function frame(t){
      const p = Math.min(1, (t - t0)/dur);
      const cur = Math.round(start + diff * easeOutCubic(p));
      renderCount(cur);
      if(p < 1) animId = requestAnimationFrame(frame);
    }
    /* Prevent horizontal cut on mobile */
html, body {
  overflow-x: hidden;
}

/* Main wrapper */
.mbb-counter {
  box-sizing: border-box;
  padding: clamp(16px, 4vw, 32px);
  width: 100%;
}

/* Inner card that holds the heading + number box */
.mbb-counter .counter-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;       /* ডেস্কটপে যুক্তিসঙ্গত প্রস্থ */
  margin: 0 auto;         /* মাঝখানে রাখে */
  padding: clamp(16px, 3.5vw, 28px);
  border-radius: 18px;
  overflow: hidden;       /* রেডিয়াসে বাইরে না যায় */
}

/* Big number box */
.mbb-counter .counter-number {
  width: 100%;
  max-width: 520px;
  margin: 16px auto 0;
  padding: clamp(12px, 3vw, 20px);
  border-radius: 14px;
  box-sizing: border-box;
}

/* Long titles should wrap instead of overflowing */
.mbb-counter h1,
.mbb-counter h2,
.mbb-counter h3,
.mbb-counter p {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile specific tune */
@media (max-width: 480px) {
  .mbb-counter {
    padding: 16px 14px;
  }
  .mbb-counter .counter-card {
    max-width: 420px;     /* ফোনে নিরাপদ প্রস্থ */
    padding: 16px;
    border-radius: 14px;
  }
  .mbb-counter .counter-number {
    max-width: 380px;
    padding: 12px;
    border-radius: 12px;
  }
  .mbb-counter .counter-number .digits {
    font-size: clamp(28px, 9vw, 38px); /* বড় সংখ্যা ছোট স্ক্রিনে ফিট হবে */
    line-height: 1.15;
  }
}

/* Any image/icon inside header keeps inside width */
.mbb-counter img, .mbb-counter svg {
  max-width: 100%;
  height: auto;
}

/* If any element had fixed min-width, neutralize on small screens */
@media (max-width: 480px) {
  .mbb-counter [style*="min-width"] {
    min-width: auto !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2fe9207 *//* Section base */
.xb-reviews {
  margin: 32px 0;
  color: #0e1b2c;
}
.xb-reviews__title {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  margin-bottom: 6px;
}
.xb-reviews__title span {
  background: #eaf5ff;
  border: 1px solid #b6dcff;
  padding: 2px 8px;
  border-radius: 8px;
}
.xb-reviews__sub {
  text-align: center;
  color: #5f6b7a;
  margin-bottom: 22px;
}

/* Grid */
.xb-reviews__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
  .xb-reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .xb-reviews__grid { grid-template-columns: 1fr; }
}

/* Card */
.xb-review {
  background: #fff;
  border: 1px solid #e6eef7;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(14, 27, 44, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.xb-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14, 27, 44, 0.1);
}

/* Top row */
.xb-review__top {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.xb-flag {
  font-size: 28px;
  line-height: 1;
}
.xb-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.xb-country {
  font-size: 13px;
  color: #6d7a88;
}
.xb-badge {
  font-size: 12px;
  background: #eef6ff;
  color: #2266cc;
  border: 1px solid #cfe4ff;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.xb-badge--mint { background:#eafff7; color:#11997a; border-color:#bdf3e5; }
.xb-badge--gold { background:#fff9e6; color:#915f00; border-color:#ffe7a3; }
.xb-badge--purple { background:#f3ecff; color:#6236ff; border-color:#e1d2ff; }

/* Stars + text */
.xb-stars {
  color: #ffb400;
  letter-spacing: 2px;
  font-size: 16px;
  margin: 6px 0 8px;
}
.xb-text {
  font-size: 14px;
  color: #2d3a49;
  margin: 0;
}

/* CTA */
.xb-cta {
  margin-top: 20px;
  text-align: center;
}
.xb-cta__btn {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(34,197,94,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.xb-cta__btn:hover {
  transform: translateY(-3px);
  background: #16a34a;
  box-shadow: 0 10px 24px rgba(22,163,74,.4);
}
.xb-cta__note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}
.xb-flag img { width: 28px; height: 20px; border-radius: 3px; display:block; }/* End custom CSS */