/* ===========================================================
   b9game.best — deep emerald & gold theme
   All classes prefixed with bgp- for uniqueness vs all prior sites
   =========================================================== */

:root {
  --bgp-emerald: #4ADE80;
  --bgp-emerald-2: #22C55E;
  --bgp-emerald-deep: #16A34A;
  --bgp-emerald-shadow: #0A1F12;
  --bgp-night: #050B07;
  --bgp-night-2: #0A1A0F;
  --bgp-night-3: #0F2818;
  --bgp-gold: #FACC15;
  --bgp-gold-2: #CA8A04;
  --bgp-text: #0F1A12;
  --bgp-text-mid: #4F5C53;
  --bgp-text-soft: #7A887F;
  --bgp-bg: #F7FBF8;
  --bgp-bg-2: #ECF4EE;
  --bgp-card: #FFFFFF;
  --bgp-line: #D6E3D9;

  --bgp-r-xs: 6px;
  --bgp-r-sm: 10px;
  --bgp-r-md: 14px;
  --bgp-r-lg: 20px;
  --bgp-r-xl: 28px;
  --bgp-r-2xl: 36px;

  --bgp-shadow-sm: 0 2px 6px rgba(5,11,7,.06);
  --bgp-shadow-md: 0 12px 32px rgba(5,11,7,.12);
  --bgp-shadow-glow: 0 12px 36px rgba(74,222,128,.4);
  --bgp-shadow-gold: 0 8px 24px rgba(250,204,21,.35);

  --bgp-max: 1200px;
  --bgp-head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--bgp-text);
  background: var(--bgp-bg);
  padding-bottom: 92px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.bgp-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bgp-emerald-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bgp-emerald-2); }

h1, h2, h3, h4 {
  font-family: 'Anton', 'Sora', sans-serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--bgp-night);
  letter-spacing: .005em;
  text-transform: uppercase;
}
h1 { font-size: 2rem; letter-spacing: 0; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.15rem; font-family: 'Sora', sans-serif; font-weight: 700; text-transform: none; letter-spacing: 0; }
p { margin: 0 0 1em; }

.bgp-container { width: 100%; max-width: var(--bgp-max); padding: 0 18px; margin: 0 auto; }

[dir="rtl"] body { font-family: 'Noto Nastaliq Urdu', 'Sora', serif; line-height: 2; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Noto Nastaliq Urdu', serif; text-transform: none; }

/* ============== HEADER ============== */
.bgp-header {
  background: var(--bgp-night);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(74,222,128,.18);
}
.bgp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--bgp-head-h);
  padding: 0 18px;
  max-width: var(--bgp-max); margin: 0 auto;
  gap: 10px;
}
.bgp-brand {
  display: inline-flex; align-items: center;
  height: 40px; flex: 0 0 auto;
}
.bgp-brand img { height: 32px; width: auto; }

.bgp-nav-desk {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
}
.bgp-nav-desk a {
  padding: 9px 14px;
  font-size: .92rem;
  font-weight: 600;
  color: #E8F2EB;
  border-radius: var(--bgp-r-sm);
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.bgp-nav-desk a:hover, .bgp-nav-desk a.bgp-active {
  background: rgba(74,222,128,.12);
  color: var(--bgp-emerald);
}
.bgp-nav-desk .bgp-cta-desk {
  background: linear-gradient(135deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
  color: var(--bgp-night) !important;
  font-weight: 700;
  margin-left: 8px;
  padding: 10px 20px;
  box-shadow: 0 4px 14px rgba(74,222,128,.3);
}
.bgp-nav-desk .bgp-cta-desk:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
}

.bgp-tools {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
}

/* Lang switcher — angular bracket style */
.bgp-locale {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(74,222,128,.4);
  border-radius: var(--bgp-r-sm);
  padding: 7px 13px;
  color: var(--bgp-emerald);
  font-weight: 700; font-size: .82rem;
  text-decoration: none;
  transition: all .2s;
  letter-spacing: .02em;
}
.bgp-locale:hover { background: rgba(74,222,128,.12); border-color: var(--bgp-emerald); color: var(--bgp-emerald); }
.bgp-locale svg { width: 14px; height: 14px; }

/* Hamburger */
.bgp-toggle {
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.3);
  width: 42px; height: 42px;
  border-radius: var(--bgp-r-sm);
  cursor: pointer;
  position: relative;
  flex: 0 0 42px;
  transition: all .2s;
}
.bgp-toggle:hover { background: rgba(74,222,128,.18); border-color: var(--bgp-emerald); }
.bgp-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--bgp-emerald);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform .3s, opacity .3s, top .3s;
}
.bgp-toggle span:nth-child(1) { top: calc(50% - 6px); }
.bgp-toggle span:nth-child(3) { top: calc(50% + 6px); }
.bgp-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.bgp-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bgp-toggle[aria-expanded="true"] span:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

/* Side drawer (left) — slides in from left side */
.bgp-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: linear-gradient(180deg, var(--bgp-night) 0%, var(--bgp-night-2) 100%);
  border-right: 2px solid var(--bgp-emerald);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
  z-index: 70;
  overflow-y: auto;
  padding: 24px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 16px 0 40px rgba(0,0,0,.4);
}
.bgp-drawer.bgp-open { transform: translateX(0); }
[dir="rtl"] .bgp-drawer {
  left: auto; right: 0;
  border-right: none;
  border-left: 2px solid var(--bgp-emerald);
  transform: translateX(100%);
  box-shadow: -16px 0 40px rgba(0,0,0,.4);
}
[dir="rtl"] .bgp-drawer.bgp-open { transform: translateX(0); }

.bgp-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(74,222,128,.15);
}
.bgp-drawer-head img { height: 30px; width: auto; }
.bgp-drawer-close {
  background: transparent; border: none;
  width: 36px; height: 36px;
  border-radius: var(--bgp-r-sm);
  color: var(--bgp-emerald);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.bgp-drawer-close:hover { background: rgba(74,222,128,.12); }
.bgp-drawer-close svg { width: 20px; height: 20px; }

.bgp-drawer-section {
  color: var(--bgp-emerald-2);
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 14px 14px 6px;
  margin: 0;
}

.bgp-drawer a:not(.bgp-drawer-cta) {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px;
  color: #F0F7F2;
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--bgp-r-md);
  text-decoration: none;
  transition: all .2s;
}
.bgp-drawer a:not(.bgp-drawer-cta):hover, .bgp-drawer a.bgp-active:not(.bgp-drawer-cta) {
  background: rgba(74,222,128,.08);
  color: var(--bgp-emerald);
}
.bgp-drawer a .bgp-tag {
  background: var(--bgp-gold);
  color: var(--bgp-night);
  font-size: .62rem; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}

.bgp-drawer-cta {
  background: linear-gradient(135deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
  color: var(--bgp-night) !important;
  text-align: center;
  border-radius: var(--bgp-r-md);
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: 14px;
  box-shadow: var(--bgp-shadow-glow);
  display: block;
  text-decoration: none;
}
.bgp-drawer-cta:hover { filter: brightness(1.08); color: var(--bgp-night) !important; }

.bgp-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,11,7,.65);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 69;
}
.bgp-backdrop.bgp-open { opacity: 1; pointer-events: auto; }

@media (min-width: 1000px) {
  .bgp-toggle { display: none; }
  .bgp-nav-desk { display: flex; }
  .bgp-drawer, .bgp-backdrop { display: none !important; }
  body { padding-bottom: 0; }
  .bgp-sticky-bar { display: none; }
}

/* ============== HERO — stacked: text + 2-banner stack ============== */
.bgp-hero {
  background:
    radial-gradient(circle at 70% 30%, rgba(74,222,128,.16) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(250,204,21,.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--bgp-night) 0%, var(--bgp-night-2) 60%, var(--bgp-night-3) 100%);
  color: #fff;
  padding: 36px 0 0;
  position: relative; overflow: hidden;
}
.bgp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%234ADE80' fill-opacity='0.025' d='M40 0L80 40L40 80L0 40z'/%3E%3C/svg%3E");
  pointer-events: none;
}

.bgp-hero-inner { position: relative; z-index: 2; }

.bgp-hero-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 18px;
}

.bgp-hero-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(74,222,128,.15) 0%, rgba(22,163,74,.15) 100%);
  border: 1px solid rgba(74,222,128,.4);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--bgp-emerald);
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.bgp-hero-flag .bgp-dot {
  width: 7px; height: 7px;
  background: var(--bgp-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74,222,128,.8);
}

.bgp-hero h1 {
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: -.005em;
}
.bgp-hero h1 .bgp-h1-glow {
  background: linear-gradient(180deg, #86EFAC 0%, var(--bgp-emerald) 50%, var(--bgp-emerald-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.bgp-hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin: 0 auto 22px;
  max-width: 560px;
  line-height: 1.6;
}

.bgp-hero-stats {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center;
  margin-bottom: 26px;
}
.bgp-stat {
  text-align: center;
}
.bgp-stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  background: linear-gradient(180deg, #FDE68A 0%, var(--bgp-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.bgp-stat-lbl {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}

.bgp-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 380px; margin: 0 auto;
}

@media (min-width: 720px) {
  .bgp-hero { padding: 56px 0 0; }
  .bgp-hero h1 { font-size: 3.2rem; }
  .bgp-hero-actions { flex-direction: row; max-width: none; justify-content: center; }
  .bgp-stat-num { font-size: 2.2rem; }
}
@media (min-width: 1000px) {
  .bgp-hero { padding: 70px 0 0; }
  .bgp-hero h1 { font-size: 4rem; }
}

/* Hero banner — single centered tile */
.bgp-hero-banners {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
}

.bgp-banner-tile {
  display: block;
  position: relative;
  border-radius: var(--bgp-r-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(74,222,128,.25);
  transition: transform .25s, box-shadow .25s;
}
.bgp-banner-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(74,222,128,.5);
}
.bgp-banner-tile img {
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: 1000 / 500;
  object-fit: cover;
}
.bgp-banner-tile .bgp-banner-cta {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--bgp-gold);
  color: var(--bgp-night);
  padding: 9px 18px;
  font-size: .82rem;
  font-weight: 800;
  border-radius: var(--bgp-r-sm);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--bgp-shadow-gold);
}
[dir="rtl"] .bgp-banner-tile .bgp-banner-cta { right: auto; left: 14px; }
.bgp-banner-tile .bgp-banner-cta svg { width: 13px; height: 13px; }

.bgp-hero-spacer { height: 50px; }
@media (min-width: 720px) { .bgp-hero-spacer { height: 70px; } }

/* ============== BUTTONS ============== */
.bgp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 800; font-size: 1rem;
  border-radius: var(--bgp-r-md);
  border: 0; cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, filter .2s, background .2s;
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: .005em;
}
.bgp-btn:active { transform: translateY(1px); }

.bgp-btn-emerald {
  background: linear-gradient(135deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
  color: var(--bgp-night);
  box-shadow: var(--bgp-shadow-glow);
}
.bgp-btn-emerald:hover {
  filter: brightness(1.1);
  color: var(--bgp-night);
}

.bgp-btn-gold {
  background: linear-gradient(135deg, var(--bgp-gold) 0%, var(--bgp-gold-2) 100%);
  color: var(--bgp-night);
  box-shadow: var(--bgp-shadow-gold);
}
.bgp-btn-gold:hover {
  filter: brightness(1.08);
  color: var(--bgp-night);
}

.bgp-btn-line {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.bgp-btn-line:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(74,222,128,.6);
  color: #fff;
}

.bgp-btn-block { width: 100%; }
.bgp-btn svg { width: 18px; height: 18px; }

/* ============== SECTIONS ============== */
.bgp-zone { padding: 48px 0; }
@media (min-width: 720px) { .bgp-zone { padding: 72px 0; } }
.bgp-zone-night {
  background: linear-gradient(180deg, var(--bgp-night) 0%, var(--bgp-night-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bgp-zone-night::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='%234ADE80' fill-opacity='0.03' d='M30 0L60 30L30 60L0 30z'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bgp-zone-night::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -40px;
  width: 280px; height: 410px;
  background-image: url('/img/mascot.webp');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}
[dir="rtl"] .bgp-zone-night::after {
  right: auto; left: -60px;
  transform: scaleX(-1);
}
@media (max-width: 720px) {
  .bgp-zone-night::after {
    width: 180px; height: 264px;
    right: -40px; bottom: -30px;
    opacity: 0.06;
  }
}
.bgp-zone-night > * { position: relative; z-index: 2; }
.bgp-zone-night h2 { color: #fff; }
.bgp-zone-night .bgp-sub-text { color: rgba(255,255,255,.72); }
.bgp-zone-cream { background: var(--bgp-bg-2); }

.bgp-zone-h {
  text-align: center;
  margin-bottom: 36px;
}
.bgp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bgp-emerald-deep);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bgp-zone-night .bgp-eyebrow { color: var(--bgp-emerald); }
.bgp-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.bgp-zone-h h2 { margin-bottom: 8px; }
.bgp-sub-text {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1rem;
  color: var(--bgp-text-mid);
}

/* ============== PLATFORM TILES (4 categories) ============== */
.bgp-platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .bgp-platform-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1000px) { .bgp-platform-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.bgp-tile {
  background: var(--bgp-card);
  padding: 28px 22px;
  border-radius: var(--bgp-r-lg);
  border: 1px solid var(--bgp-line);
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  text-align: center;
}
.bgp-tile:hover {
  transform: translateY(-5px);
  border-color: var(--bgp-emerald);
  box-shadow: var(--bgp-shadow-md);
}
.bgp-tile-ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  position: relative;
}
.bgp-tile-ico::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(74,222,128,.4);
  opacity: 0;
  transition: opacity .25s;
}
.bgp-tile:hover .bgp-tile-ico::after { opacity: 1; }
.bgp-tile-ico svg { width: 28px; height: 28px; color: var(--bgp-night); stroke-width: 2.5; }
.bgp-tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.bgp-tile p { font-size: .9rem; color: var(--bgp-text-mid); margin: 0; line-height: 1.55; }

/* ============== LOGIN FLOW — accordion-style numbered steps ============== */
.bgp-flow {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.bgp-flow-row {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(74,222,128,.15);
  border-radius: var(--bgp-r-lg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
  transition: border-color .25s, background .25s;
}
.bgp-flow-row:hover {
  border-color: rgba(74,222,128,.4);
  background: rgba(255,255,255,.06);
}
.bgp-flow-num {
  font-family: 'Anton', sans-serif;
  font-size: 2.4rem;
  background: linear-gradient(180deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.bgp-flow-row h3 { font-size: 1.08rem; margin-bottom: 4px; color: #fff; }
.bgp-flow-row p { font-size: .94rem; color: rgba(255,255,255,.7); margin: 0; line-height: 1.6; }
[dir="rtl"] .bgp-flow-row { grid-template-columns: 1fr 60px; }

/* ============== BONUS HERO BLOCK ============== */
.bgp-bonus-show {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 800px) { .bgp-bonus-show { grid-template-columns: 1fr 1fr; gap: 36px; } }

.bgp-bonus-card {
  background: linear-gradient(135deg, var(--bgp-night) 0%, var(--bgp-night-3) 100%);
  border: 2px solid rgba(250,204,21,.4);
  border-radius: var(--bgp-r-xl);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.bgp-bonus-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(250,204,21,.2) 0%, transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(74,222,128,.18) 0%, transparent 50%);
}
.bgp-bonus-card::after {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 180px; height: 264px;
  background-image: url('/img/mascot.webp');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
[dir="rtl"] .bgp-bonus-card::after {
  right: auto; left: -20px;
  transform: scaleX(-1);
}
.bgp-bonus-card > * { position: relative; z-index: 2; }
.bgp-bonus-tag {
  display: inline-block;
  background: var(--bgp-gold);
  color: var(--bgp-night);
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.bgp-bonus-amount {
  font-family: 'Anton', sans-serif;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(180deg, #FDE68A 0%, var(--bgp-gold) 50%, var(--bgp-gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.bgp-bonus-label {
  font-size: .92rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 24px;
}
.bgp-bonus-perks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.bgp-bonus-perk {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--bgp-r-md);
  padding: 12px 8px;
  text-align: center;
}
.bgp-bonus-perk svg {
  width: 22px; height: 22px;
  color: var(--bgp-emerald);
  margin: 0 auto 6px;
  display: block;
}
.bgp-bonus-perk-l {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bgp-bonus-side h2 { font-size: 1.6rem; margin-bottom: 14px; color: var(--bgp-night); }
.bgp-bonus-side p { color: var(--bgp-text-mid); font-size: .98rem; margin-bottom: 16px; }
.bgp-bonus-side .bgp-bonus-list {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.bgp-bonus-side .bgp-bonus-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--bgp-line);
  display: flex; align-items: center; gap: 12px;
  font-size: .94rem;
}
.bgp-bonus-side .bgp-bonus-list li:last-child { border-bottom: 0; }
.bgp-bonus-side .bgp-bonus-list svg {
  width: 20px; height: 20px;
  color: var(--bgp-emerald-deep);
  flex: 0 0 20px;
}

/* ============== PROMO GRID — 3 even cards (1 col mobile, 3 col desktop) ============== */
.bgp-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 800px) {
  .bgp-mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.bgp-mosaic-item {
  background: var(--bgp-card);
  border-radius: var(--bgp-r-lg);
  overflow: hidden;
  border: 1px solid var(--bgp-line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.bgp-mosaic-item:hover {
  transform: translateY(-3px);
  border-color: var(--bgp-emerald);
  box-shadow: var(--bgp-shadow-md);
  color: inherit;
}
.bgp-mosaic-cover {
  aspect-ratio: 1000 / 500;
  background: var(--bgp-night);
  overflow: hidden;
}
.bgp-mosaic-cover img { width: 100%; height: 100%; object-fit: cover; }
.bgp-mosaic-info {
  padding: 18px 20px 20px;
  flex: 1;
}
.bgp-mosaic-info h3 { font-size: 1.05rem; margin-bottom: 5px; color: var(--bgp-night); }
.bgp-mosaic-info p { font-size: .9rem; color: var(--bgp-text-mid); margin: 0; line-height: 1.55; }

/* ============== FAQ — pill question style ============== */
.bgp-faq {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.bgp-faq details {
  background: var(--bgp-card);
  border: 1px solid var(--bgp-line);
  border-radius: var(--bgp-r-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.bgp-faq details[open] { border-color: var(--bgp-emerald); }
.bgp-faq summary {
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  color: var(--bgp-night);
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: .98rem;
}
[dir="rtl"] .bgp-faq summary { padding: 18px 22px 18px 56px; }
.bgp-faq summary::-webkit-details-marker { display: none; }
.bgp-faq summary::after {
  content: '';
  position: absolute;
  right: 22px; top: 50%;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bgp-bg-2);
  transform: translateY(-50%);
  transition: background .2s;
}
.bgp-faq summary::before {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bgp-emerald-deep);
  font-weight: 800;
  font-size: 1.4rem;
  z-index: 2;
  transform: translateY(-50%);
  transition: transform .25s, color .25s;
}
[dir="rtl"] .bgp-faq summary::after,
[dir="rtl"] .bgp-faq summary::before { right: auto; left: 22px; }
.bgp-faq details[open] summary::before { transform: translateY(-50%) rotate(45deg); }
.bgp-faq details[open] summary::after { background: rgba(74,222,128,.15); }
.bgp-faq-body {
  padding: 0 22px 18px;
  color: var(--bgp-text-mid);
  font-size: .94rem;
  line-height: 1.7;
}

/* ============== INFO GUIDE BLOCK with FADE ============== */
.bgp-info-card {
  max-width: 920px; margin: 0 auto;
  background: var(--bgp-card);
  border: 1px solid var(--bgp-line);
  border-radius: var(--bgp-r-2xl);
  padding: 32px 24px 0;
}
@media (min-width: 720px) { .bgp-info-card { padding: 44px 48px 0; } }

.bgp-info-body {
  position: relative;
  max-height: 480px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.bgp-info-body.bgp-info-shown { max-height: 14000px; }
.bgp-info-body::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 65%, var(--bgp-card) 100%);
  pointer-events: none;
  transition: opacity .3s;
}
.bgp-info-body.bgp-info-shown::after { opacity: 0; }

.bgp-info-body h2 { font-size: 1.7rem; margin-bottom: .55em; }
.bgp-info-body h3 {
  font-size: 1.12rem;
  margin-top: 1.7em;
  margin-bottom: .55em;
  color: var(--bgp-night);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  text-transform: none;
  display: flex; align-items: center; gap: 12px;
}
.bgp-info-body h3::before {
  content: '';
  width: 6px; height: 24px;
  background: linear-gradient(180deg, var(--bgp-emerald) 0%, var(--bgp-emerald-deep) 100%);
  border-radius: 3px;
  flex: 0 0 6px;
}
.bgp-info-body h3:first-of-type { margin-top: 0; }
.bgp-info-body p {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--bgp-text);
  margin-bottom: 1em;
}
[dir="rtl"] .bgp-info-body p { line-height: 2; }
.bgp-info-body strong { color: var(--bgp-night); }

.bgp-info-toggle {
  position: relative; z-index: 2;
  text-align: center;
  padding: 8px 0 32px;
  margin-top: -64px;
}
.bgp-info-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bgp-night);
  color: var(--bgp-emerald);
  font-weight: 700;
  font-size: .96rem;
  padding: 14px 28px;
  border: 1.5px solid var(--bgp-emerald);
  border-radius: var(--bgp-r-md);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.bgp-info-btn:hover { background: var(--bgp-night-2); transform: translateY(-1px); }
.bgp-info-btn.bgp-info-flip .bgp-info-arrow { transform: rotate(180deg); }
.bgp-info-arrow { width: 14px; height: 14px; transition: transform .3s; }

/* ============== STICKY CTA — mobile bottom ============== */
.bgp-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(5,11,7,.94) 0%, var(--bgp-night) 100%);
  border-top: 1px solid rgba(74,222,128,.3);
  padding: 10px 12px;
  display: flex; gap: 8px;
}
.bgp-sticky-bar .bgp-btn { flex: 1; padding: 12px 14px; font-size: .92rem; }

/* ============== FOOTER ============== */
.bgp-footer {
  background: var(--bgp-night);
  color: rgba(255,255,255,.55);
  padding: 48px 0 24px;
  font-size: .88rem;
  border-top: 1px solid rgba(74,222,128,.18);
}
.bgp-footer h4 {
  color: var(--bgp-emerald);
  font-size: .82rem;
  margin-bottom: 14px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bgp-footer a { color: rgba(255,255,255,.65); transition: color .2s; }
.bgp-footer a:hover { color: var(--bgp-emerald); }

.bgp-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 30px;
}
@media (min-width: 600px) { .bgp-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .bgp-footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }

.bgp-footer-brand {
  position: relative;
}
.bgp-footer-brand::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 100px; height: 146px;
  background-image: url('/img/mascot.webp');
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
[dir="rtl"] .bgp-footer-brand::after {
  right: auto; left: 0;
  transform: scaleX(-1);
  background-position: bottom left;
}
.bgp-footer-brand > * { position: relative; z-index: 2; }
.bgp-footer-brand .bgp-footer-mark {
  height: 36px; width: auto;
  margin-bottom: 14px;
}
.bgp-footer-brand p {
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
}

.bgp-footer-18 {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.3);
  color: var(--bgp-emerald);
  padding: 5px 11px;
  border-radius: var(--bgp-r-sm);
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.bgp-footer-list { list-style: none; padding: 0; margin: 0; }
.bgp-footer-list li { margin-bottom: 8px; font-size: .85rem; }

.bgp-footer-base {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  font-size: .76rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.bgp-footer-base p { margin: 0 0 6px; }

/* ============== SMALL SCREENS ============== */
@media (max-width: 380px) {
  .bgp-hero h1 { font-size: 1.85rem; }
  .bgp-container { padding: 0 14px; }
  .bgp-header-inner { padding: 0 12px; gap: 6px; }
  .bgp-locale { padding: 6px 10px; font-size: .76rem; }
  .bgp-btn { padding: 12px 16px; font-size: .92rem; }
  .bgp-sticky-bar .bgp-btn { padding: 11px 10px; font-size: .85rem; }
  .bgp-tools { gap: 4px; }
  .bgp-flow-row { padding: 18px 16px; grid-template-columns: 50px 1fr; gap: 14px; }
  .bgp-flow-num { font-size: 2rem; }
  .bgp-bonus-amount { font-size: 3rem; }
  .bgp-hero-banners { padding: 0 14px; }
}

@media (max-width: 340px) {
  .bgp-hero h1 { font-size: 1.65rem; }
  .bgp-locale span { display: none; }
  .bgp-locale { padding: 6px 8px; }
  .bgp-bonus-perks { grid-template-columns: 1fr; }
  .bgp-platform-grid { grid-template-columns: 1fr; }
}
