/* ==========================================================================
   PINFALL BOWLING — UI feel & juice (presentation only; every animation is cut by "Reduce motion").
   Kept gentle on purpose: no full-screen flash, no constant shake, no jelly squash (max -3%), no strong red, nothing blinking to the music.
   ========================================================================== */
/* press spring: dips 3% and springs back with a small overshoot */
.btn,
.btn-big,
.pill,
.lang-card,
.tab,
.back-btn,
.shop-item,
.ch-item,
.icon-btn {
  transition:
    transform 0.16s cubic-bezier(0.3, 1.6, 0.5, 1),
    filter 0.15s;
}
.btn:active,
.btn-big:active,
.pill:active,
.lang-card:active,
.tab:active,
.back-btn:active,
.icon-btn:active {
  transform: scale(0.97);
}
.shop-item:active,
.ch-item:active {
  transform: scale(0.985);
}
@media (hover: hover) {
  .btn:hover,
  .btn-big:hover,
  .pill:hover,
  .lang-card:hover,
  .tab:hover {
    filter: brightness(1.1);
  }
}
/* calm idle life: the logo floats a few pixels, never in sync with anything */
.logo-img {
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  50% {
    transform: translateY(-5px);
  }
}
/* menu: lane/ball pickers and the bottom row come in after the main buttons */
.loadout {
  animation: scrIn 0.5s both 0.2s;
}
.menu-row {
  animation: scrIn 0.5s both 0.3s;
}
/* the frame being played glows softly */
.sb-f.now {
  animation: nowGlow 2.4s ease-in-out infinite;
}
@keyframes nowGlow {
  50% {
    box-shadow:
      inset 0 0 0 1px #f2c14e,
      0 0 12px rgba(242, 181, 58, 0.8);
  }
}
/* tickets chip bumps when the amount changes */
.tickets.bump {
  animation: tkBump 0.45s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes tkBump {
  40% {
    transform: scale(1.08);
  }
}
/* language picked: the badge pops */
.lang-card.on .lang-badge {
  animation: badgePop 0.4s cubic-bezier(0.2, 1.8, 0.4, 1);
}
@keyframes badgePop {
  from {
    transform: scale(0.7);
  }
  to {
    transform: none;
  }
}
/* in-game "Reduce motion" (also on by default when the system asks for it) */
.reduced *,
.reduced *::before,
.reduced *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
/* End of css/juice.css (complete file). */
