﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d0d0d;
  height: 100vh;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.terminal {
  width: 100%;
  max-width: 900px;
  height: 85vh;
  background: #000;
  border: 3px solid #222;
  border-top-color: #333;
  border-left-color: #333;
  box-shadow: 
    0 0 0 4px #111,
    inset 0 0 40px rgba(0,0,0,0.8),
    0 0 25px rgba(0, 255, 80, 0.12);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: linear-gradient(#1a1a1a, #0f0f0f);
  border-bottom: 2px solid #222;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #00cc44;
}

.status-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-dots .red    { background: #d00; }
.status-dots .yellow { background: #aa0; }
.status-dots .green  { background: #0c3; }

.terminal-body {
  padding: 20px;
  color: #00ff41;
  font-size: 16px;
  line-height: 1.45;
  height: calc(100% - 36px);
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

a {
  padding: 20px;
  color: #00ff41;
  font-size: 16px;
  line-height: 1.45;
  height: calc(100% - 36px);
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Classic scanline + CRT effect */
.terminal::before {
  content: " ";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

.terminal::after {
  content: " ";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0,255,80,0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  width: 10px;
  height: 1.1em;
  background: #00ff41;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}