.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.25s ease;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96) !important;
}

.btn-primary {
  background: var(--button-bg);
  color: var(--button-text);
  padding: 0.85rem 2rem;
  width: 80%;
  max-width: 300px;
  margin: 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover,
.btn-primary.hover {
  background: var(--button-bg-hover);
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  padding: 0.75rem 1.8rem;
  margin: 8px 0;
}

.btn-secondary:hover,
.btn-secondary.hover {
  background: var(--button-secondary-bg-hover);
  transform: scale(1.03);
}

.btn-ghost {
  background: none;
  color: var(--meta-text);
  padding: 0.65rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.15s ease;
}

.btn-ghost:hover,
.btn-ghost.hover {
  color: var(--text);
  opacity: 0.8;
}

.btn-leave {
  position: fixed;
  top: 12px;
  left: 14px;
  z-index: 9999;
  background: none;
  color: var(--meta-text);
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-family);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.25s ease, opacity 0.25s ease;
  -webkit-user-select: none;
  user-select: none;
}

.btn-leave:hover,
.btn-leave.hover {
  color: var(--text);
  opacity: 0.7;
}