/* ==========================================================================
   BRAND X — ULTRA-PREMIUM PWA & WEB APP SPLASH SCREEN
   ========================================================================== */

#brandXSplashScreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483647 !important;
  background: #060911 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
}

#brandXSplashScreen.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-logo-wrap {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  animation: splashPop 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.splash-footer {
  position: absolute;
  bottom: 38px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  pointer-events: none;
  animation: splashFadeIn 0.9s ease 0.3s forwards;
  opacity: 0;
}

.splash-powered-sub {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #64748b;
  text-transform: uppercase;
  line-height: 1;
}

.splash-powered-name {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #e2e8f0;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-height: 520px) {
  .splash-footer {
    bottom: 16px;
  }
}

.splash-loader-bar {
  width: 140px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}

.splash-loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #facc15, #eab308);
  border-radius: 999px;
  animation: splashSlide 1.1s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes splashPop {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }
  65% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

@keyframes splashSlide {
  0% { left: -50%; }
  100% { left: 100%; }
}
