/* ============================================================
 * 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 {
  display: flex;
  gap: 8px;
  padding: 12px 12px 14px;
  background: #0d1115;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.horizontal-sl-list.promotion-horizontal-sl-list-bc::-webkit-scrollbar { display: none; }

.horizontal-sl-item-bc {
  flex: 1 1 80px;
  min-width: 80px;
  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-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.horizontal-sl-item-bc.active {
  background: #d3af37;          /* BS gold */
  color: #ffffff;
}
.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;
}

/* ─── Promosyon kartları (2 sütun, 177×224) ─────────────────── */
.promotionsListWrapper-bc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 6px 12px 16px;
}

.promotionsListEl-bc {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 177 / 224;       /* BS-exact ratio */
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.promotionsListEl-bc:active {
  transform: scale(0.97);
}
.promotionsListEl-bc:hover {
  box-shadow: 0 4px 14px rgba(211, 175, 55, 0.18);
}

.promotionsArticleThumbnail-bc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  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;
  border-radius: 10px;
}

/* Empty state */
.bs-promo-empty {
  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; }
}
