.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgb(99 102 241 / 0.24), rgb(99 102 241 / 0) 260px), #17161c;
  color: #fff;
  font-family: 'Inter Variable', Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: opacity 400ms ease-out;
}

.splash.splash-out {
  opacity: 0;
  pointer-events: none;
}

.splash-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  animation: splash-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.splash-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.splash-mark {
  display: block;
  width: 96px;
  height: 96px;
}

.splash-word {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.splash-dot-mint {
  color: #6ee7b7;
}

.splash-bar {
  position: relative;
  width: 140px;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.16);
}

.splash-bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: 2px;
  background: #6ee7b7;
  animation: splash-slide 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.splash-site {
  position: absolute;
  bottom: 56px;
  color: #8e8c9a;
  font-size: 15px;
  font-weight: 600;
}

@media (width >= 53.75rem) {
  .splash-mark {
    width: 104px;
    height: 104px;
  }

  .splash-word {
    font-size: 64px;
  }

  .splash-site {
    bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-brand,
  .splash-bar::after {
    animation: none;
  }

  .splash-bar::after {
    left: 30%;
  }
}

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

@keyframes splash-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
