#bac-splash {
  --bp-solid: #0b0f1e;
  --bp-blue: #2390ff;
  --bp-cyan: #58dbff;
  --bp-logo: min(34vw, 280px);
  --bp-logo-ratio: 1/1;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: var(--bp-solid);
  opacity: 1;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  transition: opacity .42s ease;
}

#bac-splash,
#bac-splash * {
  box-sizing: border-box;
}

#bac-splash.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#bac-splash .bp-bg,
#bac-splash .bp-reveal,
#bac-splash .bp-particles,
#bac-splash .bp-bottomGlow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#bac-splash .bp-bg {
  background: linear-gradient(180deg, #0b0f1e 0%, #10192f 34%, #16365a 50%, #10192f 66%, #0b0f1e 100%);
  animation: bacSplashRevealBgPulse 2.25s ease forwards;
}

#bac-splash .bp-reveal {
  inset: -14%;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(88, 219, 255, .00) 41%, rgba(88, 219, 255, .18) 46%, rgba(255, 255, 255, .92) 50%, rgba(88, 219, 255, .18) 54%, rgba(88, 219, 255, .00) 59%, transparent 72%);
  mix-blend-mode: screen;
  transform: translateX(-130%);
  animation: bacSplashRevealMove 1.1s ease .74s forwards;
}

#bac-splash .bp-particles {
  opacity: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 26% 43%, rgba(88, 219, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 57%, rgba(255, 255, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 45%, rgba(88, 219, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 56%, rgba(255, 255, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 49%, rgba(88, 219, 255, .8) 0 1px, transparent 2px);
  animation: bacSplashParticlesIn .7s ease .95s forwards;
}

#bac-splash .bp-bottomGlow {
  inset: auto 0 0 0;
  height: 34%;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(35, 144, 255, .0) 0%, rgba(35, 144, 255, .22) 24%, rgba(88, 219, 255, .08) 40%, rgba(11, 15, 30, 0) 70%);
  animation: bacSplashBottomIn .75s ease .30s forwards;
}

#bac-splash .bp-center {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  gap: 22px;
}

#bac-splash .bp-tagline {
  width: min(92vw, 780px);
  padding: 0 8px;
  color: rgba(255, 255, 255, .96);
  text-align: center;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.24;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .22), 0 0 24px rgba(88, 219, 255, .16);
  opacity: 0;
  transform: translateY(16px) scale(.985);
  animation: bacSplashTaglineIn .58s cubic-bezier(.18, .82, .2, 1) .92s forwards;
}

#bac-splash .bp-logo-wrap {
  position: relative;
  width: var(--bp-logo);
  aspect-ratio: var(--bp-logo-ratio);
  opacity: 0;
  transform: scale(.82);
  animation: bacSplashLogoIn .62s cubic-bezier(.18, .82, .2, 1) .14s forwards;
}

#bac-splash .bp-logo {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  background-image: url("../img/splash.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 18px rgba(35, 144, 255, .32)) drop-shadow(0 0 40px rgba(88, 219, 255, .18));
}

#bac-splash .bp-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(35, 144, 255, .0) 0%, rgba(35, 144, 255, .18) 24%, rgba(88, 219, 255, .28) 38%, rgba(11, 15, 30, 0) 72%);
  filter: blur(22px);
  opacity: 0;
  animation: bacSplashGlowIn .72s ease .30s forwards;
}


#bac-splash .bp-status {
  width: min(92vw, 780px);
  display: grid;
  justify-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px) scale(.985);
  animation: bacSplashTaglineIn .58s cubic-bezier(.18, .82, .2, 1) .92s forwards;
}

#bac-splash .bp-status .bp-tagline {
  width: 100%;
  opacity: 1;
  transform: none;
  animation: none;
}

#bac-splash .bp-progress {
  position: relative;
  width: min(76vw, 420px);
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

#bac-splash .bp-progress-bar {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bp-blue), var(--bp-cyan), #fff);
  transform: translateX(-120%);
  animation: bacSplashProgress 1.15s ease-in-out infinite;
}

#bac-splash .bp-progress.is-determinate .bp-progress-bar {
  transform: none;
  animation: none;
  transition: width .2s ease;
}

#bac-splash .bp-progress-text {
  min-height: 1em;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

#bac-splash .bp-progress-text[hidden] {
  visibility: hidden;
}

#bac-splash.is-finishing .bp-particles,
#bac-splash.is-hidden .bp-particles {
  animation: bacSplashParticlesOut .55s ease forwards;
}

#bac-splash.is-finishing .bp-bottomGlow,
#bac-splash.is-hidden .bp-bottomGlow {
  animation: bacSplashBottomOut .55s ease forwards;
}

#bac-splash.is-finishing .bp-logo-wrap,
#bac-splash.is-hidden .bp-logo-wrap {
  animation: bacSplashLogoOut .42s ease forwards;
}

#bac-splash.is-finishing .bp-glow,
#bac-splash.is-hidden .bp-glow {
  animation: bacSplashGlowOut .55s ease forwards;
}

#bac-splash.is-finishing .bp-status,
#bac-splash.is-hidden .bp-status {
  animation: bacSplashTaglineOut .38s ease forwards;
}

@keyframes bacSplashProgress {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(100%); }
  100% { transform: translateX(270%); }
}


@keyframes bacSplashRevealBgPulse {
  0% {
    background: linear-gradient(180deg, #0b0f1e 0%, #0b0f1e 100%)
  }

  44% {
    background: linear-gradient(180deg, #0b0f1e 0%, #121d34 35%, #17385f 50%, #121d34 65%, #0b0f1e 100%)
  }

  100% {
    background: linear-gradient(180deg, #0b0f1e 0%, #0b0f1e 100%)
  }
}

@keyframes bacSplashRevealMove {
  0% {
    opacity: 0;
    transform: translateX(-130%)
  }

  12% {
    opacity: 1
  }

  100% {
    opacity: 1;
    transform: translateX(130%)
  }
}

@keyframes bacSplashParticlesIn {
  from {
    opacity: 0
  }

  to {
    opacity: .85
  }
}

@keyframes bacSplashParticlesOut {
  from {
    opacity: .85
  }

  to {
    opacity: 0
  }
}

@keyframes bacSplashBottomIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes bacSplashBottomOut {
  from {
    opacity: 1
  }

  to {
    opacity: 0
  }
}

@keyframes bacSplashLogoIn {
  from {
    opacity: 0;
    transform: scale(.82)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes bacSplashLogoOut {
  from {
    opacity: 1;
    transform: scale(1)
  }

  to {
    opacity: 0;
    transform: scale(1.03)
  }
}

@keyframes bacSplashGlowIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes bacSplashGlowOut {
  from {
    opacity: 1
  }

  to {
    opacity: 0
  }
}

@keyframes bacSplashTaglineIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.985)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes bacSplashTaglineOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1)
  }

  to {
    opacity: 0;
    transform: translateY(-8px) scale(1.01)
  }
}

@media (max-width:720px) {
  #bac-splash {
    --bp-logo: min(58vw, 220px);
  }

  #bac-splash .bp-center {
    gap: 18px;
  }

  #bac-splash .bp-tagline {
    width: min(92vw, 520px);
    font-size: clamp(18px, 5.2vw, 26px);
    line-height: 1.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bac-splash {
    transition: none;
  }

  #bac-splash .bp-bg,
  #bac-splash .bp-particles,
  #bac-splash .bp-bottomGlow,
  #bac-splash .bp-logo-wrap,
  #bac-splash .bp-glow,
  #bac-splash .bp-status,
  #bac-splash .bp-tagline {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  #bac-splash .bp-reveal {
    display: none;
  }

  #bac-splash .bp-particles {
    opacity: .85;
  }

  #bac-splash .bp-bottomGlow,
  #bac-splash .bp-logo-wrap,
  #bac-splash .bp-status,
  #bac-splash .bp-tagline {
    opacity: 1;
  }

  #bac-splash .bp-glow {
    opacity: .72;
  }
}
