/* ============================================ */
/* PRELOADER PAGE - CLEAN NAVY DESIGN (STATIC) */
/* ============================================ */

.preloader-page {
  background-color: #030305;
  min-height: var(--app-viewport-height, 100vh);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body, "Onest", sans-serif);
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 10000;
}

.preloader-page.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#fling-pwa-loader {
  display: none;
  inset: 0;
  z-index: 999999;
}

html.fling-shell-boot #fling-pwa-loader {
  display: flex;
}

html.fling-shell-boot #root {
  visibility: hidden;
}

.preloader-page__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transform: translateY(-20px);
}

.preloader-logo-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.preloader-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.preloader-loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

/* Premium Modern Spinner (Bunun dönmesi lazım ki donmuş gibi durmasın) */
.modern-spinner {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(99, 102, 241, 0.15);
}

.spinner-head {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #6366f1;
  border-right-color: #6366f1;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
  animation: modern-spin 0.8s linear infinite;
}

.preloader-page__footer {
  position: absolute;
  bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
}

.fact-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
}

.preloader-status-message {
  margin-top: 16px;
  font-size: 13px;
  color: #6366f1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes modern-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
