/* ==========================================================================
   BRAHMASTRA-1 CIRCUIT / CUPID MOMENTUM TRACKER DESIGN SYSTEM
   Standard: Bloomberg / Linear / Obsidian Bento Dark Mode
   Author: Google Gemini 4 Argon (Tier 0 Frontier)
   ========================================================================== */

.brahmastra-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #090D16;
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.05);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, sans-serif);
}

.bm-ambient-glow {
  pointer-events: none;
  position: absolute;
  top: -50px;
  left: 20%;
  width: 60%;
  height: 80px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  filter: blur(40px);
  transition: background 0.5s ease;
}

.bm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.bm-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  animation: bmPulse 2s infinite;
}

@keyframes bmPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.bm-title-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bm-symbol-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.bm-symbol-text {
  font-family: var(--font-mono, monospace);
  font-size: 17px;
  font-weight: 700;
  color: #F8FAFC;
}

.bm-gain-badge {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.bm-gain-up {
  color: #00C805;
  background: rgba(0, 200, 5, 0.12);
  border: 1px solid rgba(0, 200, 5, 0.25);
}

.bm-gain-down {
  color: #FF3B30;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
}

.bm-uc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.bm-uc-monitoring {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.bm-uc-locked {
  background: rgba(0, 200, 5, 0.18);
  color: #00C805;
  border: 1px solid rgba(0, 200, 5, 0.4);
  box-shadow: 0 0 12px rgba(0, 200, 5, 0.3);
}

.bm-meter-section {
  margin-top: 14px;
}

.bm-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
}

.bm-meter-track {
  position: relative;
  height: 10px;
  width: 100%;
  border-radius: 9999px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bm-meter-fill {
  height: 100%;
  border-radius: 9999px;
  background: #38BDF8;
  transition: width 0.2s ease-out;
}

.bm-thresh-marker {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 2;
}

.bm-thresh-5 {
  left: 5%;
  background: rgba(255, 59, 48, 0.6);
}

.bm-thresh-20 {
  left: 20%;
  background: rgba(0, 200, 5, 0.6);
}

.bm-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-family: var(--font-mono, monospace);
  color: #64748B;
  margin-top: 4px;
}

.bm-shield-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 12px;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  transition: all 0.2s ease;
}

.bm-shield-armed {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}

.bm-shield-triggered {
  background: rgba(255, 59, 48, 0.18);
  border: 1px solid rgba(255, 59, 48, 0.5);
  color: #FF3B30;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.3);
}

.bm-ratchet-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bm-ratchet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bm-ratchet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-family: var(--font-mono, monospace);
  text-align: center;
}

.bm-ratchet-tier {
  border-radius: 8px;
  padding: 8px 6px;
  transition: all 0.2s ease;
}

.bm-ratchet-tier.inactive {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.45;
}

.bm-ratchet-tier.active-cyan {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
  opacity: 1;
}

.bm-ratchet-tier.active-emerald {
  background: rgba(0, 200, 5, 0.14);
  border: 1px solid rgba(0, 200, 5, 0.4);
  box-shadow: 0 0 12px rgba(0, 200, 5, 0.2);
  opacity: 1;
}
