/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Courier New', monospace;
  background: #0a0f1a;
  overflow: hidden;
  color: #00ffff;
}

/* Overlay with light grid effect */
.overlay::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent 95%, rgba(0,255,255,0.2) 100%), 
              linear-gradient(90deg, transparent 95%, rgba(0,255,255,0.2) 100%);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Terminal Main Container */
.terminal {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
}

.content {
  text-align: center;
  padding: 2rem;
  border: 2px solid #00ffff;
  border-radius: 8px;
  background: rgba(0, 40, 60, 0.6);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  max-width: 700px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #00ffff;
  text-shadow: 0 0 8px #0ff;
}

.typing {
  font-size: 1rem;
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #00ffff;
  width: 0;
  animation: typing 4s steps(60, end) forwards, blink 1s step-start infinite;
}

.blinker {
  animation: blink 1s step-start infinite;
  font-size: 1.5rem;
  display: inline;
}

.info p {
  margin-top: 1rem;
  font-size: 1rem;
  opacity: 0.9;
}

.signal {
  margin-top: 2rem;
  font-weight: bold;
  color: #7cf9ff;
  text-shadow: 0 0 5px #0ff;
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
#terminal-window {
  font-size: 1rem;
  text-align: left;
  background: rgba(0, 10, 20, 0.6);
  padding: 1rem;
  border-radius: 5px;
  min-height: 300px;
  max-height: 600px;
  overflow-y: auto;
  white-space: pre-wrap;
  color: #00ffff;
}

.prompt-text {
  color: #0ff;
  font-weight: bold;
}

#typed-command {
  display: inline;
  white-space: pre;
}

.blinker {
  animation: blink 1s step-start infinite;
}

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

