html,
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom,
      #EF7F1A 0%,
      #E46C1D 25%,
      #C83C26 75%,
      #BE2A2A 100%);
}

/* Splash container */
#splash {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  animation: fadeIn 1.2s ease-in-out forwards;
  flex-direction: column;
}

/* Fade in on splash */
@keyframes fadeIn {
  from {
    opacity: 0;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Logo animation */
#logo {
  width: 70px;
  height: 70px;
  -webkit-animation: bloom 3s ease-in-out infinite, float 1.5s ease-in-out infinite;
  animation: bloom 3s ease-in-out infinite, float 1.5s ease-in-out infinite;
  /* margin-bottom: 40px; */
  position: relative;
  z-index: 2;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

/* Bloom in & out */
@-webkit-keyframes bloom {
  0%,
  100% {
    -webkit-transform: scale(1);
    -webkit-filter: brightness(1) drop-shadow(0 0 4px rgba(0, 0, 0, 0.15));
  }

  50% {
    -webkit-transform: scale(1.15);
    -webkit-filter: brightness(1.2) drop-shadow(0 0 12px rgba(0, 0, 0, 0.25));
  }
}

@keyframes bloom {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 4px rgba(0, 0, 0, 0.15));
  }

  50% {
    transform: scale(1.15);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(0, 0, 0, 0.25));
  }
}

/* Floating effect */
@-webkit-keyframes float {
  0%,
  100% {
    -webkit-transform: translateY(0) translateZ(0);
  }

  50% {
    -webkit-transform: translateY(-10px) translateZ(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(-10px) translateZ(0);
  }
}

/* Loader spinner */
.loader {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid #EF7F1A;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spin 1.2s linear infinite;
  z-index: 1;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Progress bar container */
.progress-bar {
  width: 220px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* Progress (fills left to right) */
.progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ef7f1a, #e46c1d, #c83c26, #be2a2a);
  border-radius: 4px;
  position: relative;
  animation: move 1.5s linear infinite;
  background-size: 200% 100%;
}

/* Progress filling animation */
@keyframes move {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: 0% 0;
  }
}
