body {
  margin: 0;
  font-family: monospace;
  background-color: black;
  color: red;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

#terminal {
  width: 90%;
  max-width: 1000px;
  border: 2px solid red;
  padding: 20px;
  background-color: black;
  box-shadow: 0 0 20px red;
  margin-top: 20px;
}

.ascii-title {
  color: red;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-weight: 900;
  font-size: 80px; /* adjust 60–100px if needed for your screen */
  text-shadow:
    0 0 5px red,
    0 0 10px red,
    0 0 20px darkred,
    0 0 40px red;
  margin-top: 40px;
  margin-bottom: 10px;
  animation: neonPulse 2.5s infinite alternate;
}

/* yellow glowing subtitle */
.subtitle {
  color: #ffcc00;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 22px;
  text-shadow:
    0 0 5px #ffcc00,
    0 0 10px #ffaa00,
    0 0 20px #ff8800;
  animation: subtitleFlicker 3s infinite alternate;
}

.ca-text {
  color: red;
  text-align: center;
  margin: 10px 0;
}

/* flicker + pulse animation for the title */
@keyframes neonPulse {
  0% {
    text-shadow:
      0 0 5px red,
      0 0 10px red,
      0 0 20px darkred,
      0 0 40px red;
    opacity: 1;
  }
  50% {
    text-shadow:
      0 0 2px darkred,
      0 0 5px red,
      0 0 10px red,
      0 0 20px darkred;
    opacity: 0.85;
  }
  100% {
    text-shadow:
      0 0 10px red,
      0 0 20px red,
      0 0 30px darkred,
      0 0 60px red;
    opacity: 1;
  }
}

/* slight flicker for subtitle */
@keyframes subtitleFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.5;
  }
}



#chat-log {
  height: 300px;
  overflow-y: auto;
  background-color: #111;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid red;
}

#chat-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

button {
  background-color: yellow;
  color: black;
  border: none;
  padding: 10px 20px;
  font-family: monospace;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background-color: gold;
}

#preview-box {
  background-color: yellow;
  color: red;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

footer {
  margin-top: 20px;
  color: yellow;
  text-align: center;
  font-family: monospace;

}


