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

/* ——— Header background đỏ đồng bộ lobbies ——— */
.header-bg-color,
.header-main,
#masthead,
.header-wrapper .header-main {
  background-color: #b81428 !important;
  background: linear-gradient(135deg, #c0182e 0%, #9e0e22 100%) !important;
}

.header-bottom,
.header-wrapper .header-bottom {
  background-color: #8a0e1c !important;
  background: linear-gradient(90deg, #8a0e1c 0%, #a01020 100%) !important;
}

/* Logo area / top bar */
.header-top {
  background-color: #6b0a14 !important;
}

/* Stuck/sticky header */
.stuck .header-main,
.header.show-on-scroll .header-main {
  background: linear-gradient(135deg, #c0182e 0%, #9e0e22 100%) !important;
}

/* ——— Footer background đỏ đồng bộ header + lobbies ——— */
#footer,
.footer-wrapper,
footer,
.footer-1,
.footer-2 {
  background-color: #8a0e1c !important;
  background: linear-gradient(180deg, #9e1020 0%, #6b0a14 100%) !important;
}

.absolute-footer,
.absolute-footer-bar {
  background-color: #4a0609 !important;
  background: #4a0609 !important;
}

/* Chữ footer trắng rõ */
#footer,
#footer p,
#footer li,
#footer a,
.footer-wrapper,
.footer-wrapper p,
.footer-wrapper a {
  color: rgba(255, 255, 255, 0.88) !important;
}

#footer a:hover,
.footer-wrapper a:hover {
  color: #ffd700 !important;
}

/* Tiêu đề cột footer */
#footer h3,
#footer h4,
.footer-wrapper h3,
.footer-wrapper h4,
.widget-title {
  color: #ffd700 !important;
  -webkit-text-fill-color: #ffd700 !important;
}

/* Absolute footer bar text */
.absolute-footer,
.absolute-footer p,
.absolute-footer a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.absolute-footer a:hover {
  color: #ffd700 !important;
}


.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%);
  }
}
