/* Shared machine game-name typography/animation.
   Loaded on game pages only; the canonical machine geometry lives in styles.css.
   Keep this file text-only so every machine renders identically. */

html body .prize-machine-shell.machine .machine-game,
html body .machine .machine-game,
html body .prize-machine .machine-game,
html body .machine-screen .machine-game{
  font-family:"Montserrat",Arial,Helvetica,sans-serif!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
  -webkit-background-clip:initial!important;
  background-clip:initial!important;
  filter:none!important;
}

/* Same letter-only multi-color animation used by Home and all game machines.
   The grey panel, border, size and position stay completely static. */
html body .prize-machine-shell.machine .machine-game{
  animation:machineTextColors 2.2s steps(1,end) infinite!important;
  background:linear-gradient(180deg,#f8fafc 0%,#dce3e8 48%,#c6cfd6 100%)!important;
}

@keyframes machineTextColors{
  0%{color:#fff;-webkit-text-fill-color:#fff;text-shadow:0 0 7px rgba(255,255,255,.95)}
  8%{color:#ff0;-webkit-text-fill-color:#ff0;text-shadow:0 0 12px rgba(255,255,0,1)}
  16%{color:#ff7a00;-webkit-text-fill-color:#ff7a00;text-shadow:0 0 12px rgba(255,122,0,1)}
  24%{color:#f0f;-webkit-text-fill-color:#f0f;text-shadow:0 0 13px rgba(255,0,255,1)}
  32%{color:#ff1493;-webkit-text-fill-color:#ff1493;text-shadow:0 0 13px rgba(255,20,147,1)}
  40%{color:#8000ff;-webkit-text-fill-color:#8000ff;text-shadow:0 0 13px rgba(128,0,255,1)}
  48%{color:#8a2be2;-webkit-text-fill-color:#8a2be2;text-shadow:0 0 13px rgba(138,43,226,1)}
  56%{color:#06f;-webkit-text-fill-color:#06f;text-shadow:0 0 13px rgba(0,102,255,1)}
  64%{color:#00bfff;-webkit-text-fill-color:#00bfff;text-shadow:0 0 13px rgba(0,191,255,1)}
  72%{color:#0ff;-webkit-text-fill-color:#0ff;text-shadow:0 0 13px rgba(0,255,255,1)}
  80%{color:#00ff66;-webkit-text-fill-color:#00ff66;text-shadow:0 0 13px rgba(0,255,102,1)}
  88%{color:#39ff14;-webkit-text-fill-color:#39ff14;text-shadow:0 0 14px rgba(57,255,20,1)}
  94%,100%{color:#fff;-webkit-text-fill-color:#fff;text-shadow:0 0 7px rgba(255,255,255,.95)}
}

@media(prefers-reduced-motion:reduce){
  html body .prize-machine-shell.machine .machine-game{
    animation:none!important;
  }
}