body {
  margin: 0;
  padding: 2rem;
  background: black;
  color: #00ffee;
  font-family: 'Courier New', monospace;
  overflow-x: hidden;
  animation: backgroundPulse 10s ease-in-out infinite;
}

.console {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #00ffee33;
  box-shadow: 0 0 40px #00ffee33;
  white-space: pre-wrap;
  line-height: 1.4;
  backdrop-filter: blur(3px);
  animation: fadeIn 1s ease-in-out;
}

.prompt {
  margin-right: 5px;
}

#terminalInput {
  background: transparent;
  border: none;
  outline: none;
  color: #00ffee;
  font-family: inherit;
  font-size: inherit;
  width: 90%;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1em;
  background: #00ffee;
  animation: blink 0.8s steps(2, start) infinite, float 2s ease-in-out infinite;
  vertical-align: bottom;
}

.console div {
  animation: typing 0.3s steps(40, end) 1;
  overflow: hidden;
}

@keyframes blink {
  to { visibility: hidden; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(2px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes backgroundPulse {
  0%, 100% { background-color: #000000; }
  50% { background-color: #020b0b; }
}

@media (max-width: 600px) {
  .console {
    width: 95%;
    font-size: 0.9rem;
    padding: 1.2rem;
  }
}
