/* Shimmer button + border beam: plain-CSS effects after Magic UI (https://magicui.design),
   MIT License, Copyright (c) Magic UI. Re-implemented without React/Tailwind. No JS, no dependencies. */
@property --fx-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes fx-spin{to{--fx-angle:360deg}}

/* Shimmer: a bright spark circles the edge of the button. */
.fx-shimmer{position:relative;isolation:isolate;overflow:hidden;border:0}
.fx-shimmer::before{content:"";position:absolute;inset:0;z-index:-2;border-radius:inherit;
  background:conic-gradient(from var(--fx-angle),transparent 0 300deg,var(--fx-spark,#fff) 340deg,transparent 360deg);
  animation:fx-spin 3s linear infinite}
.fx-shimmer::after{content:"";position:absolute;inset:1.5px;z-index:-1;border-radius:inherit;background:var(--fx-fill,#101725)}
.fx-shimmer:hover::after{filter:brightness(1.12)}

/* Border beam: a short comet of light runs round the card border. */
.fx-beam{position:relative;isolation:isolate}
.fx-beam::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:conic-gradient(from var(--fx-angle),transparent 0 290deg,var(--fx-from,#8c65ff) 330deg,var(--fx-to,#32d6ed) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:fx-spin 6s linear infinite}

@media (prefers-reduced-motion:reduce){.fx-shimmer::before,.fx-beam::before{animation:none}}
/* Browsers without @property: effect stays static (still looks fine). */
