/* Home-page game cards: each card's own animation, only while it is hovered.
   The card art (icons/*-card.*) is untouched and always shown as the base image.
   On hover an overlay of pieces cut from that same art (icons/anim/*.webp) is shown on top:
   every piece starts exactly on its own spot, so the card looks the same until it moves.
   "plate" pieces are the art with the moving thing painted out, laid under it so it can move away.
   Units: cqw = 1% of the card. */

.gc-stage { display: block; container-type: size; overflow: hidden; }
.gc-stage .gc-base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.gc-fx { position: absolute; inset: 0; display: none; pointer-events: none; }
.game-card:hover .gc-fx { display: block; }   /* shown (and the animations restarted) on every hover */
.gc-fx .fx { position: absolute; display: block; max-width: none; }
@media (prefers-reduced-motion: reduce) { .game-card:hover .gc-fx { display: none; } }

/* ---------- Jackpot: coins overflow out of the pot ---------- */
.gc-fx .jp-c { opacity: 0; animation: jpOver 1.7s infinite both; }
@keyframes jpOver {
  0%   { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.5); animation-timing-function: cubic-bezier(.2,.7,.4,1); }
  10%  { opacity: 1; }
  42%  { transform: translate(var(--mx), var(--my)) rotate(calc(var(--r) * .4)) scale(1); animation-timing-function: cubic-bezier(.5,0,.9,.6); }
  82%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--ex), var(--ey)) rotate(var(--r)) scale(1); }
}
.gc-fx .jp-c1 { --sx: -3.8cqw; --sy: 9cqw; --mx: -23.8cqw; --my: -11cqw; --ex: -33.8cqw; --ey: 44cqw; --r: -300deg; animation-delay: 0s; }
.gc-fx .jp-c2 { --sx: -3.8cqw; --sy: 9cqw; --mx: 16.2cqw;  --my: -13cqw; --ex: 23.2cqw;  --ey: 46cqw; --r: 280deg;  animation-delay: .28s; }
.gc-fx .jp-c3 { --sx: -3.8cqw; --sy: 9cqw; --mx: -10.8cqw; --my: -16cqw; --ex: -43.8cqw; --ey: 29cqw; --r: -360deg; animation-delay: .57s; }
.gc-fx .jp-c4 { --sx: -3.8cqw; --sy: 9cqw; --mx: 9.2cqw;   --my: -10cqw; --ex: 33.2cqw;  --ey: 24cqw; --r: 320deg;  animation-delay: .85s; }
.gc-fx .jp-c5 { --sx: -3.8cqw; --sy: 9cqw; --mx: -.8cqw;   --my: -18cqw; --ex: 3.2cqw;   --ey: 39cqw; --r: 200deg;  animation-delay: 1.13s; }
.gc-fx .jp-c6 { --sx: -3.8cqw; --sy: 9cqw; --mx: -18.8cqw; --my: -8cqw;  --ex: -28.8cqw; --ey: 54cqw; --r: -240deg; animation-delay: 1.42s; }
.gc-fx .jp-d1 { --sx: 18.3cqw; --sy: 12cqw; --mx: -3.7cqw; --my: -11cqw; --ex: -21.7cqw; --ey: 42cqw; --r: -280deg; animation-delay: .42s; }
.gc-fx .jp-d2 { --sx: 18.3cqw; --sy: 12cqw; --mx: 46.3cqw; --my: -3cqw;  --ex: 61.3cqw;  --ey: 37cqw; --r: 300deg;  animation-delay: 1s; }

/* ---------- Coinflip: the gold coin flips in the air, the purple coin spins ---------- */
.gc-fx .cf-shadow { left: 31%; top: 67%; width: 35%; height: 6.5%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 0, 30, .55), rgba(10, 0, 30, 0)); animation: cfShadow 1.6s infinite; }
.gc-fx .cf-gold { perspective: 70cqw; animation: cfHop 1.6s infinite; }
.gc-fx .cf-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: cfSpin 1.6s infinite; }
.gc-fx .cf-spin img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; }
.gc-fx .cf-spin .cf-back { transform: rotateY(180deg); }
@keyframes cfHop {
  0%, 12% { transform: translateY(0); animation-timing-function: cubic-bezier(.25,.7,.45,1); }
  50%     { transform: translateY(-12cqw); animation-timing-function: cubic-bezier(.55,0,.75,.3); }
  86%     { transform: translateY(0) scale(1.03, .97); }
  92%, 100% { transform: translateY(0); }
}
@keyframes cfSpin { 0%, 12% { transform: rotateY(0); } 86%, 100% { transform: rotateY(720deg); } }
@keyframes cfShadow { 0%, 12%, 86%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .45; } }
.gc-fx .cf-purple { animation: cfPurple 1.8s infinite ease-in-out; }
@keyframes cfPurple {
  0%   { transform: translateY(0) rotateY(0); }
  50%  { transform: translateY(-2.4cqw) rotateY(180deg); }
  100% { transform: translateY(0) rotateY(360deg); }
}

/* ---------- Roulette: the wheel turns, the white ball runs round the other way ---------- */
.gc-fx .rl-wheel { animation: rlWheel 5s linear infinite; }
@keyframes rlWheel { to { transform: rotate(360deg); } }
.gc-fx .rl-orbit { width: 0; height: 0; transform: rotate(-36.7deg); animation: rlOrbit 1.5s linear infinite; }
@keyframes rlOrbit { from { transform: rotate(-36.7deg); } to { transform: rotate(-396.7deg); } }
.gc-fx .rl-ball { position: absolute; left: 29.8cqw; top: 0; width: 5.2cqw; height: 5.2cqw; margin: -2.6cqw 0 0 -2.6cqw; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fff 0 30%, #ece9f6 52%, #b7aed0 100%);
  box-shadow: 0 0 0 .45cqw #2b1157, 0 .5cqw .8cqw rgba(0, 0, 0, .35); }

/* ---------- Case Battles: the chests square up, the bolt crackles, VS punches ---------- */
.gc-fx .bt-left  { transform-origin: 0% 100%;   animation: btLeft 1.4s infinite ease-in-out; }
.gc-fx .bt-right { transform-origin: 100% 100%; animation: btRight 1.4s infinite ease-in-out; }
@keyframes btLeft  { 0%, 50%, 100% { transform: scale(1); } 25% { transform: scale(1.06) rotate(-2deg); } }
@keyframes btRight { 0%, 50%, 100% { transform: scale(1); } 75% { transform: scale(1.06) rotate(2deg); } }
.gc-fx .bt-bolt { animation: btBolt .7s infinite steps(1); }
@keyframes btBolt {
  0%   { filter: none; }
  20%  { filter: brightness(1.7) drop-shadow(0 0 1.5cqw #ffe36b); }
  35%  { filter: none; }
  55%  { filter: brightness(1.4) drop-shadow(0 0 1cqw #ffe36b); }
  70%  { filter: brightness(1.9) drop-shadow(0 0 2cqw #fff3a8); }
  85%  { filter: none; }
}
.gc-fx .bt-vs { animation: btVs 1.4s infinite; }
@keyframes btVs { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(1.18) rotate(-4deg); } }

/* ---------- Dice: both dice roll (hop and tumble) ---------- */
.gc-fx .dc-shadow { left: 34%; top: 70%; width: 46%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 0, 30, .5), rgba(10, 0, 30, 0)); animation: dcShadow 1.6s infinite; }
/* The orange die is only the part the white one doesn't cover, so the two move as one: same animation, no delay, and
   both turn around the same point (the middle of the pair: 61.7% / 40.8% of the card), so the orange die's hidden
   side never shows. They hop and tumble a full turn, a little smaller in the air so they stay inside the card. */
.gc-fx .dc-white  { transform-origin: 57.57% 35.4%;  animation: dcRoll 1.6s infinite; }
.gc-fx .dc-orange { transform-origin: 18.43% 78.43%; animation: dcRoll 1.6s infinite; }
@keyframes dcRoll {
  0%, 6%  { transform: translateY(0) rotate(0) scale(1); animation-timing-function: cubic-bezier(.3,.6,.5,1); }
  26%     { transform: translateY(-5cqw) rotate(130deg) scale(.82); animation-timing-function: linear; }
  44%     { transform: translateY(-5.5cqw) rotate(250deg) scale(.82); animation-timing-function: cubic-bezier(.5,0,.8,.6); }
  64%     { transform: translateY(0) rotate(360deg) scale(1.04, .95); animation-timing-function: ease-out; }
  72%, 100% { transform: translateY(0) rotate(360deg) scale(1); }
}
@keyframes dcShadow { 0%, 8%, 72%, 100% { transform: scale(1); opacity: 1; } 42% { transform: scale(.65); opacity: .5; } }

/* ---------- Mines: the bomb fizzes and swells, the gems glint ---------- */
.gc-fx .mn-bomb { transform-origin: 45% 70%; animation: mnBomb 1.6s infinite; }
@keyframes mnBomb {
  0%   { transform: rotate(0) scale(1); }
  10%  { transform: rotate(-6deg) scale(1.02); }
  20%  { transform: rotate(5deg) scale(1.03); }
  30%  { transform: rotate(-5deg) scale(1.04); }
  40%  { transform: rotate(4deg) scale(1.05); }
  55%  { transform: rotate(0) scale(1.14); }
  70%, 100% { transform: rotate(0) scale(1); }
}
.gc-fx .mn-spark { animation: fxTwinkle .4s infinite alternate; }
.gc-fx .mn-flash { left: 74.6%; top: 47.8%; width: 44cqw; height: 44cqw; margin: -22cqw 0 0 -22cqw; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 214, 140, .75), rgba(255, 120, 60, .25) 55%, rgba(255, 120, 60, 0));
  animation: mnFlash 1.6s infinite; }
@keyframes mnFlash { 0%, 45% { opacity: 0; transform: scale(.3); } 56% { opacity: 1; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(1.25); } }
.gc-fx .mn-gem { animation: glint 1.8s infinite; }
.gc-fx .mn-g1 { animation-delay: .6s; }
.gc-fx .mn-g2 { animation-delay: 1.2s; }
@keyframes glint { 0%, 30%, 100% { filter: none; transform: scale(1); } 15% { filter: brightness(1.5) drop-shadow(0 0 1.2cqw #7dffc0); transform: scale(1.08); } }
@keyframes fxTwinkle { from { transform: scale(.7) rotate(0); opacity: .6; } to { transform: scale(1.25) rotate(45deg); opacity: 1; } }

/* ---------- Blackjack: chips stack up, the K card tips, 21 pops ---------- */
.gc-fx .bj-chip { opacity: 0; animation: bjChip 2.4s infinite both; }
.gc-fx .bj-chip1 { --y: -2.6cqw; animation-delay: 0s; }
.gc-fx .bj-chip2 { --y: -5.2cqw; animation-delay: .3s; }
.gc-fx .bj-chip3 { --y: -7.8cqw; animation-delay: .6s; }
@keyframes bjChip {
  0%   { opacity: 0; transform: translateY(calc(var(--y) - 22cqw)); animation-timing-function: cubic-bezier(.5,0,.9,.5); }
  8%   { opacity: 1; }
  25%  { transform: translateY(var(--y)); animation-timing-function: ease-out; }
  30%  { transform: translateY(calc(var(--y) - 1.2cqw)); animation-timing-function: ease-in; }
  35%  { transform: translateY(var(--y)); }
  70%  { opacity: 1; transform: translateY(var(--y)); }
  80%, 100% { opacity: 0; transform: translateY(var(--y)); }
}
.gc-fx .bj-k { transform-origin: 0% 100%; animation: bjK 2.4s infinite ease-in-out; }
@keyframes bjK { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-5deg) translateY(-1cqw); } }
.gc-fx .bj-badge { animation: fxPop 2.4s infinite 1s; }
@keyframes fxPop { 0%, 20%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } }

/* ---------- Limbo: the rocket blasts off (shakes, flame roars, speed lines rush past) ---------- */
.gc-fx .lb-rocket { animation: lbShake .14s infinite linear; }
@keyframes lbShake {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(.45cqw, -.35cqw); }
  50%  { transform: translate(-.3cqw, .3cqw); }
  75%  { transform: translate(.3cqw, .4cqw); }
  100% { transform: translate(0, 0); }
}
.gc-fx .lb-flame { transform-origin: 100% 0%; animation: lbFlame .16s infinite alternate ease-in-out; }
@keyframes lbFlame { from { transform: scale(1); filter: none; } to { transform: scale(1.18); filter: brightness(1.25); } }
.gc-fx .lb-badge { animation: fxPulse 1s infinite ease-in-out; }
@keyframes fxPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.gc-fx .lb-line { width: 16cqw; height: .9cqw; border-radius: 1cqw; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7));
  transform: rotate(-42deg); animation: lbLine .7s infinite linear; }
.gc-fx .lb-line1 { left: 30%; top: 30%; animation-delay: 0s; }
.gc-fx .lb-line2 { left: 52%; top: 52%; animation-delay: .18s; }
.gc-fx .lb-line3 { left: 18%; top: 50%; animation-delay: .35s; }
.gc-fx .lb-line4 { left: 66%; top: 28%; animation-delay: .52s; }
@keyframes lbLine {
  0%   { opacity: 0; transform: rotate(-42deg) translateX(14cqw); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(-42deg) translateX(-26cqw); }
}

/* ---------- Keno: the balls roll, the picked tiles light up in turn ---------- */
.gc-fx .kn-ball { animation: knRoll 2s infinite ease-in-out; }
.gc-fx .kn-b21 { animation-delay: .25s; }
@keyframes knRoll { 0% { transform: rotate(0); } 45%, 100% { transform: rotate(360deg); } }
.gc-fx .kn-tile { width: 8.6cqw; height: 8.6cqw; margin: -4.3cqw 0 0 -4.3cqw; border-radius: 1.8cqw; opacity: 0;
  background: rgba(80, 255, 160, .38); box-shadow: 0 0 2.2cqw #47ff9a, inset 0 0 0 .4cqw rgba(160, 255, 200, .8);
  transform: rotate(-8deg); animation: knTile 2s infinite; }
.gc-fx .kn-t1 { left: 58%;   top: 15%;   animation-delay: 0s; }
.gc-fx .kn-t2 { left: 70%;   top: 23.5%; animation-delay: .3s; }
.gc-fx .kn-t3 { left: 60%;   top: 34.5%; animation-delay: .6s; }
.gc-fx .kn-t4 { left: 37%;   top: 17.5%; animation-delay: .9s; }
.gc-fx .kn-t5 { left: 82%;   top: 32%;   animation-delay: 1.2s; }
@keyframes knTile { 0% { opacity: 0; transform: rotate(-8deg) scale(.8); } 12% { opacity: 1; transform: rotate(-8deg) scale(1.08); } 45%, 100% { opacity: 0; transform: rotate(-8deg) scale(1); } }

/* ---------- Crash: the arrow shoots up (redrawn left to right), the multiplier pulses ---------- */
.gc-fx .cr-arrow { animation: crArrow 2.6s infinite; }
@keyframes crArrow {
  0%, 8%  { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
  16%     { opacity: 0; clip-path: inset(0 0 0 0); }
  17%     { opacity: 1; clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.45,0,.6,1); }
  62%     { clip-path: inset(0 0 0 0); transform: none; }
  70%     { transform: translate(.8cqw, -1.2cqw); }
  78%, 100% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}
.gc-fx .cr-badge { animation: fxPop 2.6s infinite 1.6s; }
.gc-fx .cr-spark { animation: fxTwinkle .45s infinite alternate; }

/* ---------- Plinko: the ball bounces down the pins into the 1.5x slot ---------- */
.gc-fx .pk-ball { animation: pkDrop 2.4s infinite; }
@keyframes pkDrop {
  0%, 6%  { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.3,0,.7,.5); }
  18%     { transform: translate(5.5cqw, 8.8cqw); animation-timing-function: cubic-bezier(.3,0,.7,.5); }
  30%     { transform: translate(0, 17.3cqw); animation-timing-function: cubic-bezier(.3,0,.7,.5); }
  42%     { transform: translate(5.5cqw, 26.3cqw); animation-timing-function: cubic-bezier(.5,0,.9,.6); }
  50%     { opacity: 1; transform: translate(5.5cqw, 32.3cqw) scale(.95); }
  58%     { opacity: 0; transform: translate(5.5cqw, 33.5cqw) scale(.7); }
  72%     { opacity: 0; transform: translate(0, -14cqw); animation-timing-function: cubic-bezier(.4,0,.8,.6); }
  86%, 100% { opacity: 1; transform: translate(0, 0); }
}
.gc-fx .pk-slot { animation: pkSlot 2.4s infinite; }
@keyframes pkSlot { 0%, 48%, 66%, 100% { transform: scale(1); filter: none; } 54% { transform: scale(1.22); filter: brightness(1.45) drop-shadow(0 0 1.5cqw #ffd84a); } }

/* ---------- Cases: items fly up out of the open chest ---------- */
.gc-fx .cs-glow { left: 50%; top: 31%; width: 56cqw; height: 34cqw; margin: -17cqw 0 0 -28cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 228, 150, .6), rgba(255, 228, 150, 0)); animation: csGlow 1.1s infinite ease-in-out; }
@keyframes csGlow { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
.gc-fx .cs-item { opacity: 0; animation: csFly 2.2s infinite both; }
@keyframes csFly {
  0%   { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.25) rotate(0); animation-timing-function: cubic-bezier(.2,.8,.4,1); }
  12%  { opacity: 1; }
  50%  { transform: translate(var(--ex), var(--ey)) scale(1) rotate(var(--r)); }
  78%  { opacity: 1; transform: translate(var(--ex), calc(var(--ey) - 1.5cqw)) scale(1) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(var(--ex), calc(var(--ey) - 4cqw)) scale(1) rotate(var(--r)); }
}
.gc-fx .cs-gem1  { --sx: 13.3cqw;  --sy: 14cqw; --ex: 0cqw;  --ey: 0cqw;   --r: -10deg; animation-delay: 0s; }
.gc-fx .cs-coin1 { --sx: -16.3cqw; --sy: 19cqw; --ex: 0cqw;  --ey: 0cqw;   --r: 20deg;  animation-delay: .35s; }
.gc-fx .cs-coin2 { --sx: 29.5cqw;  --sy: 4cqw;  --ex: 0cqw;  --ey: 0cqw;   --r: -25deg; animation-delay: .7s; }
.gc-fx .cs-coin3 { --sx: -16.3cqw; --sy: 19cqw; --ex: 13cqw; --ey: 9cqw;   --r: 35deg;  animation-delay: 1.05s; }
.gc-fx .cs-gem2  { --sx: 13.3cqw;  --sy: 14cqw; --ex: 11cqw; --ey: -5cqw;  --r: 12deg;  animation-delay: 1.4s; }
.gc-fx .cs-coin4 { --sx: 29.5cqw;  --sy: 4cqw;  --ex: 6cqw;  --ey: -13cqw; --r: -30deg; animation-delay: 1.75s; }

/* ---------- High-Low: higher? lower? (the arrows press in turn, the card tips) ---------- */
.gc-fx .hl-up   { animation: hlPress 1.6s infinite; }
.gc-fx .hl-down { animation: hlPress 1.6s infinite .8s; }
@keyframes hlPress {
  0%, 30%, 100% { transform: scale(1); filter: none; }
  12% { transform: scale(1.16); filter: brightness(1.3) drop-shadow(0 0 1.4cqw rgba(255, 255, 255, .55)); }
  20% { transform: scale(.96); }
}
.gc-fx .hl-q { transform-origin: 50% 100%; animation: hlQ 1.6s infinite ease-in-out; }
@keyframes hlQ { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg) translateY(-.6cqw); } 75% { transform: rotate(3deg) translateY(-.6cqw); } }

/* ---------- Tower: the tiles light up one floor at a time to the crown ---------- */
.gc-fx .tw-t { animation: twTile 2.4s infinite; }
.gc-fx .tw-t4 { animation-delay: 0s; }
.gc-fx .tw-t3 { animation-delay: .3s; }
.gc-fx .tw-t2 { animation-delay: .6s; }
.gc-fx .tw-t1 { animation-delay: .9s; }
@keyframes twTile { 0%, 22%, 100% { transform: scale(1); filter: none; } 8% { transform: scale(1.1) translateY(-.8cqw); filter: brightness(1.35) drop-shadow(0 0 1.6cqw #3ef08a); } }
.gc-fx .tw-crown { transform-origin: 50% 100%; animation: fxTwCrown 2.4s infinite 1.2s; }
@keyframes fxTwCrown { 0%, 40%, 100% { transform: scale(1) rotate(0); filter: none; } 12% { transform: scale(1.2) rotate(-6deg); filter: brightness(1.25) drop-shadow(0 0 2cqw #ffd84a); } 24% { transform: scale(1.1) rotate(5deg); } }
.gc-fx .tw-spark { animation: fxTwinkle .5s infinite alternate; }
.gc-fx .tw-bomb { animation: twBomb 2.4s infinite; }
@keyframes twBomb { 0%, 60%, 100% { transform: none; } 64% { transform: translateX(-.5cqw) rotate(-3deg); } 68% { transform: translateX(.5cqw) rotate(3deg); } 72% { transform: translateX(-.3cqw); } }

/* ---------- Chicken Road: the car passes, then the chicken waddles across the road ---------- */
.gc-fx .ck-car { animation: ckCar 3.6s infinite; }
@keyframes ckCar {
  0%, 8%  { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.5,0,1,.6); }
  26%     { opacity: 1; transform: translate(14cqw, 60cqw); }
  27%, 60% { opacity: 0; transform: translate(-14cqw, -60cqw); animation-timing-function: cubic-bezier(0,.5,.4,1); }
  61%     { opacity: 1; transform: translate(-14cqw, -60cqw); animation-timing-function: cubic-bezier(0,.5,.4,1); }
  78%, 100% { opacity: 1; transform: translate(0, 0); }
}
.gc-fx .ck-chick { transform-origin: 50% 100%; animation: ckWalk 3.6s infinite; }
@keyframes ckWalk {
  0%, 22% { opacity: 1; transform: translate(0, 0) rotate(0); }
  27%     { transform: translate(7.5cqw, -.9cqw) rotate(-6deg) translateY(-1cqw); }
  32%     { transform: translate(15cqw, -1.9cqw) rotate(5deg); }
  37%     { transform: translate(22.5cqw, -2.8cqw) rotate(-6deg) translateY(-1cqw); }
  42%     { transform: translate(30cqw, -3.7cqw) rotate(5deg); }
  47%     { transform: translate(37.5cqw, -4.6cqw) rotate(-6deg) translateY(-1cqw); }
  52%     { opacity: 1; transform: translate(45cqw, -5.6cqw) rotate(5deg); }
  57%     { opacity: 0; transform: translate(52.5cqw, -6.5cqw) rotate(-6deg); }
  64%     { opacity: 0; transform: translate(0, 0) scale(.6); }
  76%, 100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* ---------- Horse Racing: the horse gallops, dust kicks up, the flag waves ---------- */
.gc-fx .hr-horse { transform-origin: 50% 100%; animation: hrGallop .5s infinite linear; }
@keyframes hrGallop {
  0%   { transform: translateY(0) rotate(0); }
  25%  { transform: translateY(-2.2cqw) rotate(-4deg); }
  50%  { transform: translateY(0) rotate(0); }
  75%  { transform: translateY(-1cqw) rotate(3deg); }
  100% { transform: translateY(0) rotate(0); }
}
.gc-fx .hr-dust { width: 7cqw; height: 5cqw; margin: -2.5cqw 0 0 -3.5cqw; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(225, 210, 255, .55), rgba(225, 210, 255, 0)); animation: hrDust .75s infinite ease-out; }
.gc-fx .hr-dust1 { left: 34%; top: 56%; animation-delay: 0s; }
.gc-fx .hr-dust2 { left: 44%; top: 57%; animation-delay: .25s; }
.gc-fx .hr-dust3 { left: 38%; top: 55%; animation-delay: .5s; }
@keyframes hrDust { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-12cqw, -2cqw) scale(1.5); } }
.gc-fx .hr-flag { transform-origin: 0% 50%; animation: hrFlag .9s infinite ease-in-out; }
@keyframes hrFlag { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-5deg) scaleX(.95); } }
.gc-fx .hr-badge { animation: fxPop 1.5s infinite .4s; }
