html {
  font-size: 13px;
  font-weight: 400;
  font-family: Inter,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-loading {
  margin: 0;
  height: 100%;
  overflow: hidden;
  transition: none !important;
}

.splash-screen {
  display: none;
}

#elo-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.35rem;
  background:
    radial-gradient(circle at 50% 24%, rgba(18, 196, 160, 0.32), transparent 36%),
    linear-gradient(165deg, #071428 0%, #0a1c38 56%, #06101f 100%);
  color: #fff;
  font-family: Inter, Helvetica, "Segoe UI", Arial, sans-serif;
  transition: opacity 0.45s ease;
}

html.elo-splash-skip #elo-splash {
  display: none;
}

html.elo-splash-skip body.page-loading {
  overflow: visible;
  height: auto;
}

.elo-splash-inner {
  width: min(28rem, 100%);
  text-align: center;
}

.elo-splash-elo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.elo-splash-elo img {
  height: 68px;
  width: auto;
  display: block;
}

.elo-splash-word {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}

.elo-splash-tag {
  margin: 0.9rem 0 0;
  color: #d5deea;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 500;
}

.elo-splash-bar {
  height: 3px;
  width: min(14rem, 72%);
  margin: 1.55rem auto 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.elo-splash-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #12c4a0;
  animation: elo-splash-bar 2.4s ease forwards;
}

.elo-splash-kicker {
  margin: 0 0 0.45rem;
  color: #9ee7d8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.elo-splash-fyrel img {
  height: 58px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 0.7rem;
}

.elo-splash-fyrel p {
  margin: 0 auto;
  max-width: 26rem;
  color: #c5d0dc;
  font-size: 0.98rem;
  line-height: 1.5;
}

body.elo-splash-leave #elo-splash {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .elo-splash-bar i {
    animation: none;
    width: 100%;
  }

  .elo-splash-elo,
  .elo-splash-fyrel {
    animation: none;
  }

  #elo-splash,
  body.elo-splash-leave #elo-splash {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .elo-splash-elo {
    animation: elo-splash-in 0.55s ease both;
  }

  .elo-splash-fyrel {
    animation: elo-splash-in 0.6s ease 0.45s both;
  }
}

@keyframes elo-splash-bar {
  to { width: 100%; }
}

@keyframes elo-splash-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.page-loading .splash-screen {
  position: absolute;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: #fff;
}

.page-loading .splash-screen .loading-text {
  color: #99A1B7;
  margin-left: 1.25rem;
  font-size: 1.075rem;
  font-weight: 500;
}

html[data-bs-theme='dark'] .page-loading .splash-screen {
  background-color: #151521;
  color: #ffffff;
}

.splash-screen .dark-logo {
  display: none;
}

.splash-screen .light-logo {
  display: block;
}

html[data-bs-theme='dark'] .splash-screen .light-logo {
  display: none;
}

html[data-bs-theme='dark'] .splash-screen .dark-logo {
  display: block;
}

.loader {
  width: 2rem;
  height: 2rem;
  border: 0.185rem solid #1B84FF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 0.65s linear infinite;
}

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

.loader-wrapper {
  display: flex;
  align-items: center;
  margin-top: 1.25rem;
}