@font-face {
  font-family: 'PerfectDOSVGA437';
  src: url('/res/fonts/PerfectDOSVGA437.woff2') format('woff2'),
       url('/res/fonts/PerfectDOSVGA437.woff') format('woff'),
       url('/res/fonts/PerfectDOSVGA437.ttf') format('truetype');
  font-display: swap;
}

/* Main terminal font and background */
html, body, #terminal, .terminal {
  font-family: 'PerfectDOSVGA437' !important;
}

html, body, #terminal {
  background: black !important;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

/* Scanline overlay for CRT effect */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.05),
    rgba(0, 255, 0, 0.05) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 1;
  pointer-events: none;
  animation: flicker 0.3s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}

/* Terminal layout and effects */
#terminal {
  height: 100vh;
  width: 100vw;
  z-index: 2;
  position: relative;
}

.terminal {
  --color: #00ff00;
  --background: transparent;
  --size: 1rem;
  padding: 1em;
  box-sizing: border-box;
  text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
  color: #00ff00 !important;
}
