/* ============================================================
   ParkieVault V2 — buttons.css
   All button variants used across the site
   ============================================================ */

/* ── Reset shared by all buttons ── */
button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  outline: none;
}

/* ══════════════════════════════════════════
   PRIMARY BUTTON
   Main CTA — used for enter, post, submit
   ══════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  color: #000;
  border: none;
  border-radius: var(--r-pill);
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.15);
}
.btn-primary:active { transform: scale(0.97); }

/* ══════════════════════════════════════════
   GOLD BUTTON
   Primary CTA with gold accent
   ══════════════════════════════════════════ */

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--r-pill);
  padding: 11px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-gold:hover {
  background: #ffb81a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,0.35);
}
.btn-gold:active { transform: scale(0.97); }

/* ══════════════════════════════════════════
   GOLD OUTLINE BUTTON
   Secondary gold CTA
   ══════════════════════════════════════════ */

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-gold-outline:hover {
  background: rgba(240,165,0,0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--gold-glow);
}

/* ══════════════════════════════════════════
   IMPERIAL BUTTON
   Dark navy with peach text
   ══════════════════════════════════════════ */

.btn-imperial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--imperial);
  color: var(--peach);
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-imperial:hover {
  background: var(--imperial-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,29,81,0.5);
}

/* ══════════════════════════════════════════
   GHOST BUTTON
   Subtle outline/glass button
   ══════════════════════════════════════════ */

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--s3);
  color: var(--muted2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--s5);
  color: var(--text);
  border-color: var(--muted);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   ENTER VAULT BUTTON
   Landing page hero CTA — pill with border
   ══════════════════════════════════════════ */

.btn-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s var(--ease-snap);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  text-decoration: none;
}
.btn-enter:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.12);
  letter-spacing: 0.06em;
}
.btn-enter:active { transform: scale(0.97); }

/* ══════════════════════════════════════════
   GREEN (SPOTIFY) BUTTON
   Spotify-branded action
   ══════════════════════════════════════════ */

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #000;
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-green:hover {
  background: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--green-dim);
}

/* ══════════════════════════════════════════
   DANGER BUTTON
   Destructive or warning action
   ══════════════════════════════════════════ */

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--danger-dim);
  color: var(--danger);
  border: 1px solid var(--danger-border);
  border-radius: var(--r-md);
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-danger:hover {
  background: rgba(255,77,109,0.22);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   POST / SUBMIT BUTTON
   Full-width form submit — gradient bar
   ══════════════════════════════════════════ */

.btn-post {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(to right, #111111, #e0e0e0);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-base);
  letter-spacing: 0.02em;
}
.btn-post:hover {
  background: linear-gradient(to right, #1a1a1a, #d0d0d0);
  transform: scale(1.015);
  box-shadow: 0 4px 20px rgba(255,255,255,0.10);
}
.btn-post:active { transform: scale(0.98); }

/* ══════════════════════════════════════════
   REPLY BUTTON
   Compact inline button used in Lounge
   ══════════════════════════════════════════ */

.btn-reply {
  background: rgba(255,255,255,0.70);
  color: #000;
  border: none;
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast);
}
.btn-reply:hover {
  background: var(--green2);
  color: #000;
}

/* ══════════════════════════════════════════
   JOIN / CTA BUTTON
   Secondary CTA on member card
   ══════════════════════════════════════════ */

.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--muted2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-join:hover {
  background: var(--s3);
  color: var(--text);
  border-color: var(--muted);
}

/* ══════════════════════════════════════════
   ICON BUTTON
   Square/circle icon-only button
   ══════════════════════════════════════════ */

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: all var(--t-fast);
  color: var(--muted2);
  font-size: 16px;
}
.btn-icon:hover {
  background: var(--s4);
  color: var(--text);
}

/* ══════════════════════════════════════════
   DISABLED STATE (applies to all)
   ══════════════════════════════════════════ */

button:disabled,
.btn-primary:disabled,
.btn-gold:disabled,
.btn-ghost:disabled,
.btn-post:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
