/* splash.css — أنماط شاشة التمهيد (خارجية لتمكين CSP صارمة بلا unsafe-inline) */
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: linear-gradient(135deg, #142e40 0%, #1a3a50 55%, #2a5a6a 100%);
}
#root {
  min-height: 100vh;
  opacity: 1;
  transition: opacity 0.25s ease;
}
#splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #142e40 0%, #1a3a50 55%, #2a5a6a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
  overflow: hidden;
}
#splash .splash-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
#splash .splash-title,
#splash .splash-sub,
#splash .splash-text {
  position: relative;
}
#splash .splash-logo {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 1.1rem;
  border-radius: 34px;
  padding: 7px;
  background: radial-gradient(circle at 50% 35%, #2a5a6a 0%, #1a3a50 78%);
  border: 1px solid rgba(230, 235, 242, 0.5);
  box-shadow:
    0 0 48px rgba(174, 185, 199, 0.3),
    0 0 30px rgba(42, 90, 106, 0.45),
    0 18px 44px rgba(20, 46, 64, 0.55);
  animation: banna-splash-float 2.6s ease-in-out infinite;
}
#splash .splash-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 22px;
  display: block;
}
#splash .splash-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
}
#splash .splash-title .t-banna {
  color: #aeb9c7;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.65);
}
#splash .splash-title .t-fin {
  color: #142e40;
  font-size: 0.6em;
  letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(226, 232, 240, 0.45), 0 1px 6px rgba(0, 0, 0, 0.6);
}
#splash .splash-title .t-genius {
  color: #2b6ea3;
}
#splash .splash-sub {
  font-size: 0.8rem;
  color: #7d8aa0;
  margin: 0.3rem 0 0.8rem;
}
#splash .splash-sub .s-fin {
  color: #142e40;
  font-size: 0.72em;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(226, 232, 240, 0.45), 0 1px 5px rgba(0, 0, 0, 0.6);
}
#splash .splash-text {
  font-size: 1rem;
  color: #9fb8cc;
  margin: 0;
}
#splash .splash-bar {
  width: 180px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}
#splash .splash-bar > div {
  width: 40%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #2a5a6a, #aeb9c7);
  animation: banna-splash-bar 1.4s ease-in-out infinite;
}
#splash .banna-beam {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    rgba(174, 185, 199, 0) 0deg,
    rgba(174, 185, 199, 0.28) 45deg,
    rgba(42, 90, 106, 0) 95deg,
    rgba(43, 110, 163, 0.24) 185deg,
    rgba(174, 185, 199, 0) 320deg,
    rgba(174, 185, 199, 0.18) 360deg
  );
  filter: blur(14px);
  animation:
    banna-beam-spin 6s linear infinite,
    banna-beam-pulse 2.6s ease-in-out infinite;
}
@keyframes banna-beam-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes banna-beam-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}
@keyframes banna-splash-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}
@keyframes banna-splash-bar {
  0% {
    margin-inline-start: -40%;
  }
  100% {
    margin-inline-start: 100%;
  }
}
