/* ═══ PRELOADER — скачущий мяч + логотип ═══ */
#preloader.lbpl {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #ffffff 0%, #f0f4ff 55%, #e3eaf8 100%);
  opacity: 1 !important; clip-path: none !important;
  transition: opacity .6s cubic-bezier(.16,1,.3,1), visibility 0s linear .6s !important;
}
#preloader.lbpl.hidden { opacity: 0 !important; visibility: hidden; pointer-events: none; }
#preloader.lbpl.hidden .lbpl-stage { transform: scale(.94); }
.lbpl-stage { display: flex; flex-direction: column; align-items: center; transition: transform .6s cubic-bezier(.16,1,.3,1); }

.lbpl-ball-wrap { position: relative; width: 56px; height: 140px; }
.lbpl-ball-bounce { position: absolute; left: 0; right: 0; bottom: 6px; animation: lbpl-bounce .8s infinite; }
.lbpl-ball-squash { transform-origin: 50% 100%; animation: lbpl-squash .8s infinite; }
.lbpl-ball { display: block; width: 56px; height: 56px; animation: lbpl-spin 1.6s linear infinite; filter: drop-shadow(0 6px 14px rgba(249,115,22,.3)); }
.lbpl-shadow { position: absolute; left: 50%; bottom: 0; width: 52px; height: 9px; margin-left: -26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15,23,42,.28), transparent); animation: lbpl-shadow .8s infinite; }

@keyframes lbpl-bounce {
  0%   { transform: translateY(-84px); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  50%  { transform: translateY(0);     animation-timing-function: cubic-bezier(0,.55,.45,1); }
  100% { transform: translateY(-84px); }
}
@keyframes lbpl-squash {
  0%, 42% { transform: scale(1, 1); }
  50%     { transform: scale(1.16, .84); }
  58%     { transform: scale(.95, 1.05); }
  66%, 100% { transform: scale(1, 1); }
}
@keyframes lbpl-shadow {
  0%   { transform: scale(.45); opacity: .35; animation-timing-function: cubic-bezier(.55,0,1,.45); }
  50%  { transform: scale(1);   opacity: 1;   animation-timing-function: cubic-bezier(0,.55,.45,1); }
  100% { transform: scale(.45); opacity: .35; }
}
@keyframes lbpl-spin { to { transform: rotate(360deg); } }

.lbpl-logo { margin-top: 26px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--text-primary);
  opacity: 0; animation: lbpl-logo .8s cubic-bezier(.16,1,.3,1) .15s forwards; }
.lbpl-logo span { color: var(--blue-600); }
@keyframes lbpl-logo { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lbpl-ball-bounce, .lbpl-ball-squash, .lbpl-ball, .lbpl-shadow { animation: none; }
  .lbpl-logo { animation: none; opacity: 1; }
}
