/* Shared button styles only.
   Header and navigation controls are owned by header.css. */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.14), transparent);
  opacity: 0;
  transition: opacity 260ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::before {
  opacity: 1;
}

.button:active {
  transform: translateY(0.5px) scale(0.984);
  transition-property: transform;
  transition-duration: 80ms;
}

.button--primary {
  color: white;
  background:
    linear-gradient(135deg, rgba(99,102,241,0.95), rgba(34,211,238,0.95));
  box-shadow:
    0 18px 40px rgba(34, 211, 238, 0.14),
    0 6px 16px rgba(14, 21, 54, 0.35);
}

.button--primary:hover {
  background: linear-gradient(135deg, rgba(108, 111, 255, 0.98), rgba(0, 226, 255, 0.97));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18), 0 12px 28px -6px rgba(0, 0, 0, 0.3);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(232, 238, 255, 0.9);
  backdrop-filter: blur(var(--blur-base)) saturate(var(--sat-base));
  -webkit-backdrop-filter: blur(var(--blur-base)) saturate(var(--sat-base));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 20px rgba(3,8,24,0.35);
}

.button--secondary:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(15, 23, 42, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 28px rgba(3,8,24,0.45);
}
