/* ============================================================
   Betbom bonus kartı — iki sitede ortak bileşen.
   Yapı aynı; renkler .bb-card--dark / .bb-card--yemek varyantından gelir.
   Değerler mevcut site tokenlarından alınır; yeni renk uydurulmaz.
   ============================================================ */

.bb-card {
  --bb-bg: #141b2e;              /* sbobetbom --surface */
  --bb-ink: #e7ecf5;             /* sbobetbom --text */
  --bb-muted: #9aa6bd;           /* sbobetbom --text-muted */
  --bb-line: rgba(0, 224, 138, 0.35);  /* sbobetbom --accent */
  --bb-gold: #ffb703;            /* yemek paletindeki altın */
  --bb-gold-ink: #3d2c00;
  --bb-radius: 20px;

  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bb-bg);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  color: var(--bb-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
}

/* ---------- Üst: görsel alanı ---------- */
.bb-card-media { position: relative; }
.bb-card-media-link { display: block; }
/* Rozetler tıklamayı engellemesin; görselin tamamı /go/betbom bağlantısıdır. */
.bb-card-vip, .bb-card-chip { pointer-events: none; }

.bb-card-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--bb-radius) - 1px) calc(var(--bb-radius) - 1px) 0 0;
  background: #0f1626;
}

/* Görsel üstündeki yazıların okunabilirliği */
.bb-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--bb-radius) - 1px) calc(var(--bb-radius) - 1px) 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.66) 100%);
  pointer-events: none;
}

.bb-card-vip {
  position: absolute;
  top: 14px;
  right: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bb-gold);
  color: var(--bb-gold-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Görselin alt kenarına taşan altın etiket */
.bb-card-chip {
  position: absolute;
  left: 16px;
  bottom: -15px;
  z-index: 3;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bb-gold);
  color: var(--bb-gold-ink);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

/* ---------- Gövde ---------- */
.bb-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 18px 18px;
}

.bb-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bb-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
}
.bb-card-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
}

.bb-card-cat {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bb-muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.bb-card-title {
  margin: 0 0 8px;
  color: var(--bb-ink);
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.bb-card-desc {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--bb-muted);
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bb-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.bb-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--bb-gold);
  color: var(--bb-gold-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.bb-btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

.bb-card-terms {
  color: var(--bb-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.bb-card-terms:hover { color: var(--bb-gold); }

/* ---------- Yemek varyantı: --y-gold + --y-dark ---------- */
.bb-card--yemek {
  --bb-bg: var(--y-dark, #221a12);
  --bb-ink: #fdf8f0;
  --bb-muted: #c9b8a3;
  --bb-line: rgba(255, 183, 3, 0.45);
  --bb-gold: var(--y-gold, #ffb703);
  --bb-gold-ink: #3d2c00;
}

/* ---------- Bant (hero üstü) ---------- */
.bb-band {
  padding: 26px 0;
  background: linear-gradient(120deg, rgba(0, 224, 138, 0.12), rgba(0, 194, 255, 0.06));
  border-bottom: 1px solid rgba(0, 224, 138, 0.22);
}
.bb-band .container { display: flex; justify-content: center; }

/* Keşfet grid'inde kart kutusu */
.explore-betbom { display: flex; }
.explore-betbom .bb-card { margin: 0; max-width: none; }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .bb-card-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .bb-btn-gold { width: 100%; }
  .bb-card-terms { text-align: center; }
}
