#splash {
  position: fixed;
  inset: 0;
  background: #07152b;
  z-index: 9999;
  overflow: hidden;
}

#splashLogo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: auto;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

/* Pulse */
.splash-pulse {
  animation: splashPulse 0.85s ease-in-out infinite;
}

@keyframes splashPulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50%  { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
}

/* Fly (מטרה דינמית ב-JS) */
.splash-fly {
  animation: splashFly 0.65s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes splashFly {
  from { transform: translate(var(--from-x), var(--from-y)) scale(1.02); opacity: 1; }
  to   { transform: translate(var(--to-x), var(--to-y)) scale(0.55); opacity: 1; }
}

/* Card */
#splashCard {
  position: absolute;
  left: 26px;
  top: 56px;
  width: 0px;
  height: 0px;
  opacity: 0;

  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);

  transform-origin: top left;
  will-change: width, height, opacity, transform;
}

.splash-card-open {
  animation: splashOpenCard 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes splashOpenCard {
  from { width: 0; height: 0; opacity: 0; transform: scale(0.98); }
  to   { width: 285px; height: 420px; opacity: 1; transform: scale(1); }
}