/* ============================
   🌐 Full-Screen Loader
============================ */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

/* Container */
.loader-container {
  text-align: center;
  animation: fadeInUp 0.6s ease-in-out;
}

/* ============================
   🎨 Loader Animation (Custom)
============================ */
.loader {
  width: 70px;
  height: 18px;
  display: flex;
  justify-content: space-between;
  animation: orbit-rotate 2s infinite alternate;
  margin: 0 auto 20px;
}

.loader:before,
.loader:after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8c3fff; /* Updated color 1 */
  animation: orbit-move 1s infinite alternate;
}

.loader:after {
  background: #ff4ec7; /* Updated color 2 */
  --s: -1;
}

@keyframes orbit-rotate {
   0%,40%   { transform: rotate(0); }
   80%,100% { transform: rotate(0.5turn); }
}

@keyframes orbit-move {
   80%,100% { transform: translateX(calc(var(--s, 1) * 22px)); }
}

/* ============================
   🌟 Brand Name & Quote
============================ */

/* Gradient brand name */
.loader-brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;

  background: linear-gradient(90deg, #ec4899, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Brand Quote */
.loader-quote {
  font-size: 15px;
  color: #666;
  font-style: italic;
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Fade animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .loader-brand { font-size: 22px; }
  .loader-quote { font-size: 13px; }
}
