/* Body & animated gradient background */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
  /* Start with primary color as dark, fade to lighter variant */
  background: linear-gradient(270deg, #2898F3, #60C0F8, #2898F3);
  background-size: 600% 600%;
  animation: gradientMove 15s ease infinite;
  color: white;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Splash container */
.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  animation: fadeIn 0.6s ease-in-out;
  text-align: center;
}

/* Logo */
.logo {
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
  animation: scaleIn 0.8s ease-out;
}

/* App title */
.app-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Loading text */
.loading-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Retry button */
.retry-btn {
  margin-top: 12px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: white;
  color: #1e3a8a;
  font-weight: 500;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
