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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: 'M PLUS 1 Code', monospace;
  color: #00ff41;
}

#ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
}

header h1 {
  font-size: clamp(1.2rem, 4vw, 3rem);
  letter-spacing: 0.15em;
  font-weight: 400;
}

.subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  animation: pulse 3s ease-in-out infinite;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.status-line {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.hint {
  font-size: 0.75rem;
  opacity: 0.5;
}

#boot-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: opacity 1.2s ease-out, visibility 1.2s;
}

#boot-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-text {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 700px;
  white-space: pre-wrap;
  color: #00ff41;
  text-shadow: 0 0 4px rgba(0, 255, 65, 0.7);
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

canvas {
  display: block;
}
