/* ---------------- Ambient Mouse Spotlight ---------------- */

.cursor-glow {
  position: fixed;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 229, 63, 0.05) 0%, rgba(184, 229, 63, 0.015) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: left, top;
}

/* ---------------- HUD Buttons & Sound Equalizer ---------------- */

.hud-btn {
  background: rgba(16, 22, 16, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.help-btn {
  padding: 8px 12px;
}

.hud-btn:hover {
  border-color: var(--accent);
  background: rgba(26, 36, 26, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(184, 229, 63, 0.2);
}

.sound-label {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.sound-btn .sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-btn .sound-bars span {
  width: 2px;
  height: 3px;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.sound-btn.playing .sound-bars span:nth-child(1) { animation: soundBar 0.8s ease-in-out infinite 0.1s; }
.sound-btn.playing .sound-bars span:nth-child(2) { animation: soundBar 0.8s ease-in-out infinite 0.3s; }
.sound-btn.playing .sound-bars span:nth-child(3) { animation: soundBar 0.8s ease-in-out infinite 0.15s; }
.sound-btn.playing .sound-bars span:nth-child(4) { animation: soundBar 0.8s ease-in-out infinite 0.4s; }

.sound-btn.playing .state {
  color: var(--accent);
}

.key-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: bold;
}

/* ---------------- Action Buttons ---------------- */

.ending-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.action-btn {
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-icon {
  display: inline-block;
  font-size: 12px;
}

.primary-btn {
  background: var(--accent);
  color: #111511;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.primary-btn:hover {
  background: #c5f246;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(184, 229, 63, 0.45);
}

.secondary-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  background: rgba(184, 229, 63, 0.08);
}

/* ---------------- Copy Button Elements ---------------- */

.copy-icon {
  display: inline-block;
}

.copy-text {
  font-family: var(--font-mono);
}

/* ---------------- Badges, Pills & Code Highlights ---------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}

.telemetry {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-label {
  color: rgba(255, 255, 255, 0.4);
}

.meta-val {
  color: var(--text-main);
}

.meta-val.highlight {
  color: var(--accent);
}
