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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  color: #0f0;
  font-family: "Courier New", monospace;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

#arm-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #0f0;
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
  z-index: 100;
  cursor: pointer;
  text-align: center;
  padding: 2rem;
}

#arm-overlay span {
  animation: pulse 1.5s infinite;
}

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

#idle {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 0, 0.03) 0px,
      rgba(0, 255, 0, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    #000;
}

#idle pre {
  font-size: 3rem;
  letter-spacing: 0.3rem;
}

#alert {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#alert-box {
  text-align: center;
  padding: 2rem;
  border: 4px solid currentColor;
}

#alert-box h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

#alert-box h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
}

#alert-box pre {
  font-size: 1.2rem;
  white-space: pre;
  line-height: 1.3;
}

.theme-red { color: #ff2020; }
.theme-green { color: #00ff40; }
.theme-amber { color: #ffb000; }
.theme-purple { color: #c060ff; }

.glitch {
  animation: glitch 0.15s steps(2) 8;
}

@keyframes glitch {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 2px); }
  50% { transform: translate(4px, -2px); }
  75% { transform: translate(-2px, -2px); }
  100% { transform: translate(0, 0); }
}
