@keyframes cursor-blink {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

body {
  background-color: black;
  margin: 0;
  /* overflow: hidden;  Removi o hidden pois as vezes o terminal cresce muito */
}

.four-oh-four {
  position: relative;
  top: 0;
  left: 0;
  min-height: 100vh;
  min-width: 100vw;
  z-index: 2;
  background-color: black;
  transition: opacity 300ms ease-out;
  background-position: center center;
  background-repeat: no-repeat;
}

.four-oh-four .dJAX_internal {
  opacity: 0.0;
}

.four-oh-four form, .four-oh-four input {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: black;
  /* Garantir que o input não atrapalhe o layout */
  height: 1px;
  width: 1px;
}

.terminal {
  position: relative;
  padding: 4rem;
}

/* Estilo VERDE Padrão */
.terminal .prompt {
  color: #1ff042;
  display: block;
  font-family: 'AndaleMono', monospace;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.15em;
  white-space: pre-wrap;
  /* Sombra padrão do verde */
  text-shadow: 0 0 2px rgba(31, 240, 66, 0.75);
  line-height: 1;
  margin-bottom: 0.75em;
}

.terminal .prompt:before {
  content: '> ';
  display: inline-block;
}

/* --- NOVO E CORRIGIDO: Estilo Vermelho na mesma tonalidade --- */
.terminal .prompt.access-denied {
  color: #ff1f1f; /* Vermelho vibrante equivalente */
  /* Usando exatamente a mesma estrutura de sombra do verde acima */
  text-shadow: 0 0 2px rgba(255, 31, 31, 0.75);
}
/* ----------------------------------------------------------- */


.terminal .new-output {
  display: inline-block;
}

/* O cursor piscante */
.terminal .new-output:after {
  display: inline-block;
  vertical-align: -0.15em;
  width: 0.75em;
  height: 1em;
  margin-left: 5px;
  background: #1ff042;
  box-shadow: 1px 1px 1px rgba(31, 240, 66, 0.65), -1px -1px 1px rgba(31, 240, 66, 0.65), 1px -1px 1px rgba(31, 240, 66, 0.65), -1px 1px 1px rgba(31, 240, 66, 0.65);
  animation: cursor-blink 1.25s steps(1) infinite;
  content: '';
}

.kittens p {
  letter-spacing: 0;
  opacity: 0;
  line-height: 1rem;
}

.kitten-gif {
  margin: 20px;
  max-width: 300px;
}

.four-oh-four-form {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
}

/* --- Estilo de Seleção de Texto --- */

/* Para Chrome, Safari, Edge e Opera */
::selection {
  background: #ff1f1f; /* O verde neon do seu terminal */
  color: white;        /* Texto branco */
  text-shadow: none;   /* Remove o brilho para ficar mais legível ao selecionar */
}

/* Para Firefox */
::-moz-selection {
  background: #ff1f1f;
  color: white;
  text-shadow: none;
}