/* SPLASH SCREEN — kiosk 1080x1920 */
#screen-splash {
  background: #ffffff;
  position: fixed;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(6px, 1.6vw, 20px) 0 0;
}

#screen-splash::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: #878F8E;
  z-index: 0;
  pointer-events: none;
}

.splash-title-img {
  width: clamp(220px, 72cqw, 778px);
  height: clamp(150px, 46.84cqh, 900px);
  display: block;
  margin: 0 auto;
  z-index: 5;
  position: relative;
  animation: splash-title-bob 4.2s ease-in-out infinite;
}

@keyframes splash-title-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.splash-tap {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(14px, 3.2cqw, 34.5px);
  font-weight: 600;
  color: #878F8E;
  text-align: center;
  margin-top: clamp(18px, 3vh, 56px);
  z-index: 6;
  position: relative;
  letter-spacing: 0.02em;
  animation: splash-tap-pulse 1.8s ease-in-out infinite;
}

@keyframes splash-tap-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

.splash-figure {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 1;
  display: block;
  animation: splash-figure-breathe 5.5s ease-in-out infinite;
  transform-origin: 50% 100%;
}

.splash-figure svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes splash-figure-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.005); }
}

/* Fruit paths inside the inline figure SVG fall one-by-one */
.fruit-fall {
  transform-box: view-box;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
