@keyframes splash-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }
}

@keyframes splash-progress {
  0% {
    transform: translateX(-70%);
  }
  100% {
    transform: translateX(170%);
  }
}

.app-loading {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: #f3f5f7;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.app-loading__splash {
  display: flex;
  width: min(420px, calc(100vw - 48px));
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
}

.app-loading__logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  animation: splash-pulse 1.8s ease-in-out infinite;
}

.app-loading__title {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.app-loading__copy {
  margin: -8px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.app-loading__bar {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.app-loading__bar::after {
  position: absolute;
  inset: 0;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #0284c7);
  content: '';
  animation: splash-progress 1.2s ease-in-out infinite;
}
