@property --luma-rotate {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.luma-action {
  --luma-rotate: 0deg;
  --luma-pointer-x: 50%;
  --luma-pointer-y: 0%;
  position: relative;
  min-width: 128px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 999px;
  background: #050506;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  touch-action: manipulation;
  white-space: nowrap;
  transform: translateZ(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.44);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.luma-action::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: inherit;
  background:
    conic-gradient(
      from var(--luma-rotate),
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.12) 28%,
      rgba(255, 255, 255, 0.98) 42%,
      rgba(255, 255, 255, 0.16) 52%,
      rgba(255, 255, 255, 0.06) 100%
    );
  animation: lumaActionSpin 4s linear infinite;
}

.luma-action::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--luma-pointer-x) var(--luma-pointer-y),
      rgba(255, 255, 255, 0.18),
      transparent 44%
    ),
    linear-gradient(180deg, #0c0c0d, #050506 62%, #020202);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -10px 24px rgba(255, 255, 255, 0.035);
}

.luma-action > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .luma-action:hover:not(.is-ui-pressed) {
    transform: translateY(-2px) scale(1.016);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(255, 255, 255, 0.07),
      0 16px 44px rgba(0, 0, 0, 0.56),
      0 0 30px rgba(255, 255, 255, 0.08);
  }
  .luma-action:hover::before { animation-duration: 2.4s; }
}

.luma-action.is-ui-pressed {
  transform: translateZ(0);
  box-shadow: inset 0 2px 7px #0009, inset 0 1px 0 #ffffff30, 0 5px 14px #0007;
  transition-duration: 90ms;
}

.luma-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.luma-action:disabled,
.luma-action[aria-disabled="true"] {
  cursor: default;
  color: #7d7d84;
  opacity: 0.82;
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.36);
}

.luma-action:disabled::before,
.luma-action[aria-disabled="true"]::before {
  opacity: 0.24;
  animation-play-state: paused;
}

.luma-action--hero {
  min-width: 172px;
  height: 58px;
  font-size: 1rem;
}

.luma-action--compact {
  min-width: 118px;
  height: 44px;
  font-size: 0.9rem;
}

.luma-action--small {
  min-width: 92px;
  height: 38px;
  padding: 0 18px;
  font-size: 0.78rem;
  font-weight: 720;
}

.luma-action__icon {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.luma-action__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35));
}

.luma-action__label {
  position: relative;
  top: -0.5px;
}

:where([data-ui-press="true"]) {
  position: relative;
  touch-action: manipulation;
}

.ui-press-light {
  --ui-hit-x: 50%;
  --ui-hit-y: 50%;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--ui-hit-x) var(--ui-hit-y), #fff 0%, #ffffffa6 20%, #ffffff26 46%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}
.luma-action > .ui-press-light {
  z-index: 0;
  background: radial-gradient(ellipse at var(--ui-hit-x) var(--ui-hit-y), #fff 0%, #ffffff8c 24%, #ffffff14 52%, transparent 76%);
}

@keyframes lumaActionSpin {
  to {
    --luma-rotate: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .luma-action,
  .luma-action::before,
  .luma-action::after,
  .ui-press-light {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
  .luma-action::before { animation: none !important; }
}
