/* ConvergenceTerminal Custom Styles */
/* Google Fonts are loaded via <link> in index.html for non-blocking parallel fetch. */

:root {
  --bg-base: #0b0f17;
  --surface-card: #131924;
  --surface-card-hover: #17202f;
  --border-card: #21293a;
  --border-highlight: #334155;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-amber: #f59e0b;
  --accent-cyan: #38bdf8;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.terminal-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.terminal-card:hover {
  background-color: var(--surface-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.glow-amber {
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.glow-cyan {
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.glow-emerald {
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

/* Custom scrollbars */
html {
  --scrollbar-thumb: #21293a;
  --scrollbar-track: #0b0f17;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }
}

/* Pulse indicator animation */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pulse-active {
  animation: pulse-dot 2s infinite ease-in-out;
}
