/* Magic 8-Ball — shake keyframe + a "window" that reveals the answer */
.eight-ball-stage {
  display: flex;
  justify-content: center;
  padding: 4px 0 26px;
}
.eight-ball {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eight-ball__number {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-raised);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.eight-ball__window {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 12px;
}

@keyframes eight-ball-shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-6px, 2px) rotate(-3deg); }
  40% { transform: translate(6px, -2px) rotate(3deg); }
  60% { transform: translate(-4px, 2px) rotate(-2deg); }
  80% { transform: translate(4px, -2px) rotate(2deg); }
}
.eight-ball--shake { animation: eight-ball-shake 0.5s ease; }
