/* ============================================================
 * promotions-mobile.css
 * BS-exact mobile promotions page (rule #28: 9-katman fidelity).
 * Class isimleri BS markup'ı ile birebir eşleşir.
 * ============================================================ */

/* Sayfa kapsayıcısı */
.bs-promotions-page {
  background: #0d1115;
  min-height: calc(100vh - 60px);
  padding-bottom: 80px;
  width: 100%;
}

/* ─── Kategori chip listesi (HEPSİ / CASİNO / SPOR) ─────────── */
.horizontal-sl-list.promotion-horizontal-sl-list-bc {
  /* BS-paralel: 3-col grid → 5 chip = 1.satır 3 + 2.satır 2 */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 12px 14px;
  background: #0d1115;
}

.horizontal-sl-item-bc {
  /* Grid layout — no flex sizing needed, each cell takes 1fr */
  height: 60px;
  padding: 5px;
  border-radius: 4px;
  background: #1a1d21;
  color: #ffffff;
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.horizontal-sl-item-bc.active {
  background: linear-gradient(180deg, #fdbc0c 0%, #d3a90a 100%);   /* BS gold gradient */
  color: #2a1e00;
}
.horizontal-sl-item-bc .horizontal-sl-icon-bc {
  font-size: 22px;
  line-height: 1;
  color: inherit;
  display: inline-block;
  font-style: normal;
  width: 22px;
  height: 22px;
}
/* Icon shimleri (FontAwesome fallback) */
.horizontal-sl-item-bc .bc-i-popular::before { content: "★"; }
.horizontal-sl-item-bc .bc-i-slots::before   { content: "🎰"; }
.horizontal-sl-item-bc .bc-i-sport::before   { content: "⚽"; }

.horizontal-sl-item-bc .horizontal-sl-title-bc {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

/* ─── MirrorOps clone (2026-05-30): BS bonus-talep iç sayfa parite ───
 * Chip filter (.horizontal-sl-list) tamamen kaldırıldı (BS'te yok).
 * Her kart: thumbnail link + sağ-üst info-icon + alt TALEP ET butonu.
 * Aspect ratio 177/280 (BS-paralel taller card).
 * WCAG 2.2: focus-visible 2px gold outline, info-icon 44×44 effective hit. */
.promotionsListWrapper-bc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: #0d1115;
}

/* ─── Welcome user card (BS bonus-talep paralel header) ───────── */
.bonusWelcomeCard-bc {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(33, 56, 96, 0.85) 0%, rgba(20, 36, 64, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.bonusWelcomeCard-avatar-bc {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}
.bonusWelcomeCard-avatar-bc svg {
  width: 24px;
  height: 24px;
}
.bonusWelcomeCard-initials-bc {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.bonusWelcomeCard-text-bc {
  flex: 1 1 auto;
  min-width: 0;
}
.bonusWelcomeCard-greeting-bc {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.3;
}
.bonusWelcomeCard-name-bc {
  color: #4fc3f7;
  font-weight: 500;
}
.bonusWelcomeCard-invite-bc {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ─── Chip filter badge counts (BS-paralel red dot) ───────────── */
.horizontal-sl-item-bc {
  position: relative;
}
.horizontal-sl-badge-bc {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #fdbc0c;        /* BS gold badge */
  color: #2a1e00;             /* BS dark text on gold */
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border: 1.5px solid #0d1115;
}

.promotionsListEl-bc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #15191e;
  border-radius: 4px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  /* No fixed aspect — image area keeps native 177/224, button adds 40px below */
}

/* Thumbnail link area — native 177/224 ratio, image not cropped */
.promotionsListThumb-bc {
  display: block;
  width: 100%;
  aspect-ratio: 177 / 224;
  text-decoration: none;
  position: relative;
  flex: 0 0 auto;
}
.promotionsListThumb-bc:active {
  filter: brightness(0.92);
}

.promotionsArticleThumbnail-bc {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.promotionsArticleThumbnail-bc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info-icon — top-right corner, dark scrim, 28x28 visible, 44x44 effective */
.promotionsListInfo-bc {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  z-index: 2;
  transition: background 0.15s ease;
}
.promotionsListInfo-bc::after {
  content: '';
  position: absolute;
  inset: -8px; /* WCAG 2.2 SC 2.5.8 — 44×44 effective hit area */
}
.promotionsListInfo-bc:hover {
  background: rgba(0, 0, 0, 0.78);
}
.promotionsListInfo-bc:focus-visible {
  outline: 2px solid #d3af37;
  outline-offset: 2px;
}
/* Info-icon glyph — inline SVG (clipboard outline, BS-paralel pattern) */
.promotionsListInfo-bc svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* TALEP ET button — full-width bottom of card */
.promotionsListAction-bc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 40px;
  height: 40px;
  background: #1f262d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease-out;
}
.promotionsListAction-bc:hover,
.promotionsListAction-bc:active {
  background: #2a323a;
}
.promotionsListAction-bc:focus-visible {
  outline: 2px solid #d3af37;
  outline-offset: -2px;
}
.promotionsListAction-bc .bc-i-arrow-right::before {
  content: '→';
  font-size: 14px;
  line-height: 1;
  display: inline-block;
}
.promotionsListAction-text-bc {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .promotionsListAction-bc,
  .promotionsListInfo-bc,
  .promotionsListThumb-bc {
    transition: none;
  }
}

/* Empty state */
.bs-promo-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  grid-column: 1 / -1;
}

/* ─── DETAY SAYFA (BS-exact) ────────────────────────────────── */
.bs-promotion-detail {
  background: #0d1115;
  min-height: calc(100vh - 60px);
  padding-bottom: 100px;
  color: #ffffff;
}

/* Başlık bar — sarı/altın arkaplan */
.promotionDetailsHeaderTitle-bc {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #d3af37;
  padding: 10px 14px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.promo-detail-back-bc {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.promo-detail-back-bc i { font-style: normal; line-height: 1; }
.promo-detail-title-bc {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0d1115;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

/* Büyük görsel */
.promo-detail-thumb-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 12px;
}
.promo-detail-thumb {
  width: 245px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Accordion */
.promo-detail-accordion {
  padding: 12px 12px 24px;
}
.promo-acc-item {
  background: #15191e;
  border-radius: 0;
  margin-bottom: 1px;
  overflow: hidden;
  border-bottom: 1px solid rgba(211, 175, 55, 0.15);
}
.promo-acc-item:first-of-type {
  border-top: 1px solid rgba(211, 175, 55, 0.15);
}
.promo-acc-header {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.promo-acc-header::-webkit-details-marker { display: none; }
.promo-acc-arrow {
  font-style: normal;
  display: inline-block;
  font-size: 14px;
  color: #d3af37;
  transition: transform 0.2s ease;
  width: 14px;
  text-align: center;
}
.promo-acc-item[open] .promo-acc-arrow {
  transform: rotate(180deg);
}
.promo-acc-body {
  padding: 8px 16px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.promo-acc-body p {
  margin: 0 0 8px;
}
.promo-acc-body p:last-child {
  margin-bottom: 0;
}

/* Küçük ekran tweak */
@media (max-width: 360px) {
  .promotionsListWrapper-bc { gap: 10px; padding: 6px 10px 16px; }
  .horizontal-sl-list.promotion-horizontal-sl-list-bc { padding: 10px 10px 12px; gap: 6px; }
}
