/* Adapted from css-buttons.com — Golden Premium (#77) + glow hover (#81) + shine sweep */

a.btn.btn-lux,
a.btn.btn-lux.small,
.nav-actions a.btn.btn-lux,
.hero-actions a.btn.btn-lux {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  width: auto !important;
  height: auto !important;
  padding: 12px 26px !important;
  border: none !important;
  border-radius: var(--btn-radius, 10px) !important;
  color: #6b5a08 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  background: linear-gradient(
    to right,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  ) !important;
  background-image: linear-gradient(
    to right,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  ) !important;
  background-size: 200% 200% !important;
  background-position: left center !important;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.12) !important;
  animation: none !important;
  filter: none !important;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-position 0.6s ease !important;
}

.nav-actions a.btn.btn-lux.small {
  min-height: 40px;
  padding: 10px 20px !important;
  font-size: 12.5px !important;
}

.hero-actions a.btn.btn-lux {
  min-height: 48px;
  padding: 13px 28px !important;
  font-size: 15px !important;
}

/* Kill old bevel / glass pseudo layers */
a.btn.btn-lux::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -40% !important;
  width: 18% !important;
  height: auto !important;
  border-radius: inherit !important;
  background: #fff !important;
  opacity: 0 !important;
  transform: skewX(-20deg) !important;
  box-shadow: 0 0 28px 12px rgba(255, 255, 255, 0.85) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: none !important;
  mix-blend-mode: soft-light !important;
}

a.btn.btn-lux::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

a.btn.btn-lux > * {
  position: relative;
  z-index: 2;
}

/* Hover — css-buttons #77 gradient shift + #81 gold glow + shine */
a.btn.btn-lux:hover {
  transform: scale(0.97) !important;
  background-position: right center !important;
  color: #5c4d06 !important;
  box-shadow:
    0 0 8px rgba(255, 193, 7, 0.55),
    0 0 22px rgba(255, 193, 7, 0.4),
    0 0 40px rgba(191, 149, 63, 0.28) !important;
  filter: none !important;
}

a.btn.btn-lux:hover::before {
  animation: lux-shine-sweep 0.55s linear !important;
}

@keyframes lux-shine-sweep {
  0% {
    left: -35%;
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

a.btn.btn-lux:active {
  transform: scale(0.95) !important;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12) !important;
}

a.btn.btn-lux:focus-visible {
  outline: 2px solid rgba(191, 149, 63, 0.65);
  outline-offset: 3px;
}

/* Flat icon — no dark box; simple gold arrow */
a.btn.btn-lux .btn-icon-circle {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #6b5a08 !important;
  display: inline-flex !important;
  place-items: center;
}

a.btn.btn-lux .btn-icon-circle i {
  font-size: 14px !important;
  color: #6b5a08 !important;
  line-height: 1;
  transition: transform 0.3s ease !important;
}

a.btn.btn-lux:hover .btn-icon-circle,
a.btn.btn-lux:hover .btn-icon-circle i {
  background: transparent !important;
  color: #5c4d06 !important;
  transform: translateX(-3px);
}

html[data-theme="dark"] a.btn.btn-lux {
  color: #3d3205 !important;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 0 16px rgba(255, 210, 80, 0.12) !important;
}

html[data-theme="dark"] a.btn.btn-lux:hover {
  box-shadow:
    0 0 10px rgba(255, 193, 7, 0.45),
    0 0 28px rgba(255, 193, 7, 0.3),
    0 0 48px rgba(191, 149, 63, 0.22) !important;
}

html[data-theme="dark"] a.btn.btn-lux .btn-icon-circle,
html[data-theme="dark"] a.btn.btn-lux .btn-icon-circle i {
  color: #3d3205 !important;
}

@media (prefers-reduced-motion: reduce) {
  a.btn.btn-lux:hover::before {
    animation: none !important;
  }

  a.btn.btn-lux,
  a.btn.btn-lux .btn-icon-circle i {
    transition: none !important;
  }

  a.btn.btn-lux:hover {
    transform: none !important;
  }
}
