/* Abundance Cascade + Consistent Rewards — site loading widget
   Romantic first impression: cup fills, workers distribute, honest rewards copy.
   Symbolic flow only — never claims live bank cash. */

#umAbLoader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(201, 168, 76, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(90, 180, 230, 0.08) 0%, transparent 50%),
    linear-gradient(168deg, #0a0614 0%, #05030c 55%, #0c0818 100%);
  color: #f0ead6;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  opacity: 1;
  visibility: visible;
}

#umAbLoader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.um-ab-mark {
  font-family: "Cinzel", "Georgia", serif;
  font-size: clamp(15px, 2.4vw, 20px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8c96a;
  text-align: center;
  font-weight: 600;
}

.um-ab-card {
  width: min(420px, 92vw);
  border-radius: 18px;
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  background: linear-gradient(
    168deg,
    rgba(18, 14, 28, 0.98) 0%,
    rgba(8, 8, 16, 0.99) 100%
  );
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(201, 168, 76, 0.15),
    inset 0 1px 0 rgba(255, 240, 200, 0.1);
  overflow: hidden;
}

.um-ab-card-head {
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  text-align: center;
}

.um-ab-card-head b {
  display: block;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e9cf6b;
  font-weight: 800;
}

.um-ab-card-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #a09880;
  line-height: 1.4;
}

#umAbCanvas {
  display: block;
  width: 100%;
  height: 200px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 18%, rgba(50, 80, 120, 0.4), transparent 68%),
    linear-gradient(180deg, #0c121c 0%, #070a10 100%);
}

.um-ab-rewards {
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 8px;
}

.um-ab-reward-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #d4ccb8;
  line-height: 1.35;
}

.um-ab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

.um-ab-dot.gold { background: #e9cf6b; color: #e9cf6b; }
.um-ab-dot.blue { background: #5fd4ff; color: #5fd4ff; }
.um-ab-dot.pink { background: #e8a0d0; color: #e8a0d0; }
.um-ab-dot.cream { background: #f0c9a0; color: #f0c9a0; }
.um-ab-dot.green { background: #3dff9a; color: #3dff9a; }

.um-ab-foot {
  text-align: center;
  font-size: 11px;
  color: #7a7464;
  letter-spacing: 0.04em;
  max-width: 420px;
  line-height: 1.45;
}

.um-ab-progress {
  width: min(280px, 70vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.15);
  overflow: hidden;
}

.um-ab-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a84c, #ffd700, #5fd4ff);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
  transition: width 0.35s ease;
}

.um-ab-skip {
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: rgba(201, 168, 76, 0.55);
  font-family: "Rajdhani", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 12px;
}

.um-ab-skip:hover {
  color: #e8c96a;
}

@media (prefers-reduced-motion: reduce) {
  #umAbLoader {
    transition-duration: 0.01ms;
  }
  .um-ab-progress > i {
    transition: none;
  }
}

body.um-ab-loading {
  overflow: hidden;
}
