/* Brand Loader Styles (Single Source of Truth) */

.bl-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bl-wrap-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 1.5rem;
}

.bl-wrap-inline {
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: transparent;
}

.bl-theme-dark {
  background-color: #3F0163;
  color: #FAF7F2;
}

.bl-theme-light {
  background-color: #FAF7F2;
  color: #3F0163;
}

.bl-theme-inline-dark {
  color: #FFFFFF;
}

.bl-theme-inline-light {
  color: #1A1025;
}

.bl-center-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  width: 230px;
  height: 230px;
}

/* Outer Rotating Arc */
.bl-arc {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  width: 230px;
  height: 230px;
  border: 5px solid transparent;
  border-top-color: #FCBF00;
  border-right-color: #FCBF00;
  animation: bl-arc-spin 1.4s linear infinite;
}

/* Center Cream Circle with Gold Ring */
.bl-circle {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  background-color: #FAF7F2;
  position: relative;
  z-index: 10;
  border: 3.5px solid #FCBF00;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Static logo */
.bl-logo-static {
  position: relative;
  width: 128px;
  height: 128px;
  object-fit: contain;
  z-index: 10;
}

/* Text */
.bl-text,
.bl-text.font-heading {
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-align: center;
  animation: bl-text-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  will-change: opacity;
}

.bl-text-dark {
  color: rgba(250, 247, 242, 0.9);
}

.bl-text-light {
  color: #3F0163;
}

/* KEYFRAMES */

@keyframes bl-arc-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bl-text-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .bl-arc {
    animation: none !important;
    transform: none !important;
  }
  .bl-text {
    animation: none !important;
    opacity: 1 !important;
  }
}
