/* Terminal aesthetic – green on black */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:      #00FF41;
  --green-dim:  #00B428;
  --bg:         #000000;
  --font:       'Courier New', Courier, monospace;
}

html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--green);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.terminal {
  width: 100%;
  max-width: 700px;
}

.terminal__line {
  display: block;
  white-space: pre;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.terminal__line--welcome {
  color: var(--green);
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.terminal__line--prompt {
  color: var(--green-dim);
}

/* Blinking block cursor */
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  background-color: var(--green);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1.1s step-start infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Scanline overlay – subtle retro effect */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 100;
}
