.action-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.2rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: transparent;
  font-weight: 900;
  font-size: 0.8rem;
  cursor: pointer;
  overflow: hidden;
}

.action-button--primary { background: linear-gradient(135deg, #9430ed, #7628e9); box-shadow: 0 0.85rem 2.1rem rgba(130, 45, 255, 0.3); }
.action-button--secondary { border: 1px solid rgba(180, 79, 255, 0.9); background: rgba(6, 9, 27, 0.45); box-shadow: inset 0 0 1.25rem rgba(142, 50, 255, 0.1); }
/* Keep the moving highlight below 5% white so small button text retains contrast. */
.action-button::after { opacity: 0.13; }
.action-button::after,
.site-header__cta::after {
  position: absolute;
  inset: -40% auto -40% -48%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  animation: button-sheen 7.8s ease-in-out infinite;
}

@keyframes button-sheen {
  0%, 38% { left: -48%; }
  55%, 100% { left: 145%; }
}

@media (max-width: 34rem) {
  .action-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .action-button::after,
  .site-header__cta::after { animation: none; }
}
