.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  padding: 0.85rem 1.75rem;
  min-height: 46px;

  font-family: var(--font-text);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.3px;

  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  overflow: hidden;

  background-clip: padding-box;

  transition:
    transform 250ms cubic-bezier(.2,.8,.2,1),
    box-shadow 300ms ease,
    background-color 300ms ease,
    color 300ms ease;

  user-select: none;
  white-space: nowrap;
}






.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent-light) 0%,
    var(--color-accent) 50%,
    var(--color-accent-dark) 100%
  );
  color: var(--color-black);

  box-shadow:
    0 6px 18px rgba(198, 161, 91, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Brillo animado */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45),
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

/* Borde premium sutil */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 14px 32px rgba(198, 161, 91, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow:
    0 6px 16px rgba(198, 161, 91, 0.35);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(198, 161, 91, 0.4),
    0 10px 30px rgba(198, 161, 91, 0.4);
}







.btn-secondary {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(245, 245, 245, 0.85)
  );
  color: var(--color-text);

  border: 1px solid rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(6px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.6),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 300ms ease;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.btn-secondary:active {
  transform: translateY(0);
}




/* -----------------------------------
   👻 BOTÓN GHOST – PREMIUM
----------------------------------- */
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 0.65rem 1.25rem;

  border-radius: var(--radius-full);
  border: 1px solid transparent;

  position: relative;
  overflow: hidden;

  transition:
    color 300ms ease,
    border-color 300ms ease,
    transform 250ms cubic-bezier(.2,.8,.2,1),
    box-shadow 300ms ease;
}

/* línea inferior animada */
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 1.5px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  transition: width 350ms ease;
}

.btn-ghost:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-ghost:hover::after {
  width: 60%;
}

.btn-ghost:focus-visible {
  outline: none;
  color: var(--color-accent);
}





/* -----------------------------------
   🟨 BOTÓN OUTLINE – PREMIUM
----------------------------------- */
.btn-outline {
  background: transparent;
  color: var(--color-accent);

  padding: 0.75rem 1.6rem;

  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);

  position: relative;
  overflow: hidden;

  transition:
    color 300ms ease,
    transform 250ms cubic-bezier(.2,.8,.2,1),
    box-shadow 300ms ease;
}

/* fill animado */
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
  z-index: -1;
}

/* borde glow */
.btn-outline::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(198, 161, 91, 0.5);
  opacity: 0;
  transition: opacity 300ms ease;
}

.btn-outline:hover {
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(198, 161, 91, 0.35);
}

.btn-outline:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn-outline:hover::after {
  opacity: 1;
}

.btn-outline:active {
  transform: translateY(0);
}
