:root {
  --green: #00ff41;
  --green-dim: #00cc33;
  --green-dark: #003b00;
  --green-glow: rgba(0, 255, 65, 0.15);
  --bg: #000000;
  --card-bg: rgba(0, 10, 0, 0.85);
  --border: rgba(0, 255, 65, 0.3);
}


/* ─────────────────────────────────────────
   TERMINAL
───────────────────────────────────────── */

#terminal-output {
  position: relative;
  z-index: 2;
  color: var(--green-dim);
  font-size: clamp(0.8rem, 2.6vw, 0.92rem);
  line-height: 1.9;
  white-space: pre-wrap;
  /* Coupe proprement les longs mots/chemins/URLs plutôt que de faire
     déborder le terminal hors de son conteneur sur mobile */
  overflow-wrap: break-word;
  word-break: break-word;
}

#terminal-output .line {
  display: block;
  min-height: 1.9em;
}

#terminal-output .cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 2px;
  background: var(--green);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@media (prefers-reduced-motion: reduce) {
  #terminal-output .cursor {
    animation: none;
    opacity: 1;
  }
}