@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  scrollbar-width: thin;
  scrollbar-color: #333 #111;
}

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

*::-webkit-scrollbar-track {
  background: #111;
}

*::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #444;
}

body {
  @apply bg-terminal-bg text-terminal-text font-sans;
  overflow: hidden;
}

/* Glowing effects */
.glow-green {
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.glow-red {
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.glow-amber {
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Panel styling */
.panel {
  @apply bg-terminal-panel border border-terminal-border;
}

.panel-header {
  @apply bg-black/50 px-3 py-2 border-b border-terminal-border;
  @apply text-xs font-mono font-bold uppercase tracking-wider text-terminal-muted;
}

/* News feed animation */
@keyframes newsSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.news-item {
  animation: newsSlide 0.3s ease-out;
}

/* Price ticker animation */
@keyframes priceFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.price-update {
  animation: priceFlash 0.2s ease-out;
}

