/* KolamFlow pond motion (owner asked 2026-10-31 for fishing-pond animation).
   Markup comes from g_pond_art() in app/Support/View.php. Decorative only (aria-hidden),
   transform/opacity animations only, all stopped under prefers-reduced-motion. */

.g-pond{position:absolute;pointer-events:none;overflow:hidden;z-index:0}
.g-pond>svg{display:block;width:100%!important;height:100%!important;max-width:none!important;min-width:0!important;overflow:visible}

/* Card variant: float + ripples in the top-right corner of a dark wallet card */
.g-pond--card{right:0;top:0;width:min(46%,260px);height:min(100%,220px)}
.kl-feature>.g-pond--card{right:auto;left:34%}
.g-wallet__card>*:not(.g-pond),.participant-ticket>*:not(.g-pond),.kl-feature>*:not(.g-pond){position:relative;z-index:1}

.g-pond__ripple{fill:none;stroke:#9fe1cb;stroke-width:1.2;transform-box:fill-box;transform-origin:center;opacity:0;animation:g-ripple 4.2s ease-out infinite}
.g-pond__ripple:nth-of-type(2){animation-delay:1.4s}
.g-pond__ripple:nth-of-type(3){animation-delay:2.8s}
@keyframes g-ripple{0%{transform:scale(.15);opacity:.55}70%{opacity:.12}100%{transform:scale(1);opacity:0}}

.g-pond__float{transform-box:fill-box;transform-origin:50% 85%;animation:g-bob 3.2s ease-in-out infinite}
@keyframes g-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(3px) rotate(4deg)}}
.g-pond__line{stroke:rgba(255,255,255,.28);stroke-width:1;fill:none}
.g-pond--light .g-pond__line{stroke:rgba(17,17,20,.22)}
.g-pond--light .g-pond__ripple{stroke:#1d9e75}

/* "Bite" every so often: the float dips under and pops back */
.g-pond__float-inner{transform-box:fill-box;transform-origin:50% 100%;animation:g-bite 9s ease-in-out infinite}
@keyframes g-bite{0%,82%,100%{transform:translateY(0)}85%{transform:translateY(7px)}88%{transform:translateY(-2px)}91%{transform:translateY(5px)}94%{transform:translateY(0)}}

/* Scene variant: water band with swimming fish (landing hero, empty states) */
.g-pond--scene{left:0;right:0;bottom:0;height:120px}
.g-pond__wave{fill:none;stroke:rgba(17,17,20,.1);stroke-width:1.4;animation:g-wave 7s ease-in-out infinite alternate}
.g-pond__wave:nth-of-type(2){stroke:rgba(29,158,117,.16);animation-duration:9s;animation-delay:-3s}
@keyframes g-wave{from{transform:translateX(-24px)}to{transform:translateX(24px)}}
.g-pond__fish{fill:rgba(17,17,20,.2);animation:g-swim 22s linear infinite}
.g-pond__fish:nth-of-type(2){fill:rgba(29,158,117,.32);animation-duration:30s;animation-delay:-12s}
.g-pond__fish:nth-of-type(3){fill:rgba(17,17,20,.12);animation-duration:26s;animation-delay:-20s}
.g-pond__fish path{transform-box:fill-box;transform-origin:30% 50%;animation:g-wiggle .9s ease-in-out infinite alternate}
@keyframes g-swim{from{transform:translateX(-80px)}to{transform:translateX(1260px)}}
@keyframes g-wiggle{from{transform:skewY(-4deg)}to{transform:skewY(4deg)}}

/* Inline bobbing float for loading / empty states */
.g-bobber{display:inline-block;width:34px;height:52px}
.g-bobber>svg{width:100%!important;height:100%!important;max-width:none!important;overflow:visible}

@media (prefers-reduced-motion:reduce){
  .g-pond *,.g-bobber *{animation:none!important}
  .g-pond__ripple{opacity:.18;transform:scale(.6)}
}
@media print{.g-pond,.g-bobber{display:none!important}}
