.jackpot-live {
  padding-top: 8px;
  padding-bottom: 42px;
}

.jackpot-live-head {
  align-items: center;
}

.jackpot-live-head .section-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.jackpot-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.jackpot-live-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(110, 243, 197, 0.1);
}

.jackpot-live-status.is-error::before {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.1);
}

.jackpot-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(110, 243, 197, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 0, rgba(110, 243, 197, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.jackpot-total-copy {
  display: grid;
  gap: 3px;
}

.jackpot-total-copy span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jackpot-total-copy strong {
  color: var(--mint);
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1.1;
}

.jackpot-total-copy small {
  color: var(--muted);
  font-size: 11px;
}

.jackpot-total-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 18px;
  background: rgba(255, 209, 102, 0.09);
  color: var(--gold);
  font-size: 27px;
}

.jackpot-live-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.jackpot-card {
  position: relative;
  overflow: hidden;
  width: calc((100% - 20px) / 2.5);
  flex: 0 0 calc((100% - 20px) / 2.5);
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  scroll-snap-align: start;
}

.jackpot-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-bottom: 11px;
}

.jackpot-card-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.jackpot-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jackpot-card-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease;
}

.jackpot-card:hover .jackpot-card-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

.jackpot-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.jackpot-card-hit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.jackpot-card-name {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jackpot-card-total {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.jackpot-card-total small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.jackpot-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.jackpot-tier {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font-size: 9.5px;
}

.jackpot-tier b {
  color: var(--text);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.jackpot-empty {
  padding: 22px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 620px) {
  .jackpot-live {
    padding-bottom: 28px;
  }

  .jackpot-total-card {
    padding: 14px 15px;
  }

  .jackpot-total-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 22px;
  }

  .jackpot-card {
    padding: 10px;
  }

  .jackpot-card-head {
    gap: 6px;
    margin-bottom: 8px;
  }

  .jackpot-card-logo {
    width: 27px;
    height: 27px;
  }

  .jackpot-card-name {
    font-size: 10px;
  }

  .jackpot-card-total {
    font-size: 16px;
  }

  .jackpot-tiers {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .jackpot-tier {
    padding: 4px 6px;
    font-size: 8.5px;
  }

  .jackpot-tier b {
    font-size: 9px;
  }


}

/* Gold live-number treatment */
.jackpot-total-card {
  position: relative;
  overflow: hidden;
}

.jackpot-total-card::after {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 209, 102, 0.12) 48%, transparent 62%);
  transform: translateX(-55%);
  animation: jackpot-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes jackpot-sheen {
  0%, 60% { transform: translateX(-55%); }
  85%, 100% { transform: translateX(55%); }
}

.jackpot-total-copy strong {
  background: none;
  color: #ffd166;
  -webkit-text-fill-color: #ffd166;
  forced-color-adjust: none;
  filter: drop-shadow(0 0 14px rgba(255, 209, 102, 0.24));
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.jackpot-card.is-loading {
  pointer-events: none;
}

.jackpot-skeleton-text {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: transparent;
  text-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.jackpot-skeleton-arrow {
  opacity: 0.25;
}

.jackpot-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.jackpot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.045);
}

.jackpot-card-total {
  color: #ffd166;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(255, 209, 102, 0.22);
}

.jackpot-card-total-number {
  display: inline-block;
  min-width: 3ch;
}

.jackpot-tiers b {
  color: #f3d58c;
  font-variant-numeric: tabular-nums;
}

.jackpot-live-status:not(.is-error)::before {
  animation: jackpot-pulse 2.2s ease-in-out infinite;
}

@keyframes jackpot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(110, 243, 197, 0.08); }
  50% { box-shadow: 0 0 0 7px rgba(110, 243, 197, 0.02); }
}
