/* Bonus Talep - frontend tema
   Referans tasarim: yekbonus arayuzu (yeniden yazildi) */

:root {
  --bt-bg: #002c49;
  --bt-accent: #3c9bed;
  --bt-accent-rgb: 60, 155, 237;
  --bt-pill: #093454;
  --bt-text: #ffffff;
  --bt-text-dim: rgba(255, 255, 255, 0.72);
  --bt-glass: rgba(255, 255, 255, 0.06);
  --bt-glass-border: rgba(255, 255, 255, 0.1);
  --bt-danger: #b91c1c;
  --bt-radius-card: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bt-bg);
  color: var(--bt-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
}

/* ---------- Kabuk ---------- */
.app-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--bt-bg);
  background-image:
    radial-gradient(ellipse at 15% 40%, rgba(var(--bt-accent-rgb), 0.07) 0, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(168, 85, 247, 0.05) 0, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(var(--bt-accent-rgb), 0.04) 0, transparent 60%);
}

.content-container {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
}

/* ---------- Header ---------- */
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 5px;
  padding: 5px 0 10px;
}

.header-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.header-user-section {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--bt-glass-border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.header-user-avatar {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(var(--bt-accent-rgb), 0.55);
  border-radius: 50%;
  object-fit: cover;
  background: #0b2c46;
  box-shadow: 0 0 0 3px rgba(var(--bt-accent-rgb), 0.14), 0 4px 14px rgba(var(--bt-accent-rgb), 0.28);
}

.header-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-title {
  display: flex;
  gap: 6px;
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.19px;
  color: #fff;
}

.username-text {
  font-weight: 700;
  color: var(--bt-accent);
}

.header-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--bt-text-dim);
}

.header-history-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(var(--bt-accent-rgb), 0.2);
  border-radius: 12px;
  background: rgba(var(--bt-accent-rgb), 0.1);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.header-history-btn:hover {
  background: rgba(var(--bt-accent-rgb), 0.2);
  border-color: rgba(var(--bt-accent-rgb), 0.45);
}

.header-history-btn svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.header-history-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ---------- Navigasyon ---------- */
.navigation-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.navigation-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 1000px;
}

.sub-category-menu {
  display: flex;
  justify-content: center;
  width: 100%;
}

.tabs-container {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 14px 16px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-container::-webkit-scrollbar {
  display: none;
}

.tab-item {
  position: relative;
  flex: 0 0 auto;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--bt-pill);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tab-button:hover {
  background: #0d4368;
}

.tab-button.active {
  background: var(--bt-accent);
  border-color: transparent;
  box-shadow: 0 2px 10px -2px rgba(var(--bt-accent-rgb), 0.35);
}

.tab-icon {
  width: 16px;
  height: 16px;
}

.tab-count {
  position: absolute;
  top: -6px;
  right: -6px;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.tab-count[data-uzun="true"] {
  width: auto;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
}

.main-category-menu {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  height: 48px;
  margin: 0 auto;
}

.main-category-button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 300px;
  height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.main-category-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.main-category-button.active {
  border-color: rgba(var(--bt-accent-rgb), 0.5);
  background: var(--bt-accent);
  box-shadow: 0 4px 16px -4px rgba(var(--bt-accent-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.main-category-icon {
  width: 22px;
  height: 22px;
}

/* ---------- Bonus grid ---------- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1000px;
  margin-top: 28px;
}

.bonus-card {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--bt-radius-card);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 40px rgba(0, 0, 0, 0.55);
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #080b14;
  object-fit: cover;
}

.card-badges-container {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  z-index: 2;
}

.card-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bt-danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.card-badge[data-cat="casino"] {
  background: #2563eb;
}

.card-badge[data-cat="spor"] {
  background: #16a34a;
}

.card-badge[data-cat="hosgeldin"] {
  background: #7c3aed;
}

.card-badge[data-cat="kayip"] {
  background: var(--bt-danger);
}

.card-badge[data-cat="deneme"] {
  background: #d97706;
}

.card-badge[data-cat="tumu"] {
  background: #0f766e;
}

.card-info-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.card-info-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.card-bottom-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%);
}

.card-overlay-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-overlay-go-btn {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: linear-gradient(135deg, #f5d79e, #dbb67a 30%, #aa7c3a 70%, #8c6229);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(170, 124, 58, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease;
}

.card-overlay-go-btn:hover {
  transform: scale(1.1);
}

.card-overlay-go-btn svg {
  width: 14px;
  height: 14px;
}

.bonus-empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: var(--bt-text-dim);
  text-align: center;
}

/* ---------- Cark ---------- */
.bonus-grid[hidden],
.sub-category-menu[hidden],
.cark-panel[hidden] {
  display: none;
}

/* ---------- Modal ---------- */
.bt-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 5, 14, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bt-modal[hidden] {
  display: none;
}

.bt-modal-box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  max-height: 88vh;
  border: 1px solid rgba(var(--bt-accent-rgb), 0.2);
  border-radius: 18px;
  background: var(--bt-bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bt-modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 56px 18px 18px;
}

.bt-modal-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  background: #080b14;
}

.bt-modal-thumb[hidden] {
  display: none;
}

.bt-modal-head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.bt-modal-rozet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(var(--bt-accent-rgb), 0.35);
  border-radius: 999px;
  background: rgba(var(--bt-accent-rgb), 0.14);
  color: var(--bt-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.bt-modal-rozet svg {
  width: 13px;
  height: 13px;
}

.bt-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.bt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.bt-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.bt-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 4px;
  overflow-y: auto;
}

.bt-kural {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--bt-accent);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bt-kural-baslik {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.bt-kural-metin {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bt-text-dim);
}

.bt-kural-metin::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bt-accent);
}

.bt-modal-onay {
  margin: 12px 18px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(var(--bt-accent-rgb), 0.1);
  color: var(--bt-text-dim);
  font-size: 12px;
  line-height: 1.5;
}

.bt-modal-onay[hidden] {
  display: none;
}

.bt-modal-uyari {
  margin: 12px 18px 0;
  padding: 11px 14px;
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 10px;
  background: rgba(185, 28, 28, 0.15);
  color: #fca5a5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.bt-modal-uyari[data-tip="basarili"] {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.15);
  color: #86efac;
}

.bt-modal-uyari[hidden] {
  display: none;
}

.bt-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 18px;
}

.bt-modal-ikincil,
.bt-modal-submit {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.75px;
  cursor: pointer;
}

.bt-modal-ikincil {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
}

.bt-modal-ikincil:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bt-modal-submit {
  border: 1px solid rgba(var(--bt-accent-rgb), 0.45);
  background: rgba(var(--bt-accent-rgb), 0.9);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.bt-modal-submit:hover {
  background: var(--bt-accent);
}

.bt-modal-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.bt-modal-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bt-text-dim);
}

/* ---------- Gecmis ---------- */
.bt-gecmis-box {
  max-width: 540px;
}

.bt-gecmis-head {
  padding-bottom: 8px;
}

.bt-gecmis-ozet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 12px;
}

.bt-gecmis-ozet[hidden] {
  display: none;
}

.bt-ozet-kutu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border: 1px solid var(--bt-glass-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.bt-ozet-sayi {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.bt-ozet-etiket {
  font-size: 11px;
  color: var(--bt-text-dim);
}

.bt-ozet-kutu[data-durum="bekliyor"] .bt-ozet-sayi {
  color: #fbbf24;
}

.bt-ozet-kutu[data-durum="onaylandi"] .bt-ozet-sayi {
  color: #4ade80;
}

.bt-ozet-kutu[data-durum="reddedildi"] .bt-ozet-sayi {
  color: #f87171;
}

.bt-gecmis-filtre {
  display: flex;
  gap: 6px;
  padding: 0 18px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bt-gecmis-filtre[hidden] {
  display: none;
}

.bt-gecmis-filtre::-webkit-scrollbar {
  display: none;
}

.bt-filtre-btn {
  flex: 0 0 auto;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--bt-pill);
  color: var(--bt-text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bt-filtre-btn:hover {
  color: #fff;
}

.bt-filtre-btn.active {
  background: var(--bt-accent);
  border-color: transparent;
  color: #fff;
}

.bt-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 18px 18px;
  overflow-y: auto;
}

.bt-gecmis-kart {
  padding: 12px 14px;
  border: 1px solid var(--bt-glass-border);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.bt-gecmis-kart[data-durum="bekliyor"] {
  border-left-color: #fbbf24;
}

.bt-gecmis-kart[data-durum="onaylandi"] {
  border-left-color: #4ade80;
}

.bt-gecmis-kart[data-durum="reddedildi"] {
  border-left-color: #f87171;
}

.bt-gecmis-ust {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bt-gecmis-baslik {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.bt-gecmis-bonus {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--bt-text-dim);
}

.bt-gecmis-alt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.bt-gecmis-alt svg {
  width: 13px;
  height: 13px;
}

.bt-gecmis-neden {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(185, 28, 28, 0.15);
  color: #fca5a5;
  font-size: 12px;
  line-height: 1.5;
}

.bt-gecmis-neden strong {
  flex: 0 0 auto;
}

.bt-gecmis-bos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 16px;
  color: var(--bt-text-dim);
  text-align: center;
}

.bt-gecmis-bos svg {
  width: 44px;
  height: 44px;
  opacity: 0.5;
}

.bt-gecmis-bos p {
  margin: 0;
  font-size: 13px;
}

.bt-history-status {
  flex: 0 0 auto;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.bt-history-status[data-durum="onaylandi"] {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
}

.bt-history-status[data-durum="bekliyor"] {
  background: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
}

.bt-history-status[data-durum="reddedildi"] {
  background: rgba(185, 28, 28, 0.2);
  color: #f87171;
}

/* ---------- Yukleniyor ---------- */
.bt-yukleniyor {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--bt-bg);
  color: var(--bt-text-dim);
  font-size: 14px;
}

.bt-yukleniyor[hidden] {
  display: none;
}

.bt-yukleniyor p {
  margin: 0;
}

.bt-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--bt-accent);
  border-radius: 50%;
  animation: bt-don 0.8s linear infinite;
}

@keyframes bt-don {
  to {
    transform: rotate(360deg);
  }
}

.app-container[hidden] {
  display: none;
}

.bt-modal-engel[hidden] {
  display: none;
}

/* ---------- Erisim engeli ---------- */
.bt-modal-engel {
  background: rgba(2, 5, 14, 0.75);
}

.bt-modal-engel .bt-modal-box {
  max-width: 420px;
  border-color: rgba(185, 28, 28, 0.4);
}

.bt-engel {
  padding: 32px 26px;
  text-align: center;
}

.bt-engel-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border: 1px solid rgba(185, 28, 28, 0.4);
  border-radius: 50%;
  background: rgba(185, 28, 28, 0.15);
  color: #f87171;
}

.bt-engel-ikon svg {
  width: 30px;
  height: 30px;
}

.bt-engel-baslik {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.bt-engel-metin {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 10px;
  background: rgba(185, 28, 28, 0.15);
  color: #fca5a5;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Toast ---------- */
.bt-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border: 1px solid var(--bt-glass-border);
  border-radius: 12px;
  background: #06304e;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bt-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bonus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 16px 14px;
  }

  .header-container {
    gap: 14px;
    padding: 10px 0 4px;
  }

  .header-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .header-history-btn {
    width: 100%;
  }

  .main-category-menu {
    height: auto;
  }

  .main-category-button {
    font-size: 14px;
    padding: 10px 8px;
  }

  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tabs-container {
    justify-content: flex-start;
    padding-left: 4px;
  }
}

@media (max-width: 420px) {
  .header-title {
    font-size: 16px;
  }

  .main-category-label {
    display: none;
  }

  .main-category-button {
    gap: 0;
  }
}
