/* Mantra supplied aura artwork. Portal adaptation: local font and existing button sizing. */
/* Aura: slow pink light turning and breathing inside the black button. Loops forever. */
.ma-btn--aura { position: relative; overflow: hidden; isolation: isolate; }
.ma-btn--aura > * { position: relative; z-index: 1; }
.ma-btn--aura::before {
  content: ""; position: absolute; inset: -80% -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 28% 45%, rgba(246,64,181,.68), rgba(246,64,181,0) 72%),
    radial-gradient(closest-side at 74% 58%, rgba(181,19,127,.66), rgba(181,19,127,0) 72%),
    radial-gradient(closest-side at 52% 30%, rgba(121,95,197,.38), rgba(121,95,197,0) 70%);
  filter: blur(12px); opacity: .36;
  animation: ma-aura-swirl 16s linear infinite, ma-aura-breathe 6s ease-in-out infinite;
}
@keyframes ma-aura-swirl { to { transform: rotate(360deg); } }
@keyframes ma-aura-breathe { 0%, 100% { opacity: .3; } 50% { opacity: .85; } }

/* Glyph band: the nine Euphoria glyphs in one row behind the label, with a pink gloss sweeping across every 15s. */
.ma-btn__glyphs { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ma-btn--aura > .ma-btn__glyphs { position: absolute; z-index: 0; }
.ma-btn__glyphs svg { display: block; flex: none; height: 100%; width: auto; fill: none; opacity: .9; }


/* Keep existing icons/text above the decorative light, without changing button geometry. */
.ma-btn__label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button.primary.ma-btn--aura:disabled, .button.primary.ma-btn--aura[aria-disabled="true"] { background: #ebebeb; color: #6b6b6b; border-color: transparent; cursor: not-allowed; }
.ma-btn--aura:disabled::before, .ma-btn--aura[aria-disabled="true"]::before { animation: none; opacity: 0; }
.ma-btn--aura:disabled > .ma-btn__glyphs, .ma-btn--aura[aria-disabled="true"] > .ma-btn__glyphs { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .ma-btn--aura::before { animation: none; opacity: .45; }
}
