/* ====================================================================
   Settlement Bounty Board — Task #1432696
   Dark premium aesthetic: noir + gold/amber urgency accents
   Fonts: Fraunces (display) + DM Sans (body)
   ==================================================================== */

/* ─── CSS Variables ─── */
:root {
  --bb-bg: #0d0d12;
  --bb-surface: #14141c;
  --bb-card: #1a1a28;
  --bb-card-hover: #20202f;
  --bb-border: rgba(255,255,255,0.07);
  --bb-border-glow: rgba(234,179,8,0.25);

  --bb-gold: #f59e0b;
  --bb-gold-bright: #fbbf24;
  --bb-gold-dim: rgba(245,158,11,0.12);
  --bb-amber: #d97706;
  --bb-red: #ef4444;
  --bb-red-dim: rgba(239,68,68,0.12);
  --bb-green: #10b981;
  --bb-emerald: #059669;

  --bb-text: #f5f5f5;
  --bb-text-muted: #9ca3af;
  --bb-text-dim: #6b7280;

  --bb-rank-1: #f59e0b;
  --bb-rank-2: #9ca3af;
  --bb-rank-3: #cd7c3c;

  --bb-radius: 14px;
  --bb-radius-sm: 8px;

  --bb-shadow: 0 4px 24px rgba(0,0,0,0.4);
  --bb-shadow-gold: 0 4px 24px rgba(245,158,11,0.15);
  --bb-shadow-red: 0 4px 24px rgba(239,68,68,0.18);
}

/* ─── Page Layout ─── */
.bb-page {
  background: var(--bb-bg);
  min-height: 100vh;
  color: var(--bb-text);
  font-family: 'DM Sans', sans-serif;
  padding-bottom: 80px;
}

/* ─── Header ─── */
.bb-header {
  background: linear-gradient(180deg, #0d0d18 0%, #13131e 100%);
  border-bottom: 1px solid var(--bb-border);
  padding: 48px 24px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bb-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.bb-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-gold);
  margin-bottom: 12px;
}

.bb-header__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bb-gold);
  animation: bb-pulse-dot 1.5s ease-in-out infinite;
}

@keyframes bb-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.bb-header__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--bb-text);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.bb-header__title span {
  color: var(--bb-gold);
}

.bb-header__sub {
  font-size: 1.0625rem;
  color: var(--bb-text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.bb-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--bb-text-dim);
}

.bb-header__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Container ─── */
.bb-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ─── Board ─── */
.bb-board {
  padding-top: 32px;
}

.bb-board__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Card ─── */
.bb-card {
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.bb-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.bb-card:hover {
  background: var(--bb-card-hover);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  box-shadow: var(--bb-shadow);
  text-decoration: none;
  color: inherit;
}

.bb-card:hover::before {
  background: var(--bb-gold);
}

/* Top 3 special treatment */
.bb-card--rank-1 { border-color: rgba(245,158,11,0.25); }
.bb-card--rank-1::before { background: var(--bb-gold); }
.bb-card--rank-1:hover { box-shadow: var(--bb-shadow-gold); }

.bb-card--rank-2 { border-color: rgba(156,163,175,0.2); }
.bb-card--rank-2::before { background: #9ca3af; }

.bb-card--rank-3 { border-color: rgba(205,124,60,0.2); }
.bb-card--rank-3::before { background: #cd7c3c; }

/* Last chance — red pulse border */
.bb-card--last-chance {
  border-color: rgba(239,68,68,0.35) !important;
  animation: bb-border-pulse 2s ease-in-out infinite;
}
.bb-card--last-chance::before {
  background: var(--bb-red) !important;
}

@keyframes bb-border-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.0); }
  50% { box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }
}

/* Urgent — gold glow */
.bb-card--urgent {
  border-color: rgba(245,158,11,0.3) !important;
}
.bb-card--urgent:hover {
  box-shadow: var(--bb-shadow-gold) !important;
}

/* ─── Rank Badge ─── */
.bb-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 1.375rem;
  background: rgba(255,255,255,0.05);
  color: var(--bb-text-dim);
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.06);
}

.bb-rank--1 {
  background: rgba(245,158,11,0.12);
  color: var(--bb-gold);
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 0 16px rgba(245,158,11,0.1);
}

.bb-rank--2 {
  background: rgba(156,163,175,0.1);
  color: #c0c6d0;
  border-color: rgba(156,163,175,0.2);
}

.bb-rank--3 {
  background: rgba(205,124,60,0.1);
  color: #cd7c3c;
  border-color: rgba(205,124,60,0.2);
}

/* ─── Card Info ─── */
.bb-card__info {
  min-width: 0;
}

.bb-card__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.bb-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1;
}

.bb-badge--hot {
  background: rgba(245,158,11,0.15);
  color: var(--bb-gold-bright);
  border: 1px solid rgba(245,158,11,0.25);
  animation: bb-badge-pulse 1.8s ease-in-out infinite;
}

@keyframes bb-badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.bb-badge--last-chance {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
  animation: bb-badge-pulse 1.2s ease-in-out infinite;
}

.bb-badge--no-proof {
  background: rgba(16,185,129,0.1);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.2);
}

.bb-badge--category {
  background: rgba(255,255,255,0.06);
  color: var(--bb-text-muted);
  border: 1px solid rgba(255,255,255,0.08);
}

.bb-card__company {
  font-size: 0.8rem;
  color: var(--bb-text-dim);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bb-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bb-text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Card Right: Payout + Timer + CTA ─── */
.bb-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.bb-payout {
  text-align: right;
}

.bb-payout__label {
  font-size: 0.7rem;
  color: var(--bb-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 1px;
}

.bb-payout__amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bb-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.bb-payout__amount--varies {
  font-size: 1.125rem;
  color: var(--bb-text-muted);
}

/* ─── Countdown Timer ─── */
.bb-timer {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--bb-text-muted);
}

.bb-timer__digits {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bb-timer__seg {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 4px 6px;
  min-width: 36px;
}

.bb-timer__val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bb-text);
  line-height: 1;
}

.bb-timer__lbl {
  font-size: 0.55rem;
  color: var(--bb-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

.bb-timer__sep {
  color: var(--bb-text-dim);
  font-weight: 700;
  margin-bottom: 8px;
}

.bb-timer--urgent .bb-timer__val {
  color: var(--bb-gold);
}

.bb-timer--last-chance .bb-timer__val {
  color: #f87171;
}

.bb-timer--open {
  font-size: 0.75rem;
  color: var(--bb-green);
  font-weight: 600;
}

/* ─── Claim CTA Button (card level) ─── */
.bb-claim-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0d0d12;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
  text-decoration: none;
}

.bb-claim-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
  text-decoration: none;
  color: #0d0d12;
}

.bb-claim-btn--urgent {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  animation: bb-cta-pulse 2s ease-in-out infinite;
}

@keyframes bb-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50% { box-shadow: 0 0 0 4px rgba(239,68,68,0.2); }
}

.bb-claim-btn--urgent:hover {
  color: #fff;
}

/* ─── Modal / Eligibility Flow ─── */
.bb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bb-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bb-modal {
  background: #1a1a28;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.bb-modal-overlay.active .bb-modal {
  transform: translateY(0) scale(1);
}

.bb-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--bb-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.bb-modal__close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--bb-text);
}

.bb-modal__step {
  display: none;
}

.bb-modal__step.active {
  display: block;
}

.bb-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bb-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.bb-modal__settlement-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bb-text);
  margin-bottom: 6px;
  line-height: 1.25;
}

.bb-modal__company {
  font-size: 0.8125rem;
  color: var(--bb-text-dim);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bb-modal__question {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bb-text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.bb-modal__hint {
  font-size: 0.8125rem;
  color: var(--bb-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.bb-modal__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bb-modal__option {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--bb-text);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-align: left;
  width: 100%;
}

.bb-modal__option:hover {
  border-color: var(--bb-gold);
  background: var(--bb-gold-dim);
}

.bb-modal__option.selected {
  border-color: var(--bb-gold);
  background: var(--bb-gold-dim);
  color: var(--bb-gold-bright);
}

/* Ineligible message */
.bb-modal__ineligible {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  font-size: 0.875rem;
  color: #f87171;
  line-height: 1.5;
}

/* Pricing step */
.bb-pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.bb-pricing-card {
  border-radius: 12px;
  padding: 20px 16px;
  border: 1.5px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-pricing-card--featured {
  border-color: var(--bb-gold);
  background: var(--bb-gold-dim);
}

.bb-pricing-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bb-gold);
  background: rgba(245,158,11,0.15);
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-start;
}

.bb-pricing-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--bb-text);
}

.bb-pricing-card__price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bb-gold);
  line-height: 1;
}

.bb-pricing-card__price-sub {
  font-size: 0.75rem;
  color: var(--bb-text-dim);
}

.bb-pricing-card__desc {
  font-size: 0.8125rem;
  color: var(--bb-text-muted);
  line-height: 1.5;
}

.bb-pricing-card__cta {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  margin-top: 4px;
}

.bb-pricing-card__cta--primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0d0d12;
}

.bb-pricing-card__cta--secondary {
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--bb-text);
  background: transparent;
}

.bb-pricing-card__cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
  text-decoration: none;
}

.bb-pricing-card__cta--primary:hover {
  color: #0d0d12;
}

.bb-pricing-card__cta--secondary:hover {
  color: var(--bb-text);
  background: rgba(255,255,255,0.04);
}

/* Success / Confetti */
.bb-modal__success {
  text-align: center;
  padding: 16px 0;
}

.bb-modal__success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.bb-modal__success-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bb-text);
  margin-bottom: 8px;
}

.bb-modal__success-sub {
  font-size: 0.9375rem;
  color: var(--bb-text-muted);
  line-height: 1.6;
}

/* ─── Homepage Bounty Teaser Section ─── */
.hp-bounty {
  padding: 72px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13,13,18,0.04) 100%);
  position: relative;
}

.hp-bounty__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-bounty__header {
  text-align: center;
  margin-bottom: 40px;
}

.hp-bounty__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 10px;
}

.hp-bounty__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97706;
  animation: bb-pulse-dot 1.5s ease-in-out infinite;
}

.hp-bounty__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hp-bounty__sub {
  font-size: 1rem;
  color: #6b7280;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Homepage bounty cards (light theme, 3-up grid) */
.hp-bounty__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .hp-bounty__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hp-bounty-card {
  background: #0d0d12;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.hp-bounty-card:hover {
  border-color: rgba(245,158,11,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-decoration: none;
  color: inherit;
}

.hp-bounty-card__rank {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}

.hp-bounty-card__rank--1 { color: #f59e0b; }
.hp-bounty-card__rank--2 { color: #9ca3af; }
.hp-bounty-card__rank--3 { color: #cd7c3c; }

.hp-bounty-card__company {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-bounty-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f5;
  line-height: 1.3;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-bounty-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hp-bounty-card__payout {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 900;
  color: #f59e0b;
  line-height: 1;
}

.hp-bounty-card__deadline {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hp-bounty-card__deadline--urgent {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
}

.hp-bounty-card__deadline--ok {
  background: rgba(16,185,129,0.1);
  color: #34d399;
}

.hp-bounty__cta-row {
  text-align: center;
}

.hp-bounty__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d0d12;
  color: #f5f5f5;
  border: 1.5px solid rgba(245,158,11,0.4);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hp-bounty__cta:hover {
  border-color: #f59e0b;
  background: rgba(245,158,11,0.06);
  color: #fbbf24;
  text-decoration: none;
}

/* ─── Confetti Canvas ─── */
#bb-confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3000;
  display: none;
}

/* ─── Loading / Skeleton ─── */
.bb-skeleton {
  border-radius: var(--bb-radius);
  background: linear-gradient(90deg, #1a1a28 0%, #22223a 50%, #1a1a28 100%);
  background-size: 200% 100%;
  animation: bb-shimmer 1.4s ease-in-out infinite;
}

@keyframes bb-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .bb-card {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .bb-card__right {
    display: none;
  }

  .bb-card__info {
    grid-column: 2;
  }

  /* Show payout inline on mobile */
  .bb-card__title::after {
    content: '';
  }

  .bb-rank {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }

  .bb-header {
    padding: 32px 16px 24px;
  }

  .bb-pricing-cards {
    grid-template-columns: 1fr;
  }

  .bb-modal {
    padding: 24px 20px;
  }
}

/* ─── Mobile info row (shown on small screens) ─── */
.bb-card__mobile-row {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
}

@media (max-width: 600px) {
  .bb-card {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  .bb-card__mobile-row {
    display: flex;
  }
}
