/* Critical first-paint branding, shared by the HTML shell and React startup screen. */
.ghazi-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2rem;
  background: #071720;
  color: #f7f5f2;
  font-family: 'Plus Jakarta Sans Variable', system-ui, sans-serif;
  color-scheme: dark;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.ghazi-splash-content { width: min(18rem, 66vw); text-align: center; }
.ghazi-splash-logo { display: block; width: 100%; height: auto; animation: ghazi-logo-breathe 2.4s ease-in-out infinite; }
.ghazi-splash-system { margin: 1.5rem 0 0; font-size: .625rem; font-weight: 500; line-height: 1.8; letter-spacing: .2em; text-transform: uppercase; color: #aeb9bf; }
.ghazi-loading-dots { display: flex; justify-content: center; gap: .625rem; margin-top: 2rem; }
.ghazi-loading-dots span { width: .375rem; height: .375rem; border-radius: 50%; background: #eb5a5f; animation: ghazi-dot 1.2s ease-in-out infinite; }
.ghazi-loading-dots span:nth-child(2) { animation-delay: 150ms; }
.ghazi-loading-dots span:nth-child(3) { animation-delay: 300ms; }
.ghazi-splash-footer { position: absolute; bottom: max(2rem, env(safe-area-inset-bottom)); inset-inline: 1.5rem; margin: 0; color: #8a9aa3; text-align: center; font-size: .5625rem; letter-spacing: .24em; line-height: 1.8; }
.ghazi-splash--leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.ghazi-splash-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes ghazi-logo-breathe { 0%, 100% { transform: scale(.99); } 50% { transform: scale(1); } }
@keyframes ghazi-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .ghazi-splash, .ghazi-splash-content, .ghazi-splash-logo, .ghazi-loading-dots span { animation: none; transition: none; } .ghazi-loading-dots span { opacity: .8; } }
.ghazi-splash[dir='rtl'] .ghazi-splash-system, .ghazi-splash[dir='rtl'] .ghazi-splash-footer { font-family: 'Noto Naskh Arabic', sans-serif; font-size: .875rem; letter-spacing: normal; }
