/* Custom Cyber Neon Effects & Animations */
html, body {
  font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255, 138, 0, 0.45), inset 0 0 15px rgba(255, 138, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 45px rgba(255, 138, 0, 0.8), inset 0 0 25px rgba(255, 138, 0, 0.4);
  }
}

@keyframes pulseGlowGreen {
  0%, 100% {
    box-shadow: 0 0 25px rgba(5, 231, 119, 0.45), inset 0 0 15px rgba(5, 231, 119, 0.2);
  }
  50% {
    box-shadow: 0 0 45px rgba(5, 231, 119, 0.8), inset 0 0 25px rgba(5, 231, 119, 0.4);
  }
}

@keyframes laserScan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.anim-slide-in {
  animation: slideDownFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glow-orange {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.glow-green {
  animation: pulseGlowGreen 2.5s infinite ease-in-out;
}

/* Glassmorphism custom classes */
.glass-panel {
  background: rgba(23, 27, 38, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-elevated {
  background: rgba(33, 37, 49, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 183, 127, 0.2);
}

/* Progress ring */
.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3.5;
}

.circle-bar {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease, stroke 0.3s ease;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0f131d;
}

::-webkit-scrollbar-thumb {
  background: #313540;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff8a00;
}

/* Modal Popup Active States */
#result-modal.modal-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#result-modal.modal-active #result-modal-card {
  transform: scale(1) !important;
}

#modal-result-title {
  font-family: 'JetBrains Mono', monospace !important;
  letter-spacing: 0.02em;
}
