:root {
  --color-primary: #2563EB;
  --color-secondary: #10B981;
  --color-accent: #1F2937;
  --color-background: #F9FAFB;
  --color-section-background: #ffffff;
  --color-error: #EF4444;
  --color-success: #22C55E;
  --color-navy: #0b0f19;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--color-navy);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Loader Circles */
.loader {
  display: flex;
  gap: 10px;
}

.loader span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #09afff);
  animation: bounce 1.4s infinite ease-in-out;
}

.loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Hide on load */
.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}