body {
  margin: 0;
}

.loader-container {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 100vh;
  background: #123c3f;
}

.loader {
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: loader-enter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.favicon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-float 3s ease-in-out infinite;
}

.favicon-logo {
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(111, 206, 116, 0.6));
}

/* Animated shine bar */
.preloader-divider-wrap {
  position: relative;
  width: 100px;
  height: 2px;
  overflow: hidden;
  background: rgba(111, 206, 116, 0.15);
  border-radius: 9999px;
}

.preloader-divider-line {
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #6fce74 40%,
    #ffffffbb 50%,
    #6fce74 60%,
    transparent 100%
  );
  animation: slide-shine 1.6s ease-in-out infinite;
  border-radius: 9999px;
}

@keyframes slide-shine {
  0% {
    left: -60%;
  }
  100% {
    left: 110%;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
  50% {
    transform: translateY(-6px);
    opacity: 0.85;
  }
}

@keyframes loader-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
