/* ==========================================================================
   CLARK'S CASINO ROYALE - STYLESHEET
   Classic Flashy Las Vegas & Monte Carlo Luxury Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  --felt-green-deep: #072214;
  --felt-green-mid: #0d3b24;
  --felt-green-light: #165334;
  --gold-glow: #f9e79f;
  --gold-primary: #d4af37;
  --gold-dark: #8c6d1f;
  --gold-brass: #b8860b;
  --velvet-red: #8b1122;
  --velvet-burgundy: #4a0913;
  --neon-gold: #ffd700;
  --neon-red: #ff3366;
  --neon-cyan: #00f0ff;
  --dark-bg: #06090d;
  --dark-surface: #0e141d;
  --dark-card: #131c28;
  --text-main: #f5f5f7;
  --text-muted: #a6b4c9;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--dark-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 15% 50%, rgba(139, 17, 34, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(13, 59, 36, 0.22) 0%, transparent 50%),
    linear-gradient(to bottom, #06090d 0%, #0a1017 100%);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Dust Particles */
.ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-dust {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0.2;
  box-shadow: 0 0 6px var(--gold-glow);
  animation: floatDust 10s infinite linear;
}

@keyframes floatDust {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  30% { opacity: 0.45; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-160px) scale(1.2); opacity: 0; }
}

/* ==========================================================================
   CASINO TOP NAVIGATION & MARQUEE HEADER
   ========================================================================== */

.casino-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 14, 21, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.casino-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.casino-brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-portfolio-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 99px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease);
}

.btn-portfolio-back:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-glow);
  transform: translateX(-3px);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

/* Flashy Las Vegas Marquee Logo (Clickable to Floor Lobby) */
.casino-marquee-sign {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  padding: 4px 8px;
  margin: -4px -8px;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
  user-select: none;
}

.casino-marquee-sign:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.7));
}

.casino-marquee-sign:active {
  transform: translateY(0) scale(0.98);
}

.casino-marquee-sign:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 4px;
}

.marquee-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  pointer-events: none;
}

.marquee-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #fff0b3 30%, #d4af37 70%, #aa8010 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
  line-height: 1.1;
  margin: 0;
  pointer-events: none;
}

/* HUD BAR (Balance, VIP, Buttons) */
.casino-hud-cluster {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(14, 20, 29, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hud-balance-pill {
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(14, 20, 29, 0.95));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25), inset 0 0 8px rgba(212, 175, 55, 0.15);
}

.btn-clickable-balance {
  cursor: pointer;
  user-select: none;
  transition: all 0.25s var(--ease);
  position: relative;
  font-family: inherit;
}

.btn-clickable-balance:hover {
  transform: translateY(-2px);
  border-color: #ffd700;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.25);
}

.hud-add-badge {
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.6);
  color: #ffd700;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
  transition: background 0.2s, color 0.2s;
}

.btn-clickable-balance:hover .hud-add-badge {
  background: #ffd700;
  color: #0d1520;
}

.hud-btn-add-credits {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(184, 134, 11, 0.45));
  border: 1px solid var(--gold-primary);
  color: #fff9db;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.hud-btn-add-credits:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(212, 175, 55, 0.6));
  border-color: #ffeaa7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.55);
}

.hud-coin-amt {
  font-family: var(--font-serif);
  font-weight: 900;
  color: #fff4bd;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}

.hud-coin-amt.pulse {
  transform: scale(1.18);
  color: #ffffff;
  text-shadow: 0 0 14px #ffd700;
}

.hud-vip-badge {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-faucet-stash {
  background: linear-gradient(135deg, #1b7a42, #0d3b24);
  border: 1px solid #2ecc71;
  color: #eafff2;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 14px rgba(46, 204, 113, 0.35);
  transition: all 0.3s var(--ease);
}

.btn-faucet-stash:hover {
  background: linear-gradient(135deg, #27ae60, #135532);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(46, 204, 113, 0.6);
}

.hud-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.45rem 0.8rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.25s var(--ease);
}

.hud-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-primary);
  color: var(--gold-glow);
}

.hud-icon-btn.is-muted {
  background: rgba(220, 53, 69, 0.18);
  border-color: rgba(220, 53, 69, 0.45);
  color: #ff6b81;
}

/* ==========================================================================
   GAME SWITCHER SUB-NAV
   ========================================================================== */

.casino-game-nav {
  background: #090e15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.casino-game-nav::-webkit-scrollbar {
  display: none;
}

.game-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.game-nav-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 99px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s var(--ease);
}

.game-nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.game-nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(139, 17, 34, 0.35));
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

/* Disclaimer Strip */
.casino-disclaimer-strip {
  background: rgba(13, 20, 30, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.35rem 1rem;
}

.casino-disclaimer-strip strong {
  color: var(--gold-primary);
}

/* Low Balance Alert */
.low-balance-alert {
  display: none;
  background: linear-gradient(90deg, #8b1122, #b8860b);
  color: #ffffff;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(139, 17, 34, 0.5);
}

.low-balance-alert.visible {
  display: block;
}

.low-balance-alert button {
  background: #ffffff;
  color: #8b1122;
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-left: 0.6rem;
  cursor: pointer;
}

/* ==========================================================================
   MAIN CONTENT & LOBBY VIEW
   ========================================================================== */

.casino-main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  position: relative;
  z-index: 2;
}

/* Casino Floor Hero */
.casino-floor-hero {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.chase-lights-marquee {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 1.25rem;
  background: rgba(14, 20, 29, 0.8);
  border: 1px solid var(--gold-primary);
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  margin-bottom: 1rem;
}

.chase-bulbs {
  display: flex;
  gap: 6px;
}

.chase-bulbs i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-glow);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: bulbChase 1.4s infinite alternate ease-in-out;
}

.chase-bulbs i:nth-child(2) { animation-delay: 0.2s; }
.chase-bulbs i:nth-child(3) { animation-delay: 0.4s; }
.chase-bulbs i:nth-child(4) { animation-delay: 0.6s; }
.chase-bulbs i:nth-child(5) { animation-delay: 0.8s; }
.chase-bulbs i:nth-child(6) { animation-delay: 1.0s; }
.chase-bulbs i:nth-child(7) { animation-delay: 1.2s; }
.chase-bulbs i:nth-child(8) { animation-delay: 1.4s; }

@keyframes bulbChase {
  0% { opacity: 0.25; filter: brightness(0.6); }
  100% { opacity: 1; filter: brightness(1.6); transform: scale(1.2); }
}

.marquee-subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-glow);
}

.floor-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 0%, #fff4bd 35%, #d4af37 75%, #aa8010 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.4));
}

.floor-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   CASINO LOBBY GAME CARDS GRID
   ========================================================================== */

.casino-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.casino-card {
  background: linear-gradient(145deg, #101722, #090e15);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.casino-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
}

.casino-card:hover::before {
  opacity: 1;
}

.card-badge-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-glow);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 99px;
  padding: 0.25rem 0.65rem;
}

.card-icon-banner {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s var(--ease);
}

.casino-card:hover .card-icon-banner {
  transform: scale(1.12) rotate(3deg);
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 0.3rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.btn-play-card {
  width: 100%;
}

/* ==========================================================================
   ACTIVE GAME STAGE VIEW
   ========================================================================== */

.casino-stage-view {
  background: #080d14;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.15);
  overflow: hidden;
  position: relative;
}

.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  background: linear-gradient(90deg, #101724, #0b1019);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.stage-game-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stage-game-icon {
  font-size: 1.6rem;
}

.stage-game-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-glow);
}

.btn-stage-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-stage-close:hover {
  background: rgba(139, 17, 34, 0.4);
  border-color: #ff3366;
  color: #fff;
}

.game-mount-point {
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   SHARED CASINO TABLE & FELT BAZE STYLES
   ========================================================================== */

.casino-game-table {
  background-color: var(--felt-green-mid);
  background-image: 
    radial-gradient(ellipse at 50% 30%, rgba(22, 83, 52, 0.85) 0%, rgba(7, 34, 20, 0.95) 70%, #04140b 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
  border: 14px solid #3d1c06;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), inset 0 0 0 2px var(--gold-primary), 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: 16px;
  margin: 1.25rem;
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.table-felt-banner {
  text-align: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 0.5rem;
}

.felt-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--gold-glow);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.felt-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Status announcement banner on felt */
.game-status-banner {
  background: rgba(4, 20, 11, 0.85);
  border: 1px solid var(--gold-primary);
  border-radius: 99px;
  padding: 0.6rem 1.4rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff4bd;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(212, 175, 55, 0.15);
  max-width: 600px;
  margin: 0.5rem auto;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   AUTHENTIC PLAYING CARDS STYLING
   ========================================================================== */

.cards-layout {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  perspective: 800px;
}

.playing-card {
  width: 84px;
  height: 122px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.45rem;
  position: relative;
  user-select: none;
  animation: dealSlide 0.35s var(--ease) forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@keyframes dealSlide {
  0% { transform: translateY(-30px) rotate(-6deg) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
}

.playing-card.red {
  color: #d32f2f;
}

.playing-card.black {
  color: #1a1a1a;
}

.card-top, .card-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

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

.card-rank {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.05rem;
}

.card-suit {
  font-size: 0.85rem;
}

.card-center {
  align-self: center;
  font-size: 2rem;
  line-height: 1;
}

/* Face-down card with royal pattern */
.playing-card.card-back {
  background: linear-gradient(135deg, #1c050a 0%, #6e0d1d 50%, #1c050a 100%);
  border: 2px solid var(--gold-primary);
  display: grid;
  place-items: center;
}

.card-inner-pattern {
  width: 90%;
  height: 90%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 10%, transparent 60%);
}

/* Area Headers (Dealer, Player) */
.table-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.area-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dealer-label, .player-label {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-glow);
  text-transform: uppercase;
}

.hand-score {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--gold-primary);
  color: #ffffff;
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Bet Spot on Table */
.bet-spot-wrapper {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.bet-spot {
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(212, 175, 55, 0.65);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--ease);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.bet-spot:hover {
  border-color: #ffd700;
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35), inset 0 0 15px rgba(255, 215, 0, 0.2);
}

.bet-spot.drag-hover,
.r-cell.drag-hover,
.craps-bet-cell.drag-hover,
.bac-spot.drag-hover,
.wheel-bet-cell.drag-hover {
  border-color: #ffd700 !important;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), inset 0 0 18px rgba(255, 215, 0, 0.4) !important;
  transform: scale(1.06) !important;
}

.bet-spot.has-bet {
  border-style: solid;
  border-color: var(--gold-primary);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(0, 0, 0, 0.4) 70%);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
}

.bet-spot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.bet-hint-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-glow);
  text-transform: uppercase;
  opacity: 0.85;
}

.bet-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  text-align: center;
  padding: 0 0.5rem;
  line-height: 1.2;
}

.bet-val {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  margin-top: 0.2rem;
}

/* 3D Physical Chip Stacking on Felt */
.felt-chip-stack-visual {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 0.2rem;
}

.stacked-chip {
  position: absolute;
  left: 50%;
  transform-origin: center center;
  margin-left: -26px;
  width: 52px;
  height: 24px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7), inset 0 2px 3px rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 900;
  color: #fff;
  transition: all 0.2s ease;
}

/* ==========================================================================
   CASINO CHIPS (TACTILE 3D STACKED BUTTONS)
   ========================================================================== */

.table-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.chip-tray-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-glow);
  width: 100%;
  text-align: center;
  margin-bottom: 0.2rem;
}

.chips-selector {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.chip-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: grab;
  position: relative;
  border: 4px dashed rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
  user-select: none;
}

.chip-btn:active {
  cursor: grabbing;
}

.chip-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.8);
}

.chip-btn.active {
  transform: translateY(-8px) scale(1.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.9), 0 0 18px rgba(255, 215, 0, 0.85);
  outline: 2px solid #ffd700;
}

.chip-5 { background: #34495e; color: #fff; }
.chip-25 { background: #27ae60; color: #fff; }
.chip-50 { background: #2980b9; color: #fff; }
.chip-100 { background: #c0392b; color: #fff; }
.chip-500 { background: #2c3e50; color: #f1c40f; border-color: #f1c40f; }
.chip-1000 { background: linear-gradient(135deg, #f39c12, #d35400); color: #fff; border-color: #ffeaa7; }

/* Board Chip Marker placed on felts */
.board-chip {
  background: radial-gradient(circle, #f39c12 30%, #b8860b 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  border: 1px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  display: inline-block;
  animation: chipDrop 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes chipDrop {
  0% { transform: scale(1.4) translateY(-8px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.casino-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.4rem;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s var(--ease);
  border: none;
  font-size: 0.85rem;
}

.casino-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.btn-gold {
  background: linear-gradient(135deg, #f9e79f 0%, #d4af37 50%, #aa8010 100%);
  color: #1a1002;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

.btn-gold:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.7);
  filter: brightness(1.1);
}

.btn-large {
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-secondary:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-glow);
}

.btn-hit {
  background: #27ae60;
  color: #fff;
}
.btn-hit:not(:disabled):hover { background: #2ecc71; }

.btn-stand {
  background: #c0392b;
  color: #fff;
}
.btn-stand:not(:disabled):hover { background: #e74c3c; }

.btn-double {
  background: #2980b9;
  color: #fff;
}
.btn-double:not(:disabled):hover { background: #3498db; }

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
}

.game-action-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ==========================================================================
   ROULETTE SPECIFIC
   ========================================================================== */

.roulette-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.wheel-stage {
  position: relative;
  width: 380px;
  height: 380px;
}

.wheel-center-pip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.roulette-status-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}

.last-numbers-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hist-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.hist-list {
  display: flex;
  gap: 0.35rem;
}

.hist-pill {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

.hist-red { background: #c0292b; }
.hist-black { background: #1c1c1c; }
.hist-green { background: #0f8a44; }

.roulette-stats-box {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.roulette-stats-box b {
  color: #fff;
}

/* Roulette Felt Board */
.roulette-board-wrapper {
  overflow-x: auto;
  padding: 0.5rem 0;
}

.roulette-board {
  display: flex;
  border: 2px solid var(--gold-primary);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  min-width: 780px;
  margin: 0 auto;
}

.r-zero {
  width: 60px;
  background: #0f8a44;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  border-right: 1px solid var(--gold-primary);
  cursor: pointer;
  position: relative;
}

.r-numbers-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 44px);
  flex: 1;
}

.r-cell {
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
  user-select: none;
}

.r-cell:hover {
  filter: brightness(1.3);
}

.r-cell.active-bet {
  box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.5);
}

.r-red { background: #c0292b; color: #fff; }
.r-black { background: #1a1a1a; color: #fff; }

.r-cols-col {
  display: flex;
  flex-direction: column;
  width: 50px;
}

.r-col-cell {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold-glow);
  font-size: 0.85rem;
}

.roulette-outside-bets {
  min-width: 780px;
  margin: 0.4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.r-dozens-row, .r-evens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.r-evens-row {
  grid-template-columns: repeat(6, 1fr);
}

.r-dozen-cell, .r-even-cell {
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-primary);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.85rem;
}

.r-red-cell { background: #922b21; }
.r-black-cell { background: #141414; }

.winner-flash {
  animation: flashWin 0.5s infinite alternate;
}

@keyframes flashWin {
  0% { background: #ffd700; color: #000; }
  100% { filter: brightness(1.6); }
}

/* ==========================================================================
   SLOTS 777 SPECIFIC
   ========================================================================== */

.slots-table {
  background: radial-gradient(circle at 50% 30%, #1a080d 0%, #080305 100%);
  border-color: #641e16;
}

.slots-paytable-glass {
  background: rgba(14, 20, 29, 0.9);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  padding: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.glass-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-glow);
  margin-bottom: 0.6rem;
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  font-size: 0.8rem;
}

.pay-item {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.pay-item .mult {
  color: var(--gold-glow);
  font-weight: 700;
}

.slot-cabinet-housing {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 730px;
  margin: 0 auto;
}

.slot-cabinet {
  flex: 1;
  max-width: 630px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2e0c14 0%, #170509 50%, #0d0205 100%);
  border: 10px solid #c29b27;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.95), inset 0 0 35px rgba(0, 0, 0, 0.85);
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.slot-cabinet.anticipation-mode {
  border-color: #ffd700;
  box-shadow: 0 0 45px rgba(255, 215, 0, 0.8), inset 0 0 35px rgba(255, 215, 0, 0.4);
  animation: cabinetTensionPulse 0.35s infinite alternate;
}

@keyframes cabinetTensionPulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2) drop-shadow(0 0 20px #ff3366); }
}

/* Mechanical Slot Arm Lever */
.slot-lever-assembly {
  position: absolute;
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  z-index: 25;
  user-select: none;
}

.slot-lever-assembly:active {
  cursor: grabbing;
}

.slot-lever-base {
  width: 32px;
  height: 54px;
  background: linear-gradient(90deg, #333 0%, #aaa 35%, #fff 55%, #666 85%, #222 100%);
  border: 2px solid #aa8010;
  border-radius: 8px;
  box-shadow: 3px 5px 12px rgba(0, 0, 0, 0.9), inset 0 0 6px rgba(0,0,0,0.6);
}

.slot-lever-arm {
  position: absolute;
  bottom: 14px;
  left: 11px;
  width: 10px;
  height: 145px;
  transform-origin: bottom center;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slot-lever-rod {
  width: 10px;
  height: 125px;
  background: linear-gradient(90deg, #555 0%, #eee 40%, #fff 55%, #888 80%, #333 100%);
  border-radius: 5px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.6);
}

.slot-lever-knob {
  position: absolute;
  top: -24px;
  left: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7675 0%, #d63031 55%, #631212 90%, #2b0404 100%);
  border: 2px solid #ffeaa7;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.slot-lever-assembly:hover .slot-lever-knob {
  filter: brightness(1.2) drop-shadow(0 0 12px #ff3366);
  transform: scale(1.1);
}

.slot-lever-arm.pulling {
  animation: leverPullMotion 0.65s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes leverPullMotion {
  0% { transform: rotate(0deg) scaleY(1); }
  35% { transform: rotate(58deg) scaleY(0.76); }
  60% { transform: rotate(52deg) scaleY(0.8); }
  100% { transform: rotate(0deg) scaleY(1); }
}

.slot-marquee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  background: #000;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--gold-primary);
}

.marquee-logo {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  color: #fff4bd;
  text-shadow: 0 0 10px #ff3366, 0 0 20px #ffd700;
}

.reels-window-frame {
  position: relative;
  background: linear-gradient(180deg, #18191c 0%, #0d0e10 100%);
  border: 6px solid #aa8010;
  border-radius: 14px;
  box-shadow: inset 0 12px 30px rgba(0, 0, 0, 0.95), 0 4px 15px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.6rem 0.4rem;
}

/* Dynamic Payline Laser SVG Layer */
.payline-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

.payline-laser {
  stroke-dasharray: 8 4;
  animation: laserDash 0.8s linear infinite;
  filter: drop-shadow(0 0 8px var(--laser-color, #ffd700));
}

@keyframes laserDash {
  to { stroke-dashoffset: -24; }
}

/* Center Payline Glass Wire */
.reels-window-frame::before {
  content: '';
  position: absolute;
  left: 36px;
  right: 36px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.35) 15%, rgba(255, 51, 102, 0.75) 50%, rgba(255, 215, 0, 0.35) 85%, transparent);
  box-shadow: 0 0 8px rgba(255, 51, 102, 0.5);
  pointer-events: none;
  z-index: 8;
}

.payline-indicators {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 0.5rem;
  z-index: 9;
}

.line-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: #2c3e50;
  color: #95a5a6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  user-select: none;
  transition: all 0.2s ease;
}

.line-tag.active {
  background: #c0392b;
  color: #ffffff;
  box-shadow: 0 0 8px #ff3366;
}

.line-tag.winner-line {
  background: #f1c40f;
  color: #000;
  box-shadow: 0 0 14px #ffd700, 0 0 25px #ff3366;
  transform: scale(1.15);
}

.reels-container {
  display: flex;
  gap: 0.75rem;
  z-index: 4;
  perspective: 700px;
}

.slot-reel {
  width: 120px;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #e4e4e4 0%, #ffffff 25%, #ffffff 75%, #dedede 100%);
  border-radius: 10px;
  border: 2px solid #5a1824;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.45), 0 3px 10px rgba(0,0,0,0.6);
}

/* 3D Cylindrical Drum Shading (Realistic mechanical curved drum) */
.slot-reel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.58) 10%,
    rgba(0, 0, 0, 0.18) 24%,
    rgba(255, 255, 255, 0.0) 38%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0.0) 62%,
    rgba(0, 0, 0, 0.18) 76%,
    rgba(0, 0, 0, 0.58) 90%,
    rgba(0, 0, 0, 0.88) 100%
  );
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.85), inset 0 -8px 18px rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  z-index: 7;
}

.reel-strip-viewport {
  width: 100%;
  height: 100%;
  position: relative;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
}

.reel-cell {
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  user-select: none;
  position: relative;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Motion blur and vertical stretch when spinning */
.reel-spinning .reel-cell {
  filter: blur(2.5px) contrast(1.15);
  transform: scaleY(1.08);
}

/* Suspense spin anticipation on reel 3 */
.reel-suspense {
  animation: suspenseGlow 0.32s infinite alternate;
}

@keyframes suspenseGlow {
  0% { box-shadow: 0 0 8px #ffd700, inset 0 0 16px #ffd700; border-color: #ffd700; }
  100% { box-shadow: 0 0 24px #ff3366, inset 0 0 28px #ff3366; border-color: #ff3366; }
}

/* Winning Symbol High-Octane Las Vegas Celebration */
.reel-cell.win-symbol {
  animation: winSymbolCelebration 0.7s infinite alternate ease-in-out;
  z-index: 6;
}

@keyframes winSymbolCelebration {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px #ffd700) brightness(1);
  }
  100% {
    transform: scale(1.24);
    filter: drop-shadow(0 0 22px #ff3366) drop-shadow(0 0 35px #ffd700) brightness(1.25);
  }
}

.slot-meter-display {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
  background: #000;
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  text-align: center;
}

.meter-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
}

.meter-value {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.win-val {
  color: #2ecc71;
  text-shadow: 0 0 8px #2ecc71;
}

.slot-banner-ticker {
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold-glow);
  text-align: center;
  padding: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
  border-radius: 6px;
}

.slot-bet-adjusters {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.ctrl-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ctrl-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-glow);
}

/* ==========================================================================
   VIDEO POKER SPECIFIC
   ========================================================================== */

.videopoker-table {
  background: radial-gradient(circle at 50% 30%, #0d233a 0%, #05101b 100%);
  border-color: #1b4f72;
}

.vp-paytable-wrapper {
  background: #000;
  border: 2px solid var(--gold-primary);
  border-radius: 10px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.vp-paytable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.vp-paytable th, .vp-paytable td {
  padding: 0.35rem 0.6rem;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vp-paytable .th-hand, .vp-paytable .td-hand {
  text-align: left;
  font-weight: 800;
  color: var(--gold-glow);
}

.vp-paytable .active-col {
  background: rgba(212, 175, 55, 0.25);
  color: #ffd700;
  font-weight: 800;
}

.vp-row.win-row {
  background: #c0392b !important;
  color: #fff !important;
  animation: flashRow 0.6s infinite alternate;
}

@keyframes flashRow {
  0% { opacity: 0.8; }
  100% { opacity: 1; filter: brightness(1.4); }
}

.vp-cards-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.vp-cards-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vp-card-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.vp-hold-badge {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: #e74c3c;
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  visibility: hidden;
}

.vp-card-slot.held .vp-hold-badge {
  visibility: visible;
}

.vp-card-slot.held .playing-card {
  transform: translateY(-8px);
  border-color: #ffd700;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.6);
}

.vp-card.card-placeholder {
  background: #0d1a29;
  border: 2px dashed rgba(212, 175, 55, 0.4);
  display: grid;
  place-items: center;
}

/* ==========================================================================
   CRAPS DICE SPECIFIC
   ========================================================================== */

.craps-table {
  background: radial-gradient(circle at 50% 30%, #0d3b24 0%, #051b10 100%);
  border-radius: 20px;
  padding: 1.25rem;
}

.craps-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.puck-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.craps-puck {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  border: 3px solid #d4af37;
  user-select: none;
}

.craps-puck.off {
  background: #151515;
  color: #fff;
  border-color: #888;
}

.craps-puck.on {
  background: #ffffff;
  color: #111;
  border-color: #ffd700;
  box-shadow: 0 0 16px #ffd700;
}

.puck-desc {
  font-size: 0.85rem;
  color: var(--gold-glow);
  font-weight: 600;
}

.craps-roll-summary {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.dice-arena {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  cursor: pointer;
}

.casino-die {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 35% 35%, #ff4d6d, #b30026 80%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  position: relative;
  transition: transform 0.2s ease;
  user-select: none;
}

.casino-die:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.85), inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.casino-die.rolling {
  animation: rollTumble 0.8s ease-out;
}

@keyframes rollTumble {
  0% { transform: rotate(0deg) scale(0.8) translateY(-40px); }
  30% { transform: rotate(240deg) scale(1.2) translateY(-10px); }
  60% { transform: rotate(540deg) scale(0.9) translateY(-20px); }
  100% { transform: rotate(720deg) scale(1) translateY(0); }
}

.pip {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.pip-center { top: 24px; left: 24px; }
.pip-tl { top: 10px; left: 10px; }
.pip-tr { top: 10px; right: 10px; }
.pip-bl { bottom: 10px; left: 10px; }
.pip-br { bottom: 10px; right: 10px; }
.pip-ml { top: 24px; left: 10px; }
.pip-mr { top: 24px; right: 10px; }

/* Craps Main Layout (Table + History Panel Side-by-Side) */
.craps-main-layout {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
}

/* Casino Wooden Tub with Padded Armrest Rail */
.craps-tub-frame {
  position: relative;
  flex: 1 1 820px;
  max-width: 940px;
  min-width: 300px;
  background: #240f06;
  border: 14px solid #3d1c0b;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 0 30px rgba(0, 0, 0, 0.8);
  padding: 8px;
  margin: 0;
  box-sizing: border-box;
}

/* History Sidebar Panel next to table */
.craps-history-panel {
  flex: 0 0 280px;
  width: 280px;
  background: radial-gradient(circle at 50% 15%, #1f0d06 0%, #0d0502 100%);
  border: 10px solid #3d1c0b;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 0 25px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.history-panel-header {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.history-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-badge-icon {
  font-size: 1rem;
}

.history-heading {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #d4af37;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.history-reset-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: #dcdcdc;
  font-size: 0.72rem;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.history-reset-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #fff;
  border-color: #ffd700;
}

.history-panel-body {
  flex: 1 1 auto;
  min-height: 220px;
  max-height: 330px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-panel-body::-webkit-scrollbar {
  width: 5px;
}
.history-panel-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.history-panel-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}

.history-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
  color: #888;
  text-align: center;
  gap: 6px;
}
.history-empty-state .empty-icon {
  font-size: 2rem;
  opacity: 0.4;
}
.history-empty-state .empty-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #bbb;
}
.history-empty-state .empty-sub {
  font-size: 0.72rem;
  color: #777;
}

.history-entry {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.history-entry:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-2px);
}

.entry-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entry-roll-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #f0f0f0;
}

.entry-num {
  color: #888;
  font-size: 0.72rem;
  font-weight: 700;
}

.entry-dice-sum {
  background: #a00;
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.76rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.entry-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-win {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid #00e676;
  color: #00e676;
}
.badge-loss {
  background: rgba(255, 51, 102, 0.15);
  border: 1px solid #ff3366;
  color: #ff3366;
}
.badge-push {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  color: #ffd700;
}
.badge-point {
  background: rgba(33, 150, 243, 0.15);
  border: 1px solid #2196f3;
  color: #64b5f6;
}
.badge-neutral {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #aaa;
}

.entry-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
}

.entry-desc {
  color: #bbb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.entry-net {
  font-weight: 800;
  font-size: 0.82rem;
}
.net-win { color: #00e676; }
.net-loss { color: #ff3366; }
.net-neutral { color: #aaa; }

.history-panel-footer {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-counts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #aaa;
}

.history-count-badge {
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.count-wins { background: rgba(0, 230, 118, 0.15); color: #00e676; }
.count-losses { background: rgba(255, 51, 102, 0.15); color: #ff3366; }
.count-pushes { background: rgba(212, 175, 55, 0.15); color: #ffd700; }

.history-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.history-total-label {
  font-family: var(--font-serif, "Cinzel", Georgia, serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #d4af37;
}

.history-total-value {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.total-win { color: #00e676; text-shadow: 0 0 10px rgba(0, 230, 118, 0.4); }
.total-loss { color: #ff3366; text-shadow: 0 0 10px rgba(255, 51, 102, 0.4); }
.total-neutral { color: #ffd700; }

@media (max-width: 1100px) {
  .craps-main-layout {
    flex-direction: column;
    align-items: center;
  }
  .craps-tub-frame {
    width: 100%;
    max-width: 940px;
  }
  .craps-history-panel {
    width: 100%;
    max-width: 940px;
  }
  .history-panel-body {
    max-height: 200px;
  }
}

/* Rubber Pyramid Dice Bumper Wall */
.craps-pyramid-wall {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.craps-pyramid-wall.top-wall {
  top: 0;
  left: 20px;
  right: 20px;
  height: 10px;
  background: repeating-linear-gradient(45deg, #184d2a 0, #184d2a 5px, #0e2d19 5px, #0e2d19 10px);
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.7);
}

.craps-pyramid-wall.left-wall {
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 10px;
  background: repeating-linear-gradient(-45deg, #184d2a 0, #184d2a 5px, #0e2d19 5px, #0e2d19 10px);
  box-shadow: inset -2px 0 5px rgba(0, 0, 0, 0.7);
}

/* Felt Stage containing the SVG & 3D Dice Layer */
.craps-felt-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 400;
  background: #009933;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.6);
  user-select: none;
}

/* Table SVG */
.craps-table-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Interactive SVG Hit-Zones */
.craps-zone {
  fill: rgba(0, 0, 0, 0.001);
  stroke: transparent;
  stroke-width: 2.5;
  cursor: pointer;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.craps-zone:hover {
  fill: rgba(255, 215, 0, 0.22);
  stroke: #ffd700;
  stroke-dasharray: 6 3;
  filter: drop-shadow(0 0 6px #ffd700);
}

.craps-zone.active-bet {
  fill: rgba(255, 215, 0, 0.12);
  stroke: rgba(255, 215, 0, 0.75);
}

.craps-zone.winner-flash {
  animation: crapsWinFlash 0.6s infinite alternate;
}

@keyframes crapsWinFlash {
  0% { fill: rgba(255, 215, 0, 0.2); stroke: #ffd700; }
  100% { fill: rgba(255, 51, 102, 0.45); stroke: #ff3366; filter: drop-shadow(0 0 12px #ffd700); }
}

/* Chip Badge in SVG */
.craps-chip-group {
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.75));
  animation: chipDropIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes chipDropIn {
  0% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Animated Point Puck in SVG */
.craps-svg-puck {
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85));
}

/* ==========================================================================
   BACCARAT SPECIFIC
   ========================================================================= */

.baccarat-cards-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.bac-side {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 1rem;
}

.bac-divider {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-glow);
}

.baccarat-betting-spots {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.bac-spot {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--ease);
}

.bac-spot:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-3px);
}

.bac-spot.active-bet {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.spot-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  display: block;
}

.spot-payout {
  font-size: 0.75rem;
  color: var(--gold-glow);
  font-weight: 700;
}

/* ==========================================================================
   WHEEL OF FORTUNE SPECIFIC
   ========================================================================== */

.wheel-stage-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.wheel-flapper-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #ffd700;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
  z-index: 5;
  transition: transform 0.05s ease;
}

.wheel-flapper-pointer.vibrating {
  transform: translateX(-50%) rotate(18deg);
}

.fortune-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  pointer-events: none;
}

.wheel-betting-board {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.wheel-bet-cell {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.wheel-bet-cell:hover {
  background: rgba(212, 175, 55, 0.15);
}

.wheel-bet-cell.active-bet {
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.4);
}

.cell-jackpot {
  border-color: #ffd700;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(139, 17, 34, 0.3));
}

.w-mult-label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.w-mult-payout {
  font-size: 0.68rem;
  color: var(--gold-glow);
}

/* ==========================================================================
   MODALS & POPUPS
   ========================================================================== */

.casino-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.casino-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.casino-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.casino-modal-content {
  background: linear-gradient(145deg, #131c28, #090e15);
  border: 2px solid var(--gold-primary);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.25);
  max-width: 650px;
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  background: #0d1520;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-glow);
  font-weight: 800;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.btn-modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  line-height: 1.6;
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 1rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
}

/* VIP Vault Add Credits Modal Styles */
.modal-vault-content {
  max-width: 600px;
}

.vault-current-balance-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(13, 21, 32, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(212, 175, 55, 0.1);
}

.vault-balance-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.vault-balance-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  margin-bottom: 0.3rem;
}

.vault-subtext {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.vault-section-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 0.05em;
  margin: 1.25rem 0 0.75rem;
  font-family: var(--font-sans);
}

.credit-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 540px) {
  .credit-packages-grid {
    grid-template-columns: 1fr;
  }
}

.credit-pkg-card {
  background: rgba(14, 21, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.credit-pkg-card:hover {
  background: rgba(26, 38, 56, 0.95);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(212, 175, 55, 0.3);
}

.credit-pkg-card.featured {
  border-color: rgba(46, 204, 113, 0.6);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(14, 21, 31, 0.9));
}

.credit-pkg-card.featured:hover {
  border-color: #2ecc71;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(46, 204, 113, 0.4);
}

.credit-pkg-card.legend {
  border-color: rgba(255, 215, 0, 0.7);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(14, 21, 31, 0.9));
}

.credit-pkg-card.legend:hover {
  border-color: #ffd700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 215, 0, 0.5);
}

.pkg-coins {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
}

.pkg-name {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

.pkg-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-glow);
  margin-top: 0.2rem;
}

.credit-pkg-card.featured .pkg-tag {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.credit-pkg-card.legend .pkg-tag {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.custom-credit-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.input-with-symbol {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-with-symbol:focus-within {
  border-color: #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

.input-symbol {
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.input-unit {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-left: 0.5rem;
}

.input-with-symbol input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  outline: none;
}

.vault-footer-actions {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Toast */
.casino-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: linear-gradient(135deg, #1b7a42, #0d3b24);
  color: #fff;
  border: 1px solid #2ecc71;
  border-radius: 99px;
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(46, 204, 113, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease);
  z-index: 200;
}

.casino-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Burst Coins Animation */
.burst-coin {
  position: fixed;
  font-size: 1.6rem;
  pointer-events: none;
  z-index: 300;
  animation: coinFly 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes coinFly {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(1.4) rotate(360deg); opacity: 0; }
}

/* Gold Sparkle on felt */
.gold-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 10px #ffd700;
  pointer-events: none;
  animation: sparkBurst 1s ease-out forwards;
}

@keyframes sparkBurst {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */

@media (max-width: 900px) {
  .casino-header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .casino-brand-group {
    justify-content: space-between;
  }
  .casino-hud-cluster {
    justify-content: center;
  }
  .roulette-top-bar {
    flex-direction: column;
  }
  .wheel-stage {
    width: 320px;
    height: 320px;
  }
  #roulette-canvas {
    width: 320px;
    height: 320px;
  }
  .wheel-stage-wrapper {
    width: 320px;
    height: 320px;
  }
  #fortune-canvas {
    width: 320px;
    height: 320px;
  }
  .slots-paytable-glass .paytable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .casino-main-content {
    padding: 1.5rem 0.75rem 4rem;
  }
  .casino-game-table {
    border-width: 8px;
    padding: 1rem 0.6rem;
    margin: 0.5rem;
  }
  .playing-card {
    width: 65px;
    height: 95px;
  }
  .card-rank { font-size: 0.85rem; }
  .card-center { font-size: 1.4rem; }
  .slot-reel {
    width: 85px;
    height: 180px;
  }
  .reel-cell {
    height: 60px;
    font-size: 2.2rem;
  }
}
