/* ─── KluB Splash Screen ─── */
/* Loaded via <link rel="preload"> before React mounts.       */
/* Cached by service worker for instant display on revisit.    */

.splash-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F2F2F7;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.3s ease;
}

.splash-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-loader .logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #007AFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.splash-loader .logo span {
  color: white;
  font-size: 32px;
  font-weight: 700;
  font-family: Inter, sans-serif;
}

.splash-loader .spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: #007AFF;
  border-radius: 50%;
  animation: splash-spin 0.7s linear infinite;
}

@keyframes splash-spin {
  to { transform: rotate(360deg); }
}
