/* Shared by the static homepage and the React component. */
.hover-glow-button {
  --glow-color: #5b91ce;
  --button-background: #10151c;
  --button-text: #fff;
  --button-hover-text: #a9d2ff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 100%;
  padding: 18px 30px;
  overflow: hidden;
  border: 1px solid #5b91ce70;
  border-radius: 8px;
  background: var(--button-background);
  color: var(--button-text);
  font: 700 1.125rem/1.2 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px #00000030;
  transition: color 300ms, border-color 300ms, box-shadow 300ms;
  -webkit-tap-highlight-color: transparent;
}
.hover-glow-button::before {
  content: '';
  position: absolute;
  left: var(--glow-x, 50%);
  top: var(--glow-y, 50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color) 10%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 400ms ease-out, opacity 300ms;
  pointer-events: none;
  z-index: 0;
}
.hover-glow-button__content { position: relative; z-index: 1; }
.hover-glow-button:is([data-glowing], :focus-visible, :active):not(:disabled) {
  color: var(--button-hover-text);
  border-color: var(--glow-color);
  box-shadow: 0 8px 28px #00000040, 0 0 20px #5b91ce20;
}
.hover-glow-button:is([data-glowing], :focus-visible, :active):not(:disabled)::before {
  opacity: .5;
  transform: translate(-50%, -50%) scale(1.2);
}
.hover-glow-button:focus-visible { outline: 2px solid var(--glow-color); outline-offset: 5px; }
.hover-glow-button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 480px) { .hover-glow-button { padding: 17px 23px; font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) {
  .hover-glow-button, .hover-glow-button::before { transition: none; }
  .hover-glow-button::before { left: 50%; top: 50%; }
}

/* Coup Tordu uses the same glow interaction in its own gold palette. */
.podcast-page .hover-glow-button {
  --glow-color: #f5c542;
  --button-hover-text: #ffe994;
  border-color: #f5c54270;
}
.podcast-page .hover-glow-button:is([data-glowing], :focus-visible, :active) {
  border-color: var(--glow-color);
  box-shadow: 0 8px 28px #00000040, 0 0 20px #f5c54220;
}

.archive-glow-button { margin-top: 28px; }
