/* Csepp Autómosó: vízmozgás (v2 előnézet, a Gyors foglalás főoldalhoz igazítva; a #foglalas szakasz helyén #idopont áll). A mozgás csak a transform és az opacity tulajdonságot használja.
   Minden elem a csepp-automoso.js-ből jön létre; JS nélkül ebből semmi nem látszik és semmi nem rejtett. */

/* kattintás-hullám a gombokon: a gyűrű a kattintás helyéről tágul */
.btn-electric, .sl-btn2, #idopont .go { position: relative; overflow: hidden; }
.csfx-rip { --csfx-rf: rgba(255, 255, 255, .34); --csfx-rl: rgba(255, 255, 255, .8); }
.csfx-rip.csfx-rip-l { --csfx-rf: rgba(0, 163, 255, .2); --csfx-rl: rgba(0, 116, 189, .5); }
.csfx-rip { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; transform: scale(.06); opacity: 0;
  background: radial-gradient(circle, transparent 0, transparent 34%, var(--csfx-rf) 69%, transparent 71%); box-shadow: inset 0 0 0 1.5px var(--csfx-rl);
  animation: csfx-rip .9s cubic-bezier(.2, .65, .3, 1) 1 both; }
@keyframes csfx-rip { 0% { transform: scale(.06); opacity: .95; } 60% { opacity: .55; } 100% { transform: scale(1); opacity: 0; } }

/* buborékok a sötét telefon-szakaszban: lassan emelkednek, csak a látható szakaszban futnak */
.csfx-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.csfx-bubbles i { position: absolute; left: var(--x); bottom: -34px; width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, .28) 14%, rgba(80, 190, 255, .12) 48%, rgba(0, 163, 255, .26) 100%);
  box-shadow: inset 0 0 0 1px rgba(170, 225, 255, .6), inset -2px -3px 6px rgba(0, 163, 255, .35), 0 0 10px rgba(0, 163, 255, .18);
  animation: csfx-bub var(--t) linear var(--d) infinite; animation-play-state: paused; }
.csfx-bubbles.csfx-live i { animation-play-state: running; will-change: transform, opacity; }
@keyframes csfx-bub {
  0% { transform: translate3d(0, 0, 0) scale(.85); opacity: 0; }
  8% { opacity: .75; }
  35% { transform: translate3d(var(--w), calc(var(--r, 700px) * -.35), 0) scale(1); }
  70% { transform: translate3d(calc(var(--w) * -.7), calc(var(--r, 700px) * -.7), 0); }
  92% { opacity: .5; }
  100% { transform: translate3d(0, calc(var(--r, 700px) * -1), 0) scale(1.05); opacity: 0; }
}

/* vízcseppek a nyitó fotó nedves üvegén (vászon) */
.csfx-drops { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* érintés-gyűrű a telefonon a kijelölt időponton: kétszer lefut, aztán kész */
.csfx-tapwrap { position: relative; }
.csfx-tap { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none;
  background: rgba(0, 163, 255, .16); box-shadow: 0 0 0 2px rgba(0, 163, 255, .5); opacity: 0; transform: scale(.4); }
.csfx-tap.csfx-go { animation: csfx-tap 1.5s ease-out 2 both; }
@keyframes csfx-tap { 0% { opacity: 0; transform: scale(.4); } 22% { opacity: .95; } 100% { opacity: 0; transform: scale(1.9); } }

/* csökkentett mozgás: a minta saját végtelen animációi is leállnak, a saját díszek el sem indulnak */
@media (prefers-reduced-motion: reduce) {
  html, html.scroll-smooth, main.scroll-smooth { scroll-behavior: auto !important; }
  .animate-float, .animate-pulse { animation: none !important; }
  .animate-fade-up { animation: none !important; opacity: 1 !important; transform: none !important; }
  .csfx-rip, .csfx-bubbles, .csfx-drops, .csfx-tap { display: none !important; animation: none !important; }
}
