/* =============================================
   GLOBAL STYLES
   Buttons, badges, shared text utilities
   ============================================= */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Popup Scroll Lock ---------- */
html.popup-open,
html.popup-open body {
  overflow: hidden;
}

/* ---------- Badge / Pill Tag ---------- */
.badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 0.9px;
  color: var(--tertiary-darker);
  border: 1px solid var(--tertiary-dark);
  border-radius: 100px;
}

/* ---------- Primary Button ---------- */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--secondary-normal-active);
  color: var(--base-white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.21em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

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

/* ---------- Ghost Button (Secondary) ---------- */
.btn-ghost {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-ghost:hover {
  opacity: 0.8;
}

.btn-ghost i {
  font-size: 24px;
  line-height: 1em;
}

/* Color variants */
.btn-gold {
  color: var(--tertiary-normal-hover);
}

.btn-red {
  color: var(--secondary-normal-active);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(180deg, #D3111A 0%, #5F080C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Responsive Buttons ---------- */
@media (max-width: 576px) {
  .btn-primary {
    font-size: 18px;
    padding: 14px 20px;
    width: 100%;
  }

  .btn-ghost {
    font-size: 18px;
  }

  .badge {
    font-size: 14px;
    padding: 12px 20px;
  }
}
