
#tb-promos-page {
  min-height: 60vh;
  background: var(--bg, #0d0e17);
  padding-bottom: 60px;
}

.tb-promos-wrap,
.tb-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tb-promos-header {
  text-align: center;
  padding: 40px 0 28px;
}
.tb-promos-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.tb-promos-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.tb-promo-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.tb-promo-cat {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  outline: none !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-promo-cat:hover {
  border-color: var(--gold, #F5C542);
  color: var(--gold, #F5C542);
}
.tb-promo-cat:focus,
.tb-promo-cat:focus-visible,
.tb-promo-cat:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-promo-cat.active {
  background: var(--gold, #F5C542) !important;
  border-color: var(--gold, #F5C542) !important;
  color: #000 !important;
}


#tb-promo-modal ::selection {
  background: rgba(245,197,66,0.25);
  color: #fff;
}
#tb-promo-modal ::-moz-selection {
  background: rgba(245,197,66,0.25);
  color: #fff;
}

.tb-pm-acc-btn,
.tb-pm-acc-btn *,
.tb-pm-title,
.tb-pm-close,
.tb-detail-cta {
  user-select: none !important;
  -webkit-user-select: none !important;
}

#tb-promo-modal {
  display: none;
  position: fixed;
  top: var(--nav-h, 120px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(6,6,10,0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#tb-promo-modal.open {
  display: flex;
}

.tb-pm-box {
  background: var(--bg3, #1c1f31);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  width: 100%;
  max-width: 720px;
  flex-shrink: 0;
  position: relative;
  animation: tbPmIn .25s cubic-bezier(.34,1.56,.64,1);
  margin: auto;
}
@keyframes tbPmIn {
  from { opacity:0; transform: scale(.94) translateY(16px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

.tb-pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.tb-pm-close:hover { background: rgba(0,0,0,0.85); }
.tb-pm-close:focus,
.tb-pm-close:focus-visible,
.tb-pm-close:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.tb-pm-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.tb-pm-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold, #F5C542);
  border-radius: 50%;
  animation: tbSpin .7s linear infinite;
}
@keyframes tbSpin { to { transform: rotate(360deg); } }

.tb-pm-hero {
  position: relative;
  aspect-ratio: 16 / 6;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.tb-pm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-pm-hero .tb-promo-badge { top: 14px; left: 14px; }

.tb-pm-body {
  padding: 24px 28px 28px;
}
@media (max-width: 560px) { .tb-pm-body { padding: 18px 16px 22px; } }

.tb-pm-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.25;
  padding-right: 32px;
}
.tb-pm-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tb-pm-section {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tb-pm-acc-btn {
  width: 100%;
  background: none !important;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-pm-acc-btn:hover { color: var(--gold, #F5C542) !important; background: none !important; }
.tb-pm-acc-btn:focus,
.tb-pm-acc-btn:focus-visible,
.tb-pm-acc-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  color: #fff !important;
  border-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-pm-acc-body {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0;
}
.tb-pm-acc-body.open {
  max-height: 800px;
  padding-bottom: 16px;
}
.tb-pm-section:has(.tb-pm-acc-body.open) .tb-acc-arrow { transform: rotate(180deg); }

.tb-pm-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 4px;
  flex-wrap: wrap;
}

.tb-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin: 28px 0 20px;
  transition: color 0.2s;
}
.tb-detail-back:hover { color: var(--gold, #F5C542); text-decoration: none; }

.tb-detail-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 5.5;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .tb-detail-hero { aspect-ratio: 16/7; } }
.tb-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-detail-hero .tb-promo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.tb-detail-content {
  background: var(--bg3, #1c1f31);
  border-radius: 14px;
  padding: 30px 32px 36px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}
@media (max-width: 600px) { .tb-detail-content { padding: 20px 16px 24px; } }

.tb-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.tb-detail-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tb-detail-section {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tb-detail-acc-btn {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
}
.tb-detail-acc-btn:hover { color: var(--gold, #F5C542); }
.tb-acc-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: rgba(255,255,255,0.4);
}
.tb-detail-acc-body {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0;
}
.tb-detail-acc-body.open {
  max-height: 1200px;
  padding-bottom: 18px;
}
.tb-detail-section:has(.tb-detail-acc-body.open) .tb-acc-arrow {
  transform: rotate(180deg);
}

.tb-detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.tb-detail-cta {
  display: inline-block;
  background: var(--gold, #F5C542);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.tb-detail-cta:hover { background: var(--gold-h, #FFD454); color: #000; text-decoration: none; }
.tb-detail-back-btn {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.tb-detail-back-btn:hover { color: #fff; text-decoration: none; }
