/* Casino Blackjack: product visuals only. Buttons and text come from site-ui. */
.casino-blackjack { --bj-gold: #f5c96a; --bj-ink: #fff8e7; }
.bj-table {
  position: relative;
  text-align: center;
  color: var(--bj-ink);
  overflow: hidden;
  border-radius: 22px;
  border: 2px solid var(--bj-gold);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(245, 201, 106, 0.16), transparent 70%),
    radial-gradient(ellipse at 50% 60%, #14694f 0%, #0b3d2e 60%, #062419 100%);
  box-shadow: 0 0 0 6px rgba(245, 201, 106, 0.1), 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: clamp(16px, 4vw, 26px);
}
.bj-kicker { margin: 0; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bj-gold); font-weight: 700; }
.bj-title {
  margin: 4px 0 6px;
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(180deg, #fff3c4, var(--bj-gold) 55%, #b9832a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bj-rules { margin: 0 auto; max-width: 36rem; color: #cfe6da; font-size: 0.92rem; }
.bj-felt {
  margin: 16px 0 10px;
  padding: 14px 10px;
  min-height: 240px;
  border-radius: 999px / 40px;
  border: 3px solid rgba(245, 201, 106, 0.5);
  background: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.bj-line { margin: 6px 0; font-weight: 700; }
.bj-label {
  display: inline-block;
  min-width: 4.5em;
  padding: 2px 10px;
  border-radius: 999px;
  background: #000;
  color: var(--bj-gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bj-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; min-height: 96px; margin: 8px 0; }
.bj-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(58px, 16vw, 82px);
  height: clamp(82px, 22vw, 116px);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #efefef);
  color: #111;
  font-size: clamp(1rem, 3.6vw, 1.35rem);
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  animation: bj-deal 260ms ease-out both;
}
.bj-card.is-red { color: #c4161c; }
.bj-card-back {
  background: repeating-linear-gradient(45deg, #8b1a22 0 8px, #6a1119 8px 16px);
  border: 3px solid #f5c96a;
}
@keyframes bj-deal { from { transform: translateY(-20px) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.bj-balance { margin: 12px 0 8px; color: #cfe6da; }
.bj-balance strong { font-size: 1.5rem; color: var(--bj-gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(245, 201, 106, 0.7); }
.bj-bets { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.bj-bets .bet-chip { min-width: 70px; border-radius: 999px; border: 2px solid var(--bj-gold); background: #071f17; color: var(--bj-ink); font-weight: 700; }
.bj-bets .bet-chip[aria-pressed="true"] { background: linear-gradient(180deg, #ffe08a, #b9832a); color: #2a1a00; box-shadow: 0 0 14px rgba(245, 201, 106, 0.6); }
.bj-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bj-main { min-width: 110px; min-height: 48px; font-weight: 800; border-radius: 999px; }
.bj-actions .btn-primary { background: linear-gradient(180deg, #ff5a5a, #b3151f); border-color: #ffb3b3; color: #fff; }
.bj-status { min-height: 1.5em; margin: 14px 0 0; font-weight: 700; color: var(--bj-gold); }
.bj-main:disabled, .bj-bets .bet-chip:disabled { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) { .bj-card { animation: none; } }
