/* ================= BOLD MINIMALIST SPLASH ================= */
.splash {
  width: 100%;
  height: 100vh;
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f1f8f7;
  z-index: 1000;
  /* Premium exit: zoom out and fade */
  transition:
    transform 1.2s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 1s ease;
}

.logo-wrapper {
  margin-bottom: 25px; /* Increased gap for better visual balance */
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  /* Dynamic sizing: 280px on desktop, 60% of width on mobile */
  width: 350px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(6, 2, 45, 0.15));
  /* Stronger breathing animation for a larger logo */
  animation: logo-breathe-bold 7s ease-in-out infinite;
}

/* PROGRESS BAR: Thick and substantial */
.progress-container {
  /* Spans more of the screen width */
  width: 350px;
  max-width: 80vw;
}

.progress-bar1 {
  width: 100%;
  height: 8px; /* Doubled height for a more "realistic" feel */
  background-color: #e5e9eb;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.progress1 {
  height: 100%;
  /* High-contrast gradient */
  background: linear-gradient(90deg, #06022d 0%, #1f0bdb 50%, #06022d 100%);
  background-size: 200% 100%;
  width: 0%;
  animation:
    load-fill 7s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    shimmer 2s linear infinite;
}

/* KEYFRAMES */
@keyframes logo-breathe-bold {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 15px 30px rgba(6, 2, 45, 0.15));
  }
  50% {
    transform: scale(1.1); /* More noticeable growth */
    filter: drop-shadow(0 25px 45px rgba(31, 11, 219, 0.25));
  }
}

@keyframes load-fill {
  to {
    width: 100%;
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* MOBILE OPTIMIZATION: Keeps it large but safe */
@media (max-width: 600px) {
  .logo-img {
    width: 240px; /* Much larger on phones than before */
  }
  .progress-container {
    width: 240px;
  }
  .logo-wrapper {
    margin-bottom: 15px;
  }
}
