/* ===========================
   JACKPOT TICKER (single source)
   =========================== */
.hzjp-ticker {
  --gap: 48px;
  --duration: 20s;
  position: relative;
  overflow: hidden;
  border: 2px solid #a58d5f;
  background: #0e0e0f;
  border-radius: 12px;
  color: #f1f1f1;
}
.hzjp-ticker::before,
.hzjp-ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 2;
}
.hzjp-ticker::before { left: 0; background: linear-gradient(to right, #0e0e0f, transparent); }
.hzjp-ticker::after  { right: 0; background: linear-gradient(to left,  #0e0e0f, transparent); }
.hzjp-ticker__inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  white-space: nowrap;
  padding: .75rem 1rem;
}
.hzjp-ticker__track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  will-change: transform;
  animation: hzjp-scroll var(--duration) linear infinite;
}
.hzjp-ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  font-weight: 700;
}
.hzjp-ticker__name { opacity: .9; }
.hzjp-ticker__value { color: #a58d5f; }
.hzjp-ticker:hover .hzjp-ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hzjp-ticker__track { animation: none !important; transform: none !important; }
}
@keyframes hzjp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Ticker header + divider */
.hzjp-ticker__header { display:flex; align-items:center; gap:10px; padding:.5rem 1rem .25rem; }
.hzjp-ticker__header--right { justify-content:flex-end; }
.hzjp-ticker__header img { display:block; height:auto; max-height:60px; }
.hzjp-ticker__label { font-weight:700; letter-spacing:.2px; opacity:.95; }
.hzjp-ticker__divider { display:inline-flex; align-items:center; opacity:.85; }
.hzjp-ticker__divider img { height:auto; max-height:40px; }

/* ===========================
   CASINO THEME (single source)
   =========================== */
.jackpot-theme-casino {
  --jp-bg: #0c0c0f;
  --jp-panel: #111217;
  --jp-border: #d4af37;         /* gold */
  --jp-border-soft: rgba(212,175,55,0.35);
  --jp-text: #f0f0f2;
  --jp-subtle: #b7b7c0;
  --jp-accent: #ffef9c;
  --jp-glow: rgba(255,215,128,0.45);
  --jp-green: #37ffb2;
  --jp-red: #ff5e7a;
}

/* Card container */
.jackpot-theme-casino .jackpot-widget.jackpot-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    rgba(10,20,17,.82); /* translucent so grid shows through */
  color: var(--jp-text);
  border: 2px solid var(--jp-border);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px var(--jp-border-soft),
    0 10px 24px rgba(0,0,0,.45),
    inset 0 0 30px rgba(212,175,55,.08);
  backdrop-filter: blur(2px);
  overflow: hidden;
}
.jackpot-theme-casino .card-body { padding: 18px 20px;}

/* Headings */

.jackpot-theme-casino .jackpot-title {
	color: #a58d5f;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-align: center;
    font-size: initial;
    padding: 0 0 1.3em 0;
}

.jackpot-theme-casino .jackpot-chip{ width:22px; height:22px; filter: drop-shadow(0 0 6px var(--jp-glow)); }

/* Rows */
.jackpot-theme-casino .jackpot-line{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:.55rem .25rem; margin:.1rem 0;
  border-bottom:1px dashed rgba(212,175,55,.22);
}
.jackpot-theme-casino .jackpot-line strong{
  font-weight:700; color: #a58d5f; text-shadow:0 0 10px rgba(255,223,160,.35); font-size: 2em;
}

.row.jackpot-theme-casino.live-display {
    font-size: .5em !important;
}

/* Amount (gold gradient text) */
.jackpot-theme-casino .jackpot-line span{
  font-size: 2em;
  font-variant-numeric: tabular-nums;
  font-weight:800; letter-spacing:.3px;
  background: linear-gradient(180deg,#ffe8a6 0%,#e1b64e 55%,#c9962f 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 0 8px rgba(255,233,159,.25), 0 0 18px rgba(255,233,159,.15);
}

/* Must-hit badge */
.jackpot-theme-casino .jackpot-line em.jackpot-subtle{
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  padding:2px 8px;
  color:#ff5e7a;
  font-style:italic;
  font-weight:300;
  font-size:.85rem;
  margin-left:.5rem;
  box-shadow: inset 0 0 12px rgba(255,100,100,.12);
}

/* Subtle footers */
.jackpot-theme-casino .jackpot-subtle{
	color: var(--jp-subtle);
    text-align: center;
    margin: 1em 0 0 0;
}

/* Per-feed accent borders (optional wrappers) */
.jackpot-theme-casino .feed--magic-joker .jackpot-widget{ border-color:#099d49;}
.jackpot-theme-casino .feed--cash-connection .jackpot-widget{ border-color:#fcc244;}
.jackpot-theme-casino .feed--red-dragon .jackpot-widget{ border-color:#ab060b;}
.jackpot-theme-casino .feed--galaxy .jackpot-widget{ border-color:#80c242;}

/* ===========================
   GRID GREEN GOLD BACKGROUND (single source)
   =========================== */
/*.grid-gold-bg{
  position:relative; isolation:isolate;
  background: linear-gradient(180deg,#0f2c24 0%, #0a1d18 100%);
}
.grid-gold-bg::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,230,140,.06), rgba(0,0,0,0) 60%),
    repeating-linear-gradient(45deg,  rgba(210,175,60,.10) 0 2px, rgba(0,0,0,0) 2px 48px),
    repeating-linear-gradient(-45deg, rgba(210,175,60,.10) 0 2px, rgba(0,0,0,0) 2px 48px);
  mix-blend-mode: lighten; opacity:.9; z-index:-1;
}
.grid-gold-bg::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(120% 80% at 50% 0%,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.25) 65%,
    rgba(0,0,0,.50) 100%);
  z-index:-1;
}*/
/* ===== Red + Gold diamond grid background ===== */
.grid-gold-bg {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #3a0000 0%, #151515 100%);
  overflow: hidden;
}

/* diamond grid with warm gold shimmer */
.grid-gold-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* soft gold glaze */
    linear-gradient(180deg, rgba(255,210,100,0.08), rgba(0,0,0,0) 65%),
    /* 45° grid lines */
    repeating-linear-gradient(45deg,
      rgba(212,175,55,0.10) 0 2px,
      transparent 2px 48px),
    /* -45° grid lines */
    repeating-linear-gradient(-45deg,
      rgba(212,175,55,0.10) 0 2px,
      transparent 2px 48px);
  mix-blend-mode: lighten;
  opacity: 0.85;
  z-index: -1;
}

/* vignette for depth + subtle red glow edges */
.grid-gold-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%,
      rgba(255,60,60,0.15) 0%,
      rgba(0,0,0,0.25) 60%,
      rgba(0,0,0,0.65) 100%);
  z-index: -1;
}

/* ===========================
   CROWN (SVG version only)
   =========================== */
.jackpot-theme-casino .jackpot-line.is-top strong{
  position:relative; color:#ffe07a;
  text-shadow:0 0 14px rgba(255,230,160,.7);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px){
  .jackpot-theme-casino .card-body{ padding:16px; }
  .jackpot-theme-casino .jackpot-line{ padding:.45rem .15rem; }
}
.casino-chip {
    text-align: center;
    margin-bottom: 1em;
    background: black;
    border-radius: 15px;
    border: 3px solid black;
}
.casino-chip img {
    height: 120px;
    width: auto;
    border: 3px solid black;
    border-radius: 10px;
}
.galaxy-chip {
    text-align: center;
    margin-bottom: 1em;
    border-radius: 15px;
    min-height: 145px;
}
.galaxy-chip img {
    width: 100%;
    border: 3px solid black;
    border-radius: 10px;
}

/* Hide consent + captcha on in-casino display page */
body.page-id-750 .cc-window,
body.page-id-750 .grecaptcha-badge,
body.page-id-750 #cookie-law-info-bar,
body.page-id-750 .cli-bar-container,
body.page-id-750 .cky-overlay,
body.page-id-750 .cky-btn-revisit,
body.page-id-750 .cky-btn-revisit-wrapper,
body.page-id-750 .cky-revisit-bottom-left,
body.page-id-750 iframe[src*="recaptcha"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ===========================
   Equal-height jackpot cards
   =========================== */
.row.jackpot-theme-casino {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.row.jackpot-theme-casino > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.row.jackpot-theme-casino .jackpot-widget.jackpot-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.row.jackpot-theme-casino .jackpot-widget .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.row.jackpot-theme-casino .jackpot-widget.jackpot-card {
  min-height: 100%;
}