/* VOC loading splash — logo reveal */
body.voc-splash-active {
  overflow: hidden;
}

.voc-splash {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #0c4a6e 0%, #0369a1 42%, #0ea5e9 100%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.voc-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.voc-splash__inner {
  text-align: center;
  padding: 2rem;
}

.voc-splash__logo-wrap {
  position: relative;
  display: inline-block;
  padding: 1rem 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 80px rgba(34, 211, 238, 0.35);
  animation: vocSplashLogoIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.voc-splash__logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  animation: vocSplashLogoPulse 1.2s ease-in-out 0.5s infinite;
}

.voc-splash__tagline {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: vocSplashFade 0.5s ease 0.35s both;
}

.voc-splash__bar {
  width: 120px;
  height: 3px;
  margin: 1rem auto 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  overflow: hidden;
  animation: vocSplashFade 0.5s ease 0.45s both;
}

.voc-splash__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #22d3ee, #fff);
  border-radius: 50px;
  animation: vocSplashBar 0.9s ease-in-out infinite;
}

@keyframes vocSplashLogoIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes vocSplashLogoPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.35));
  }
}

@keyframes vocSplashFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vocSplashBar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voc-splash__logo-wrap,
  .voc-splash__logo,
  .voc-splash__tagline,
  .voc-splash__bar,
  .voc-splash__bar span {
    animation: none;
  }
}
