/* BJ888 header CTA — versioned to bypass Cloudflare static cache */

.header-button-1 .header-button .button,
.header-button-1 .header-button .button.primary {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 55%, #e11d48 100%) !important;
  background-size: 200% 200% !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  box-shadow:
    0 0 0 0 rgba(225, 29, 72, 0.55),
    0 8px 22px rgba(225, 29, 72, 0.45) !important;
  animation: bj-header-register-pulse 2s ease-in-out infinite !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.header-button-1 .header-button .button:hover,
.header-button-1 .header-button .button.primary:hover {
  transform: translateY(-2px) scale(1.04) !important;
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.65) !important;
  animation: none !important;
}

.header-button-1 .header-button .button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: bj-header-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.header-button-2 .header-button .button,
.header-button-2 .header-button .button.primary {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 2px solid #e8b84a !important;
  border-radius: 999px !important;
  color: #ffe08a !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 0 0 0 rgba(232, 184, 74, 0.35), 0 6px 18px rgba(0, 0, 0, 0.25) !important;
  animation: bj-header-login-pulse 2.4s ease-in-out infinite !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.header-button-2 .header-button .button:hover,
.header-button-2 .header-button .button.primary:hover {
  background: rgba(232, 184, 74, 0.16) !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 24px rgba(232, 184, 74, 0.35) !important;
  animation: none !important;
}

@keyframes bj-header-register-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5), 0 8px 22px rgba(225, 29, 72, 0.4);
    background-position: 0% 50%;
  }
  50% {
    box-shadow: 0 0 0 10px rgba(225, 29, 72, 0), 0 12px 30px rgba(225, 29, 72, 0.55);
    background-position: 100% 50%;
  }
}

@keyframes bj-header-login-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 184, 74, 0.35), 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(232, 184, 74, 0), 0 8px 22px rgba(232, 184, 74, 0.28);
  }
}

@keyframes bj-header-shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}
