/* Monex — Splash Screen */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  min-height: 100vh;
  min-height: 100dvh;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  overflow: hidden;
  transition: opacity .55s cubic-bezier(.22, .8, .24, 1), visibility .55s, transform .55s cubic-bezier(.22, .8, .24, 1);
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.splash__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(120vw, 760px);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%);
  animation: splash-glow 2.8s ease-in-out infinite;
}

.splash__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.splash__symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  animation: splash-pop .9s cubic-bezier(.22, .8, .24, 1) both;
}
.splash__symbol img {
  position: relative;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .35));
  animation: splash-float 3.2s ease-in-out .9s infinite;
}
.splash__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  animation: splash-ring 2.4s ease-out infinite;
}

.splash__word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .6em;
  padding-left: .6em;
  color: rgba(255, 255, 255, .9);
  animation: splash-fade .8s ease .35s both;
}

.splash__loader {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  animation: splash-fade .8s ease .5s both;
}
.splash__loader span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: splash-load 1.1s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes splash-pop {
  from { opacity: 0; transform: scale(.72); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes splash-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes splash-ring {
  0%   { transform: scale(.85); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes splash-glow {
  0%, 100% { opacity: .65; }
  50%      { opacity: 1; }
}
@keyframes splash-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@keyframes splash-load {
  from { transform: translateX(-120%); }
  to   { transform: translateX(260%); }
}
