html,
body {
  margin: 0;
  height: 100%;
  background: #f7f9f7;
}

#kuya-splash {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #f7f9f7;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#kuya-splash img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(7, 61, 47, 0.18);
  animation:
    kuya-mark-arrive 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    kuya-mark-breathe 2.8s ease-in-out 0.7s infinite;
}

#kuya-splash p {
  margin: 0;
  color: #50615d;
  font-size: 15px;
}

@keyframes kuya-mark-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes kuya-mark-breathe {
  50% {
    transform: translateY(-3px);
  }
}

#kuya-splash .bar {
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: #dde5df;
  overflow: hidden;
}

#kuya-splash .bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 2px;
  background: #073d2f;
  animation: kuya-load 1.1s ease-in-out infinite;
}

@keyframes kuya-load {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(250%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #kuya-splash img {
    animation: none;
  }

  #kuya-splash .bar::after {
    animation: none;
    width: 100%;
  }
}
