.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  min-width: 240px;
  padding: 0 32px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: var(--hera-magenta);
  z-index: 1;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  box-shadow: var(--glow-brand);
}

.btn-pill:active {
  transform: scale(0.97);
}

.btn-pill--solid {
  background: var(--hera-magenta);
  color: #FFFFFF;
}

.btn-pill--bottom {
  position: absolute;
  bottom: calc(24px + max(var(--safe-bottom), 16px));
  left: 50%;
  transform: translateX(-50%);
}

.btn-pill--bottom:active {
  transform: translateX(-50%) scale(0.97);
}

.btn-retry-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  min-width: 240px;
  padding: 0 32px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-retry-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-retry-ghost:active {
  transform: scale(0.95);
}
