/* =========================================================================
   BORGOR ARCADIA & GRAND CASINO — UNIVERSAL THEATER STYLES
   ========================================================================= */

.theater-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: theaterFadeIn 0.25s ease-out;
}

@keyframes theaterFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.theater-box {
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  background: #090d16;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.15);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.theater-head {
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.theater-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theater-game-icon {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.theater-game-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.theater-game-genre {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
}

.theater-hud-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theater-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 14px;
  border-radius: 12px;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #fde047;
  font-size: 0.9rem;
}

.theater-btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}

.theater-btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.theater-btn-icon.close {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.theater-btn-icon.close:hover {
  background: #ef4444;
  color: #fff;
}

.theater-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: radial-gradient(circle at 50% 20%, #0d1527 0%, #060911 100%);
  display: flex;
  flex-direction: column;
}

/* =========================================================================
   GAME SHELL & TABLE FELT
   ========================================================================= */
.theater-game-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
}

.table-felt {
  background: radial-gradient(circle at 50% 30%, #064e3b 0%, #022c22 80%, #011812 100%);
  border: 4px solid #14532d;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 380px;
  justify-content: space-between;
}

.table-badge {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(254, 240, 138, 0.6);
  border: 1px solid rgba(254, 240, 138, 0.2);
  padding: 3px 10px;
  border-radius: 8px;
}

.dealer-area, .player-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hand-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hand-badge {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fde047;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
}

.cards-tray {
  display: flex;
  gap: 10px;
  min-height: 94px;
  justify-content: center;
  align-items: center;
}

/* =========================================================================
   CASINO CARD COMPONENT
   ========================================================================= */
.casino-card {
  width: 64px;
  height: 92px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 6px;
  position: relative;
  font-family: var(--font-sans, sans-serif);
  font-weight: 800;
  user-select: none;
  animation: cardDealAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardDealAnim {
  from { transform: translateY(-30px) scale(0.8); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.card-back {
  background: linear-gradient(135deg, #1e3a8a, #172554);
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-back-pattern {
  font-size: 1.6rem;
  opacity: 0.8;
}

.card-corner {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-size: 0.82rem;
}

.card-corner.bottom-right {
  transform: rotate(180deg);
}

.card-center {
  font-size: 1.3rem;
  text-align: center;
  line-height: 1;
}

.felt-center-banner {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 12px;
  margin: 0 auto;
  max-width: 80%;
}

/* =========================================================================
   CONTROLS BAR
   ========================================================================= */
.theater-controls-bar {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bet-adjust-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bet-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}

.bet-number-input {
  width: 90px;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fde047;
  font-family: var(--font-mono, monospace);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 6px 8px;
  text-align: center;
}

.btn-ctrl-sub {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-ctrl-sub:hover, .btn-ctrl-sub.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #fff;
}

.action-buttons-group {
  display: flex;
  gap: 8px;
}

.btn-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action:hover:not(:disabled) {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
}

.btn-action.primary {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #6ee7b7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-action.primary:hover:not(:disabled) {
  filter: brightness(1.15);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-action:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-cashout-active {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border-color: #fde047 !important;
  color: #030712 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6) !important;
}

/* =========================================================================
   BACCARAT SPECIFIC
   ========================================================================= */
.baccarat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.bacc-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.baccarat-bet-spots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bacc-spot {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.bacc-spot:hover, .bacc-spot.active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #fff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

/* =========================================================================
   CRASH CANVAS SPECIFIC
   ========================================================================= */
.crash-canvas-wrapper {
  position: relative;
  width: 100%;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#crash-canvas {
  width: 100%;
  max-width: 600px;
  height: 320px;
}

.crash-center-hud {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.crash-mult-text {
  font-family: var(--font-mono, monospace);
  font-size: 3.5rem;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

.crash-sub-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #38bdf8;
}

/* =========================================================================
   MINESWEEPER SPECIFIC
   ========================================================================= */
.mines-main-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mines-header-hud {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mines-grid-5x5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 360px;
}

.mine-tile {
  aspect-ratio: 1;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mine-tile:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.mine-tile.gem-found {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  animation: popGem 0.3s ease-out;
}

.mine-tile.mine-bust {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
  animation: shakeTile 0.3s ease-in-out;
}

@keyframes popGem {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes shakeTile {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* =========================================================================
   PLINKO SPECIFIC
   ========================================================================= */
.plinko-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
}

#plinko-canvas {
  width: 100%;
  max-width: 540px;
  height: 340px;
}

.plinko-buckets {
  display: flex;
  width: 100%;
  max-width: 540px;
  gap: 4px;
}

.p-bucket {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  color: #030712;
  padding: 4px 0;
  border-radius: 4px;
}

/* =========================================================================
   PERYA COLOR GAME SPECIFIC
   ========================================================================= */
.color-game-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.perya-3d-stage {
  width: 100%;
  max-width: 520px;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(250, 204, 21, 0.4);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(250, 204, 21, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.perya-canvas {
  width: 100%;
  max-width: 480px;
  height: 200px;
  display: block;
}

.perya-funnel-decor {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 0.72rem;
  letter-spacing: 2px;
  font-weight: 800;
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
  padding: 6px 0;
  text-transform: uppercase;
}

.color-card-spot.winner {
  animation: colorSpotPulse 0.6s infinite alternate;
  box-shadow: 0 0 20px currentColor;
  transform: translateY(-2px);
}

@keyframes colorSpotPulse {
  0% { transform: translateY(-2px) scale(1); filter: brightness(1); }
  100% { transform: translateY(-4px) scale(1.04); filter: brightness(1.3); }
}

.color-bet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.color-card-spot {
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.color-card-spot:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.color-title {
  font-weight: 800;
  font-size: 0.85rem;
}

.color-staked {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  color: #fde047;
  font-weight: 700;
}

/* =========================================================================
   GENERIC SLOT CABINET
   ========================================================================= */
.slot-cabinet-frame {
  background: #020617;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.slot-reels-stage {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px;
}

.slot-reel-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 6px;
  overflow: hidden;
}

.slot-symbol-box {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  user-select: none;
}


/* =========================================================================
   HIGH-GRADE VEGAS & GATES OF BORGOR SLOT CABINET ENHANCEMENTS
   ========================================================================= */
.slot-cabinet-frame {
  background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #090a16 70%, #030712 100%) !important;
  border: 3px solid #f5b041 !important;
  box-shadow: 0 0 35px rgba(245, 176, 65, 0.4), inset 0 0 25px rgba(0, 0, 0, 0.9) !important;
  border-radius: 24px !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  position: relative !important;
  overflow: hidden;
}

.slot-cabinet-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #f59e0b, #fef08a, #f59e0b, #38bdf8, #f59e0b);
  box-shadow: 0 0 12px #fde047;
}

.slot-reels-stage {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 620px !important;
  background: #060913 !important;
  border: 3px solid rgba(245, 176, 65, 0.5) !important;
  border-radius: 18px !important;
  padding: 12px !important;
  position: relative !important;
  box-shadow: inset 0 30px 30px -10px rgba(0,0,0,0.85), inset 0 -30px 30px -10px rgba(0,0,0,0.85), 0 10px 25px rgba(0,0,0,0.7) !important;
  overflow: hidden;
}

.slot-reels-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(255,255,255,0.04) 45%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 55%, rgba(0,0,0,0.75) 100%);
  border-radius: 15px;
}

.slot-reel-strip {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  background: linear-gradient(180deg, #0f172a 0%, #090d16 50%, #0f172a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  overflow: hidden !important;
  transition: transform 0.15s ease-out;
}

.slot-reel-strip.reel-spinning {
  filter: blur(2px);
  transform: translateY(-8px);
}

@keyframes reelBounceStop {
  0% { transform: translateY(-24px); }
  65% { transform: translateY(8px); }
  85% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.slot-reel-strip.reel-bounce-stop {
  animation: reelBounceStop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.slot-symbol-box {
  aspect-ratio: 1 !important;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  user-select: none !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.06), 0 3px 6px rgba(0,0,0,0.4);
}

.slot-svg-sym {
  width: 82%;
  height: 82%;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes winGlowPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 6px #fde047) brightness(1.1); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 20px #f59e0b) drop-shadow(0 0 35px #fde047) brightness(1.4); }
  100% { transform: scale(1); filter: drop-shadow(0 0 6px #fde047) brightness(1.1); }
}

.winning-symbol-glow {
  animation: winGlowPulse 0.8s infinite ease-in-out !important;
  border: 2px solid #fde047 !important;
  background: radial-gradient(circle, rgba(245, 176, 65, 0.35) 0%, rgba(0,0,0,0.6) 100%) !important;
  z-index: 5;
}

/* CELEBRATION OVERLAY & PARTICLE CANVAS */
.theater-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1005;
}

.win-celebration-banner {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: radial-gradient(circle, #1e1b4b 0%, #090a16 80%, #030712 100%);
  border: 3px solid #f5b041;
  box-shadow: 0 0 50px rgba(245, 176, 65, 0.7), 0 20px 60px rgba(0,0,0,0.9);
  border-radius: 24px;
  padding: 24px 44px;
  text-align: center;
  z-index: 1010;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.win-celebration-banner.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.win-celebration-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(245, 176, 65, 0.6);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.win-celebration-amount {
  font-family: var(--font-mono, monospace);
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* LUXURY TABLE & CARD POLISH */
.felt-table {
  background: radial-gradient(circle at 50% 40%, #064e3b 0%, #022c22 65%, #011913 100%) !important;
  border: 4px solid #f5b041 !important;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.25) !important;
  border-radius: 28px !important;
}

.casino-card {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0,0,0,0.4) !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
}

.casino-card.card-royal {
  border: 1.5px solid #d97706 !important;
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%) !important;
}


/* =========================================================================
   LUXURY BELLAGIO CARD TABLES & 3D CASINO CARDS
   ========================================================================= */
.table-felt {
  background: radial-gradient(circle at 50% 35%, #064e3b 0%, #022c22 70%, #011812 100%) !important;
  border: 4px solid #b45309 !important;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.85), 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 176, 65, 0.25) !important;
  border-radius: 28px !important;
  padding: 24px 20px !important;
  position: relative !important;
  overflow: hidden !important;
}

.table-felt::before {
  content: 'BLACKJACK PAYS 3 TO 2  •  DEALER MUST STAND ON 17  •  INSURANCE PAYS 2 TO 1';
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(253, 224, 71, 0.28);
  pointer-events: none;
  border-top: 1px dashed rgba(253, 224, 71, 0.2);
  border-bottom: 1px dashed rgba(253, 224, 71, 0.2);
  padding: 8px 0;
}

.cards-tray {
  display: flex !important;
  gap: 12px !important;
  min-height: 110px !important;
  justify-content: center !important;
  align-items: center !important;
  perspective: 800px;
}

.casino-card {
  width: 72px !important;
  height: 104px !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 2px 5px rgba(0,0,0,0.3) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 6px 7px !important;
  position: relative !important;
  font-family: var(--font-sans, sans-serif) !important;
  font-weight: 800 !important;
  user-select: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s !important;
  animation: cardDealFlip 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.casino-card:hover {
  transform: translateY(-6px) scale(1.04) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 255, 255, 0.3) !important;
  z-index: 10;
}

@keyframes cardDealFlip {
  0% { transform: translateY(-40px) scale(0.7) rotateY(60deg); opacity: 0; }
  100% { transform: translateY(0) scale(1) rotateY(0deg); opacity: 1; }
}

.casino-card.card-royal {
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 60%, #fef3c7 100%) !important;
  border: 1.5px solid #d97706 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6), inset 0 0 10px rgba(245, 176, 65, 0.2) !important;
}

.casino-card.card-royal::after {
  content: '👑';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  opacity: 0.15;
  pointer-events: none;
}

/* =========================================================================
   CARD SUIT CONTRAST & VISIBILITY (SOLID CHARCOAL & SOLID RED)
   ========================================================================= */
.casino-card {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

.casino-card.suit-black,
.casino-card[data-suit="♠"],
.casino-card[data-suit="♣"] {
  color: #0f172a !important;
}

.casino-card.suit-red,
.casino-card[data-suit="♥"],
.casino-card[data-suit="♦"] {
  color: #dc2626 !important;
}

.casino-card .card-corner,
.casino-card .card-rank,
.casino-card .suit-icon,
.casino-card .card-center,
.casino-card .suit-symbol {
  color: inherit;
}

.casino-card.suit-black .card-corner,
.casino-card.suit-black .card-rank,
.casino-card.suit-black .suit-icon,
.casino-card.suit-black .card-center,
.casino-card.suit-black .suit-symbol {
  color: #0f172a !important;
}

.casino-card.suit-red .card-corner,
.casino-card.suit-red .card-rank,
.casino-card.suit-red .suit-icon,
.casino-card.suit-red .card-center,
.casino-card.suit-red .suit-symbol {
  color: #dc2626 !important;
}

/* Custom Table Felt Banners for Card Game Variants */
.table-felt.felt-pontoon::before {
  content: 'PONTOON PAYS 2 TO 1  •  5-CARD TRICK PAYS 2 TO 1  •  DEALER WINS TIES' !important;
}

.table-felt.felt-spanish21::before {
  content: 'PLAYER 21 ALWAYS WINS  •  NO 10s IN DECK  •  DOUBLE ANY TIME' !important;
}

.table-felt.felt-single-deck::before {
  content: 'SINGLE 52-CARD SHOE  •  BLACKJACK PAYS 3 TO 2  •  DEALER STANDS ON 17' !important;
}

.table-felt.felt-baccarat::before {
  content: 'PUNTO BANCO  •  BANKER 0.95:1  •  PLAYER 1:1  •  TIE PAYS 8:1' !important;
}

.table-felt.felt-dragon-baccarat::before {
  content: 'NO COMMISSION BACCARAT  •  DRAGON 7 PAYS 40 TO 1  •  BANKER 1:1' !important;
}

.card-back {
  background: radial-gradient(circle, #1e1b4b 0%, #0f172a 100%) !important;
  border: 2px solid #f5b041 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(245, 176, 65, 0.3) !important;
}

.card-back-pattern {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: repeating-linear-gradient(45deg, rgba(245, 176, 65, 0.1) 0, rgba(245, 176, 65, 0.1) 2px, transparent 0, transparent 8px);
  border-radius: 6px;
  border: 1px dashed rgba(245, 176, 65, 0.4);
}

.chip-rack-selector {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-chip-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 900;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all 0.15s;
}

.casino-chip-btn:hover {
  transform: translateY(-3px) scale(1.12);
  filter: brightness(1.2);
}

.chip-10 { background: #3b82f6; color: #fff; border-color: #93c5fd; }
.chip-50 { background: #ef4444; color: #fff; border-color: #fca5a5; }
.chip-100 { background: #10b981; color: #fff; border-color: #6ee7b7; }
.chip-500 { background: #8b5cf6; color: #fff; border-color: #c4b5fd; }
.chip-1k { background: #f59e0b; color: #000; border-color: #fef08a; }

/* =========================================================================
   6. DEDICATED FELT THEMES & 3D CASINO ENGINES STYLES
   ========================================================================= */

/* Video Poker */
.felt-video-poker {
  background: radial-gradient(circle at 50% 30%, #1e1b4b 0%, #0f172a 80%, #030712 100%) !important;
  border-color: #6366f1 !important;
}
.felt-video-poker::before {
  content: 'RETRO VEGAS VIDEO POKER  •  ROYAL FLUSH PAYS 800 TO 1' !important;
}
.vp-paytable-board {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 12px;
}
.vp-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px 12px;
}
.vp-pay-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}
.vp-pay-row.vp-win-highlight {
  background: linear-gradient(90deg, #f59e0b, #d97706) !important;
  color: #000 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.8);
  transform: scale(1.05);
}
.vp-cards-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.vp-card-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.vp-hold-indicator {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 900;
  color: transparent;
  padding: 2px 10px;
  border-radius: 6px;
  transition: all 0.15s;
}
.vp-hold-indicator.active {
  background: #f59e0b;
  color: #000;
  box-shadow: 0 0 10px #f59e0b;
}
.vp-card-box.held-glow .casino-card {
  border-color: #f59e0b !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6) !important;
}
.vp-hold-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.vp-hold-btn.active {
  background: #f59e0b;
  color: #000;
  border-color: #fde047;
}

/* Poker Table */
.felt-poker-table {
  background: radial-gradient(circle at 50% 30%, #064e3b 0%, #022c22 80%, #011812 100%) !important;
  border-color: #15803d !important;
}
.felt-poker-table::before {
  content: 'NO LIMIT HEADS-UP POKER  •  BEST 5-CARD COMBINATION WINS' !important;
}
.poker-dealer-zone, .poker-player-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.poker-community-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(245, 176, 65, 0.3);
  margin: 8px 0;
}
.poker-comm-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: #fde047;
  letter-spacing: 1px;
}
.poker-ante-chip {
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fde047;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  border-radius: 20px;
}

/* Showdown & Dragon Tiger & HiLo & Andar Bahar */
.felt-showdown {
  background: radial-gradient(circle at 50% 30%, #311042 0%, #170824 80%, #090212 100%) !important;
  border-color: #a855f7 !important;
}
.felt-showdown::before {
  content: 'HIGH CARD CASINO SHOWDOWN  •  HIGHEST RANK WINS' !important;
}
.dragon-tiger-arena {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 16px 0;
}
.dt-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 14px 20px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  min-width: 140px;
}
.dt-side-title {
  font-family: var(--font-display, serif);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.dt-center-vs {
  font-family: var(--font-display, serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 0 12px rgba(253, 224, 71, 0.6);
}
.showdown-bet-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

/* Hi-Lo */
.hilo-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.hilo-streak-pill {
  padding: 6px 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 20px;
}
.hilo-prediction-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Andar Bahar */
.andar-bahar-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.ab-joker-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ab-tracks {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.ab-side {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Roulette */
.felt-roulette {
  background: radial-gradient(circle at 50% 30%, #064e3b 0%, #022c22 80%, #011812 100%) !important;
  border-color: #f59e0b !important;
}
.felt-roulette::before {
  content: 'GRAND CASINO ROULETTE  •  STRAIGHT UP NUMBER PAYS 36:1' !important;
}
.roulette-wheel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px 0;
}
.roulette-3d-canvas {
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.2);
}
.roulette-pointer-needle {
  position: absolute;
  top: 6px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid #fde047;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
  z-index: 5;
}
.roulette-table-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.roulette-outside-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.rt-bet-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.rt-bet-box:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.rt-bet-box.active {
  border-color: #fde047 !important;
  color: #fde047 !important;
  background: rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}
.rt-red { background: #991b1b !important; color: #fecaca !important; border-color: #ef4444 !important; }
.rt-black { background: #0f172a !important; color: #cbd5e1 !important; border-color: #475569 !important; }
.roulette-numbers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  max-height: 90px;
  overflow-y: auto;
  padding: 4px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
}
.rt-num-box {
  width: 32px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}
.rt-num-box:hover {
  transform: scale(1.15);
  z-index: 2;
}
.rt-num-box.active {
  border-color: #fde047 !important;
  box-shadow: 0 0 10px #fde047;
  transform: scale(1.18);
}
.rt-green { background: #15803d; color: #fff; }
.rt-red-n { background: #b91c1c; color: #fff; }
.rt-black-n { background: #1e293b; color: #fff; }

/* 3D Dice */
.felt-dice {
  background: radial-gradient(circle at 50% 30%, #1e1b4b 0%, #0f172a 80%, #030712 100%) !important;
  border-color: #8b5cf6 !important;
}
.felt-dice::before {
  content: '3D CYBER DICE & CASINO CRAPS  •  AUTHENTIC TUMBLING PHYSICS' !important;
}
.dice-3d-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.dice-canvas {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}
.dice-roll-total-pill {
  padding: 4px 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fde047;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 20px;
}
.sicbo-bets-grid, .craps-bets-grid, .cyber-dice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

/* 3D Coin Flip */
.felt-coinflip {
  background: radial-gradient(circle at 50% 30%, #311042 0%, #170824 80%, #090212 100%) !important;
  border-color: #f59e0b !important;
}
.felt-coinflip::before {
  content: '3D MINTED COIN FLIP  •  STREAK MULTIPLIER ACCUMULATION' !important;
}
.coinflip-3d-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}
.coinflip-coin-box {
  width: 130px;
  height: 130px;
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coin-3d-disc {
  width: 110px;
  height: 110px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s;
}
.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, serif);
  font-size: 2.2rem;
  font-weight: 900;
  border: 4px dashed #fef08a;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6), inset 0 0 20px rgba(0,0,0,0.5);
}
.coin-face.heads {
  background: radial-gradient(circle, #fef08a 0%, #f59e0b 60%, #b45309 100%);
  color: #78350f;
}
.coin-face.tails {
  background: radial-gradient(circle, #bae6fd 0%, #0284c7 60%, #0c4a6e 100%);
  color: #082f49;
  transform: rotateY(180deg);
  border-color: #e0f2fe;
}
.coinflip-streak-meter {
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fde047;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 20px;
}
.coinflip-choice-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.cf-side-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 10px 24px;
  border-radius: 12px;
  font-family: var(--font-display, serif);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.cf-side-btn.active {
  border-color: #fde047 !important;
  color: #fde047 !important;
  background: rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

/* 3D Wheel of Fortune */
.felt-wheel {
  background: radial-gradient(circle at 50% 30%, #311042 0%, #170824 80%, #090212 100%) !important;
  border-color: #ec4899 !important;
}
.felt-wheel::before {
  content: 'MEGA WHEEL OF FORTUNE  •  LAND ON 100x FOR MEGA JACKPOT' !important;
}
.wheel-canvas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px 0;
}
.wheel-canvas {
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(236, 72, 153, 0.3);
}
.wheel-top-flapper {
  position: absolute;
  top: 2px;
  font-size: 1.8rem;
  color: #fde047;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
  z-index: 5;
}
.wheel-bet-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Keno Mega 80 */
.felt-keno {
  background: radial-gradient(circle at 50% 30%, #042f2e 0%, #02201f 80%, #011312 100%) !important;
  border-color: #06b6d4 !important;
}
.felt-keno::before {
  content: 'NEON KENO MEGA 80  •  DRAW 20 BALLS  •  MATCH UP TO 10 NUMBERS' !important;
}
.keno-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.keno-picks-count {
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid #06b6d4;
  color: #67e8f9;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 14px;
}
.keno-actions-row {
  display: flex;
  gap: 6px;
}
.keno-grid-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}
.keno-num-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 6px 0;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.12s;
}
.keno-num-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.keno-num-btn.selected {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}
.keno-num-btn.drawn {
  background: #dc2626 !important;
  border-color: #f87171 !important;
  color: #fff !important;
}
.keno-num-btn.matched {
  background: #f59e0b !important;
  border-color: #fde047 !important;
  color: #000 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 16px #f59e0b;
  transform: scale(1.1);
  z-index: 2;
}
.keno-drawn-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
  min-height: 32px;
}
.keno-ball-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #334155;
  color: #fff;
  border: 1px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  animation: ballPop 0.2s ease-out;
}
.keno-ball-chip.hit {
  background: #f59e0b;
  color: #000;
  border-color: #fde047;
  box-shadow: 0 0 12px #f59e0b;
}

/* Cyber Derby */
.felt-derby {
  background: radial-gradient(circle at 50% 30%, #064e3b 0%, #022c22 80%, #011812 100%) !important;
  border-color: #10b981 !important;
}
.felt-derby::before {
  content: 'CYBER HORSE SPRINT DERBY  •  PHOTO FINISH TURF RACE' !important;
}
.derby-track-stage {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.derby-lane {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}
.derby-horse-runner {
  position: absolute;
  left: 0%;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: left 0.05s linear;
  white-space: nowrap;
}
.derby-lane-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.derby-finish-line {
  position: absolute;
  right: 40px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: repeating-linear-gradient(0deg, #fff 0, #fff 8px, #000 8px, #000 16px);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
.derby-horse-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
  margin-top: 8px;
}

/* Scratch & Win */
.felt-scratch {
  background: radial-gradient(circle at 50% 30%, #311042 0%, #170824 80%, #090212 100%) !important;
  border-color: #f59e0b !important;
}
.felt-scratch::before {
  content: 'NEON GOLD SCRATCH & WIN  •  MATCH 3 SYMBOLS TO WIN UP TO 500x' !important;
}
.scratch-card-box {
  width: 300px;
  height: 300px;
  margin: 12px auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 25px rgba(245, 158, 11, 0.4);
  border: 2px solid #fde047;
}
.scratch-under-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  background: #090d16;
}
.scratch-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: #fff;
}
.scratch-foil-layer {
  position: absolute;
  inset: 0;
  cursor: crosshair;
}

/* Limbo */
.felt-limbo {
  background: radial-gradient(circle at 50% 30%, #1e1b4b 0%, #0f172a 80%, #030712 100%) !important;
  border-color: #a855f7 !important;
}
.felt-limbo::before {
  content: 'TURBO LIMBO ROCKET  •  TARGET ACCELERATION MULTIPLIER' !important;
}
.limbo-target-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}
.limbo-mult-display {
  font-family: var(--font-display, serif);
  font-size: 4rem;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 0 25px rgba(253, 224, 71, 0.6);
}
.limbo-win-prob-pill {
  padding: 4px 14px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #a855f7;
  color: #d8b4fe;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 20px;
}
.limbo-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

/* Tower Climb */
.felt-tower {
  background: radial-gradient(circle at 50% 30%, #111827 0%, #030712 100%) !important;
  border-color: #38bdf8 !important;
}
.felt-tower::before {
  content: 'CYBER SPIRE TOWER CLIMB  •  EVADE TRAPS AND CASH OUT' !important;
}
.tower-spire-stage {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 380px;
  margin: 10px auto;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tower-floor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid transparent;
}
.tower-floor-row.active-floor {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}
.tower-floor-mult {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fde047;
}
.tower-doors-group {
  display: flex;
  gap: 8px;
}
.tower-door-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.tower-door-btn:hover {
  background: rgba(56, 189, 248, 0.3);
  border-color: #38bdf8;
  transform: scale(1.1);
}
