body {
  margin: 0;
}

html {
  overflow: hidden scroll;
}

#loading-bg {
  position: absolute;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(225deg, #ffd80a 0%, #e79314 100%);
  block-size: 100%;
  gap: 1rem 0;
  inline-size: 100%;
  inset: 0;
  text-align: center;
}

.loading {
  position: relative;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  block-size: 55px;
  inline-size: 55px;
}

.blink {
  animation: blink-anim 1.5s ease-in-out infinite;
  inline-size: 120px;
}

@keyframes blink-anim {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* -------------------- */

/* Progress Bar         */

/* -------------------- */
.progress-bar {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  background: #e5e5e5;
  block-size: 6px;
  inline-size: 200px;
}

/* Smooth continuous moving bar */
.progress {
  position: absolute;
  animation: loading 1.25s infinite;
  background: linear-gradient(225deg, #ffd80a 0%, #e79314 100%);
  block-size: 100%;
  inline-size: 80%;
}

#loading-text {
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

@keyframes loading {
  0% {
    inset-inline-start: -100%;
  }

  100% {
    inset-inline-start: 100%;
  }
}
