.arcade-stage {
  background: #0a0a0a;
  padding: 2rem 1rem;
  margin: 2rem 0;
  border: 1px solid #1a3a1a;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.arcade-stage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 1;
}
.arcade-label {
  color: #666;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-align: center;
}
.arcade-stage pre {
  background: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  font-family: 'Space Mono', Monaco, 'Courier New', monospace;
  font-size: clamp(0.7rem, 2.5vw, 1rem);
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

/* === EVIL OTTO === */
.otto-frame-a, .otto-frame-b {
  color: #ffcc00;
  display: block;
}
.otto-frame-b { display: none; }
@keyframes otto-bounce {
  0%, 49.9% { transform: translateY(0); }
  50%, 100% { transform: translateY(-8px); }
}
@keyframes otto-swap {
  0%, 49.9% { display: block; }
  50%, 100% { display: none; }
}
.otto-container {
  animation: otto-bounce 0.6s steps(2, start) infinite;
}
.otto-container .otto-frame-a {
  animation: otto-blink 0.6s steps(1) infinite;
}
.otto-container .otto-frame-b {
  animation: otto-blink-b 0.6s steps(1) infinite;
}
@keyframes otto-blink {
  0% { display: block; }
  50% { display: none; }
}
@keyframes otto-blink-b {
  0% { display: none; }
  50% { display: block; }
}

/* === HUMANOID WALK === */
.walk-frame-a, .walk-frame-b {
  color: #33ff33;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.walk-frame-b { opacity: 0; }
.walk-wrapper {
  position: relative;
  height: 5.5em;
}
@keyframes walk-a {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes walk-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
.walk-frame-a { animation: walk-a 0.5s steps(1) infinite; }
.walk-frame-b { animation: walk-b 0.5s steps(1) infinite; }

/* === ROBOT SHUFFLE === */
.robot-frame-a, .robot-frame-b {
  color: #ff5533;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.robot-frame-b { opacity: 0; }
.robot-wrapper {
  position: relative;
  height: 6em;
}
@keyframes robot-a {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes robot-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
.robot-frame-a { animation: robot-a 0.7s steps(1) infinite; }
.robot-frame-b { animation: robot-b 0.7s steps(1) infinite; }
.robot-container {
  animation: robot-shift 0.7s steps(2, start) infinite;
}
@keyframes robot-shift {
  0%, 49.9% { transform: translateX(-4px); }
  50%, 100% { transform: translateX(4px); }
}

/* === GLITCH TEXT === */
.glitch-text {
  color: #ff3333;
  font-family: 'Space Mono', Monaco, 'Courier New', monospace;
  font-size: clamp(1rem, 4vw, 1.8rem);
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.3em;
  position: relative;
  z-index: 2;
}
@keyframes glitch-jitter {
  0%, 49.9% {
    text-shadow: 2px 0 #00ffcc, -2px 0 #ff00ff;
    transform: none;
  }
  50%, 100% {
    text-shadow: -3px 1px #00ffcc, 3px -1px #ff00ff;
    transform: skewX(-2deg) translateX(2px);
  }
}
.glitch-text {
  animation: glitch-jitter 0.3s steps(1) infinite;
}
