.terminal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
  background-color: #0b0b0b;
  color: #ffb84d;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  line-height: 1.5;
  overflow: auto;

  text-shadow:
    0 0 1px #ffb84d,
    0 0 2px #ffb84d,
    0 0 4px #ffb84d30;
}

.content {
  animation: crtshake 0.03s infinite alternate;
}

/* Scanlines */
.scanlines {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,184,77,0.06) 0,   /* чуть более заметные линии */
    rgba(255,184,77,0.06) 3px, /* толщина линии */
    rgba(0,0,0,0) 4px           /* промежуток между линиями */
  );
  pointer-events: none;
  z-index: 5;
  animation: scanmove 3s linear infinite; /* чуть медленнее движение */
} 

@keyframes scanmove {
  0% { background-position: 0 0; }
  100% { background-position: 0 6px; } /* сдвигаем на половину расстояния между линиями */
}


/* CRT shake */
@keyframes crtshake {
  0% { transform: translate(0,0); }
  50% { transform: translate(0.2px, -0.2px); }
  100% { transform: translate(-0.2px, 0.2px); }
}

/* Glow позади текста */
.crt-glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 120px rgba(255,140,0,0.2);
  background: radial-gradient(circle at center, rgba(255,140,0,0.1) 0%, transparent 70%);
}

.terminal h1, .terminal h2, .terminal h3 {
  margin: 0 0;
}

.terminal p {
  margin: 0 0;
}

.terminal a {
  color: #ffec99;
  text-decoration: underline;
}