@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

* {
  font-family: "Inter", sans-serif;
}

.neon-green {
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
}

.neon-border {
  border: 2px solid #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.neon-border-pink {
  border: 2px solid #ec4899;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.gradient-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Animações especiais para multiplicadores 10x+ */
.animate-spin-slow {
  animation: spin 3s linear infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 2s ease-in-out infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Efeito especial para multiplicador alto */
.high-multiplier {
  background: linear-gradient(45deg, #00ff88, #ec4899, #00ff88, #ec4899);
  background-size: 400% 400%;
  animation: gradient-shift 2s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Slider customization */
.slider {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #10b981 0%, #f59e0b 50%, #ef4444 100%);
  outline: none;
  border-radius: 0.5rem;
  height: 8px;
  transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #00ff88;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
  z-index: 10;
  position: relative;
  transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0, 255, 136, 1);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #00ff88;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
  z-index: 10;
  position: relative;
  transition: all 0.3s ease;
}

/* Toast styles */
.toast {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #00ff88;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  color: white;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  animation: slideIn 0.3s ease-out;
}

.toast.success {
  background: rgba(0, 100, 0, 0.9);
  border-color: #00ff88;
}

.toast.error {
  background: rgba(100, 0, 0, 0.9);
  border-color: #ff4444;
}

.toast.high-multiplier {
  background: linear-gradient(45deg, rgba(0, 255, 136, 0.2), rgba(236, 72, 153, 0.2));
  border: 2px solid #ec4899;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Card styles */
.card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid #374151;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 255, 136, 0.5);
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: #059669;
  color: white;
}

.badge-error {
  background: #dc2626;
  color: white;
}

.badge-outline {
  background: transparent;
  border: 1px solid #6b7280;
  color: #9ca3af;
}

/* Confidence and accuracy bars */
.confidence-high {
  background-image: linear-gradient(to right, #059669, #34d399);
}

.confidence-medium {
  background-image: linear-gradient(to right, #d97706, #fbbf24);
}

.confidence-low {
  background-image: linear-gradient(to right, #dc2626, #f87171);
}

/* Barras de confiança e assertividade com transições suaves */
.confidence-bar,
.accuracy-bar {
  transition: width 1s ease-in-out, background 0.5s ease;
}

/* Animações para a barra de risco */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Efeito de partículas para multiplicadores altos */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ec4899;
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.5;
  }
}
