/* ─── ZOLT V2 — MONOCHROME GLASS SPLASH SCREEN ───────────────────────────── */

#zolt-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background: #08080a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s ease;
  will-change: opacity, transform;
}

#zolt-splash-screen.splash-dismissed {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  visibility: hidden;
}

/* Ambient Glass Backdrop Blobs */
.splash-bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  animation: splash-blob-float 12s ease-in-out infinite alternate;
}

.splash-blob-1 {
  top: 25%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.splash-blob-2 {
  bottom: 25%;
  right: 30%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(160, 160, 180, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -6s;
}

@keyframes splash-blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

/* Central Splash Content (No Box/Border) */
.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 24px;
}

/* Brand Row: Identical to index.html sidebar logo */
.splash-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.splash-brand-row .logo-svg-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: splash-logo-breath 3s ease-in-out infinite;
}

.splash-brand-row .logo-svg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.2));
}

.splash-brand-row .logo-full {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--accent, #ffffff), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

@keyframes splash-logo-breath {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* Minimal Progress Bar & Status Below */
.splash-progress-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 240px;
}

.splash-track-bar {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.splash-fill-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  border-radius: 99px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-fill-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  animation: splash-shimmer 1.4s infinite;
}

@keyframes splash-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.splash-status-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .splash-brand-row .logo-svg-wrap {
    width: 40px;
    height: 40px;
  }
  .splash-brand-row .logo-full {
    font-size: 34px;
  }
  .splash-progress-section {
    width: 200px;
  }
}
