/* Custom Comic Noir Styling */
:root {
  --color-noir-gold: #FFD166;
  --color-siren-red: #E63946;
  --color-siren-blue: #0077B6;
}

body {
  background-color: #070B14;
  color: #E2E8F0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0B132B;
}
::-webkit-scrollbar-thumb {
  background: #2A3B66;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFD166;
}

/* Stepper Node Styling */
.step-node {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.4);
  transition: all 0.3s ease;
}

.step-node.active {
  background: rgba(255, 209, 102, 0.15);
  border-color: rgba(255, 209, 102, 0.5);
  color: #FFD166;
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.15);
}

.step-node.completed {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34D399;
}

/* Comic Speech Bubble styles */
.speech-bubble {
  position: relative;
  background: #1C2541;
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.speech-bubble-basil {
  border-right: 4px solid #FFD166;
}

.speech-bubble-stranger {
  border-right: 4px solid #94A3B8;
  background: #131b2e;
}

.speech-bubble-officer {
  border-right: 4px solid #E63946;
}

.speech-bubble-judge {
  border-right: 4px solid #38BDF8;
}

/* Button pulse & dramatic focus */
.choice-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.choice-btn:active {
  transform: scale(0.98);
}

/* Car Search interactive elements */
.search-target {
  transition: all 0.25s ease;
}
.search-target:hover {
  filter: drop-shadow(0 0 8px #FFD166);
  border-color: #FFD166;
}

/* Siren animation keyframes */
@keyframes sirenFlash {
  0%, 100% {
    box-shadow: inset 0 0 60px rgba(230, 57, 70, 0.4);
  }
  50% {
    box-shadow: inset 0 0 60px rgba(0, 119, 182, 0.4);
  }
}

.siren-active {
  animation: sirenFlash 0.9s infinite alternate ease-in-out;
}