html, body {
  overflow: hidden;
}

body {
  background-color: black;
  color: green;
  font-family: monospace;
  text-align: center;
  margin-top: 60px;
}

.title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.spinner {
  width: 64px; /* image size */
  height: auto;
}

body {
  background-color: black;
  color: green;
  font-family: monospace;
  margin: 0;
  padding: 0;
}

/* keep your title styling */
.title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.prompt {
  margin-right: 8px;
}

#terminal-input {
  background: black;
  border: none;
  outline: none;
  color: green;
  font-family: monospace;
  font-size: 14px;
  flex: 1;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: black;
}
::-webkit-scrollbar-thumb {
  background: green;
}

#terminal {
  width: 95vw;
  height: 70vh;
  margin: 40px auto;
  padding: 20px;
  background: black;
  border: 2px solid green;
  display: flex;
  flex-direction: column;
  text-align: left;
}

#output {
  flex: 1;
  overflow-y: auto;
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 16px; /* BIGGER TEXT */
}

#input-line {
  display: flex;
  align-items: center;
  font-size: 16px;
}

#hidden-input {
  position: absolute;
  opacity: 0;
}

#cursor {
  animation: blink 1s steps(1) infinite;
}

#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
}

@keyframes blink {
  50% { opacity: 0; }
}

.blackout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 9999;
  animation: closebars 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes closebars {
  0% {
    clip-path: inset(100% 0 100% 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes shake {
  0% { transform: translate(0); }
  25% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 1px); }
  75% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

#maintenance {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: green;
  font-size: 48px;
  font-family: monospace;
  opacity: 0;
  z-index: 10000;
  animation: fadein 2s forwards;
}

@keyframes fadein {
  to { opacity: 1; }
}

/* crt scanlines */
#crt {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 255, 0, 0.03),
      rgba(0, 255, 0, 0.03) 1px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 3px
    );
  mix-blend-mode: overlay;
  animation: crt-flicker 0.15s infinite;
}

@keyframes crt-flicker {
  0%   { opacity: 0.35; }
  50%  { opacity: 0.45; }
  100% { opacity: 0.35; }
}

