/* ============================================================
 * Binovax — QUOTEX-STYLE ANIMATED ACCOUNT TIER BADGES
 * Live Balance Tiers: $1k+ (VIP), $5k+ (PRO VIP), $10k+ (PREMIUM)
 * ============================================================ */

.acc-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 9.5px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin-left: 6px;
}

/* Mobile size tweaks */
.acc-tier-badge.mobile {
  padding: 1px 5px;
  font-size: 8.5px;
  border-radius: 10px;
  margin-left: 4px;
}

.acc-tier-badge.dropdown {
  padding: 2px 6px;
  font-size: 9px;
  margin-left: 6px;
}

/* ── Tier 0: Standard (< $1,000) ── */
.acc-tier-badge.tier-standard {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

/* ── Tier 1: VIP Gold ($1,000 – $4,999) ── */
.acc-tier-badge.tier-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.38));
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
  animation: goldPulse 2.5s ease-in-out infinite;
}

.acc-tier-badge.tier-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmerSweep 3s infinite;
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(245, 158, 11, 0.25); }
  50% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.55); }
}

/* ── Tier 2: PRO VIP Platinum ($5,000 – $9,999) ── */
.acc-tier-badge.tier-platinum {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.24), rgba(59, 130, 246, 0.4));
  border: 1px solid rgba(56, 189, 248, 0.65);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
  animation: platinumGlow 2.2s ease-in-out infinite;
}

.acc-tier-badge.tier-platinum::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmerSweep 2.5s infinite;
}

@keyframes platinumGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(56, 189, 248, 0.3); }
  50% { box-shadow: 0 0 18px rgba(56, 189, 248, 0.65); }
}

/* ── Tier 3: PREMIUM Royal VIP ($10,000+) ── */
.acc-tier-badge.tier-premium {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.32), rgba(255, 140, 0, 0.4), rgba(0, 230, 118, 0.25));
  border: 1.5px solid #ffd700;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.9);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.25);
  animation: premiumCrownPulse 2s ease-in-out infinite;
}

.acc-tier-badge.tier-premium::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: shimmerSweep 2s infinite;
}

@keyframes premiumCrownPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4), inset 0 0 6px rgba(255, 255, 255, 0.15);
    border-color: #ffd700;
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.85), inset 0 0 12px rgba(255, 255, 255, 0.35);
    border-color: #ffffff;
  }
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}
