@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 16px; /* Add padding to avoid edge overflow */
  box-sizing: border-box;
  background: linear-gradient(135deg, #edf2fb 0%, #dbe4f3 100%);
  background-image: linear-gradient(135deg, #edf2fb 0%, #dbe4f3 100%),
    repeating-linear-gradient(45deg, rgba(84,148,221,0.03) 0 2px, transparent 2px 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out;
}

#splash-content {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 20, 60, 0.08);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #d8e1f0;
  box-sizing: border-box;
}

#splash-logo-img {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(60, 60, 120, 0.10);
  border: 2px solid #e1e8f6;
  animation: heart-beat 1.3s cubic-bezier(0.4,0,0.6,1) infinite;
  will-change: transform;
}

@keyframes heart-beat {
  0%, 100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.08);
  }
  20% {
    transform: scale(0.96);
  }
  30% {
    transform: scale(1.10);
  }
  50% {
    transform: scale(0.98);
  }
  70% {
    transform: scale(1.04);
  }
  80% {
    transform: scale(0.98);
  }
}

#splash-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1c2a45;
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(60, 60, 120, 0.06);
}

#splash-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3a4a6a;
  margin-bottom: 12px;
  text-align: center;
}

#splash-desc {
  font-size: 0.95rem;
  color: #2a354d;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(60, 60, 120, 0.04);
  text-align: center;
  border: 1px solid #e3e9f7;
  max-width: 320px;
}

#splash-home-img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  margin-top: 10px;
  box-shadow: 0 6px 28px rgba(60, 60, 120, 0.10);
  object-fit: cover;
  border: 1.5px solid #e3e9f7;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  #splash-screen {
    padding: 12px;
  }

  #splash-content {
    padding: 20px 16px;
    max-width: 100%;
  }

  #splash-title {
    font-size: 1.4rem;
  }

  #splash-subtitle {
    font-size: 1rem;
  }

  #splash-desc {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  #splash-logo-img {
    width: 52px;
    height: 52px;
  }

  #splash-home-img {
    max-width: 95%;
    border-radius: 10px;
  }
}
