/* Warm, slow-moving edge light for account-opening calls to action. */
@property --biggate-edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.button-gold {
  --biggate-edge-angle: 0deg;
  --cta-face: linear-gradient(112deg, #f1d8ac, #dcb579 55%, #c99a59);
  --cta-edge: conic-gradient(from var(--biggate-edge-angle), #b98b4f 0deg, #d8af70 48deg, #fff7e2 74deg, #fff0c5 86deg, #c79b5e 120deg, #a77c42 180deg, #d4aa6b 222deg, #fff5d8 254deg, #e8c58b 276deg, #b98b4f 360deg);
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 2px solid transparent;
  border-radius: 4px;
  color: #241b0e;
  background: var(--cta-face) padding-box, var(--cta-edge) border-box;
  box-shadow: 0 0 0 1px #e4bb7940, 0 0 18px #e6b66a4d, 0 7px 23px #c28c3d2e, inset 0 1px 0 #fff1d899;
  animation: biggate-edge-orbit 7.5s linear infinite;
  transition: transform .2s ease, box-shadow .3s ease;
}

.button-gold::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: 6px;
  pointer-events: none;
  box-shadow: 0 0 13px 2px #f0bd6d66;
  opacity: .6;
  animation: biggate-halo-breathe 4.5s ease-in-out infinite;
}

.button-gold > span,
.button-gold > .icon { position: relative; z-index: 1; }

.button-gold:hover,
.button-gold:focus-visible {
  --cta-face: linear-gradient(112deg, #f6e1bd, #e8c58d 55%, #d4aa6d);
  background: var(--cta-face) padding-box, var(--cta-edge) border-box;
  box-shadow: 0 0 0 1px #ffe2a780, 0 0 22px #edbf7670, 0 9px 27px #c7954c42, inset 0 1px 0 #fff5dfcc;
}
.button-gold:active { transform: translateY(0); }

.header-cta.button-gold { animation-duration: 9s; box-shadow: 0 0 0 1px #e4bb7933, 0 0 13px #e6b66a3d, inset 0 1px 0 #fff1d880; }
.header-cta.button-gold::before { animation: none; opacity: .35; }
.header-cta.button-gold:hover,
.header-cta.button-gold:focus-visible { box-shadow: 0 0 0 1px #ffe2a766, 0 0 19px #edbf7659, inset 0 1px 0 #fff5dfbb; }

@keyframes biggate-edge-orbit { to { --biggate-edge-angle: 360deg; } }
@keyframes biggate-halo-breathe { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }

@media (prefers-reduced-motion: reduce) {
  .button-gold { animation: none; --biggate-edge-angle: 38deg; }
  .button-gold::before { animation: none; opacity: .6; }
  .header-cta.button-gold::before { opacity: .35; }
  .button-gold:hover { transform: none; }
}
