/**
 * Playing Cards and Casino Game Styles for BanksBet
 */

/* Card Container */
.card-game-area {
  min-height: 400px;
  background: linear-gradient(135deg, #0a3d0a 0%, #1a5c1a 50%, #0a3d0a 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    inset 0 0 50px rgba(0, 0, 0, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.card-game-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.02) 20px
  );
  pointer-events: none;
}

/* Playing Card Base */
.playing-card {
  width: 80px;
  height: 112px;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  border-radius: 8px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 -15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardDeal 0.4s ease-out;
}

.playing-card:first-child {
  margin-left: 0;
}

.playing-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

@keyframes cardDeal {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateY(0);
  }
}

/* CSS-rendered card */
.css-card {
  font-family: 'Georgia', serif;
  font-weight: bold;
}

.card-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.card-corner.top-left {
  top: 5px;
  left: 5px;
}

.card-corner.bottom-right {
  bottom: 5px;
  right: 5px;
  transform: rotate(180deg);
}

.card-value {
  font-size: 14px;
  font-weight: bold;
}

.card-suit {
  font-size: 12px;
}

.card-center {
  font-size: 36px;
  opacity: 0.8;
}

/* Card back */
.card-back {
  background: linear-gradient(135deg, #8B0000 0%, #4a0000 100%);
  color: #ffd700;
}

.card-back .card-pattern {
  font-size: 32px;
  opacity: 0.6;
}

/* Card image from API */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* Hand container */
.hand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 140px;
}

/* Dealer area */
.dealer-area {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
}

.dealer-area .hand-label {
  color: #ffd700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Player area */
.player-area {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 15px;
  margin-top: 20px;
}

.player-area .hand-label {
  color: #90EE90;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Hand value badge */
.hand-value {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.hand-value.blackjack {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  animation: pulse 1s infinite;
}

.hand-value.bust {
  background: #dc3545;
  animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Action buttons */
.game-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 15;
}

.game-btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 100px;
  position: relative;
  z-index: 20;
}

.game-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.game-btn-hit {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.game-btn-hit:hover:not(:disabled) {
  background: linear-gradient(135deg, #34ce57, #28a745);
  transform: translateY(-2px);
}

.game-btn-stand {
  background: linear-gradient(135deg, #dc3545, #a71d2a);
  color: white;
}

.game-btn-stand:hover:not(:disabled) {
  background: linear-gradient(135deg, #e4606d, #dc3545);
  transform: translateY(-2px);
}

.game-btn-double {
  background: linear-gradient(135deg, #ffc107, #d39e00);
  color: #000;
}

.game-btn-double:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffcd39, #ffc107);
  transform: translateY(-2px);
}

.game-btn-deal {
  background: linear-gradient(135deg, #17a2b8, #117a8b);
  color: white;
}

.game-btn-deal:hover:not(:disabled) {
  background: linear-gradient(135deg, #1fc8e3, #17a2b8);
  transform: translateY(-2px);
}

/* High-Low specific styles */
.highlow-card-display {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.highlow-card-display .playing-card {
  width: 120px;
  height: 168px;
  margin: 0;
}

.highlow-card-display .playing-card .card-value {
  font-size: 22px;
}

.highlow-card-display .playing-card .card-suit {
  font-size: 18px;
}

.highlow-card-display .playing-card .card-center {
  font-size: 54px;
}

.guess-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.guess-btn {
  padding: 20px 50px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guess-btn-higher {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.guess-btn-higher:hover:not(:disabled) {
  background: linear-gradient(135deg, #34ce57, #28a745);
  transform: translateY(-5px) scale(1.05);
}

.guess-btn-lower {
  background: linear-gradient(135deg, #dc3545, #a71d2a);
  color: white;
}

.guess-btn-lower:hover:not(:disabled) {
  background: linear-gradient(135deg, #e4606d, #dc3545);
  transform: translateY(-5px) scale(1.05);
}

.guess-btn-icon {
  font-size: 36px;
  margin-bottom: 5px;
}

/* Streak and multiplier display */
.streak-display {
  background: linear-gradient(135deg, #2c3e50, #1a252f);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.streak-item {
  text-align: center;
}

.streak-label {
  color: #95a5a6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.streak-value {
  font-size: 28px;
  font-weight: bold;
  color: #ffd700;
}

.multiplier-value {
  color: #2ecc71;
}

.potential-win {
  color: #e74c3c;
}

/* Cash out button */
.cashout-btn {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: glow 2s ease-in-out infinite;
}

.cashout-btn:hover:not(:disabled) {
  transform: scale(1.05);
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
  50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
}

/* Result overlay */
.game-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  z-index: 100;
  animation: fadeIn 0.3s ease-out;
}

.game-result-overlay.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.result-text {
  font-size: 48px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.result-win {
  color: #2ecc71;
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.result-lose {
  color: #e74c3c;
  text-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.result-push {
  color: #f39c12;
  text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.result-blackjack {
  color: #ffd700;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  animation: pulse 0.5s ease-in-out infinite;
}

.result-amount {
  font-size: 32px;
  color: white;
  margin-bottom: 30px;
}

/* Bet input area */
.bet-input-area {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.bet-input {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 18px;
  color: white;
  width: 150px;
  text-align: center;
}

.bet-input:focus {
  outline: none;
  border-color: #ffd700;
}

.bet-preset-btns {
  display: flex;
  gap: 8px;
}

.bet-preset {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 15px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bet-preset:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* War card game */
.war-cards-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 40px;
}

.war-card-slot {
  text-align: center;
}

.war-card-label {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.vs-badge {
  background: linear-gradient(135deg, #8B0000, #4a0000);
  color: #ffd700;
  padding: 15px 25px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
}

/* Card flip animation */
.card-flip {
  animation: flipCard 0.6s ease-in-out;
}

@keyframes flipCard {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .playing-card {
    width: 60px;
    height: 84px;
    margin: 0 -10px;
  }

  .card-value {
    font-size: 11px;
  }

  .card-suit {
    font-size: 9px;
  }

  .card-center {
    font-size: 28px;
  }

  .guess-btn {
    padding: 15px 30px;
    font-size: 18px;
  }

  .guess-btn-icon {
    font-size: 28px;
  }

  .highlow-card-display .playing-card {
    width: 90px;
    height: 126px;
  }

  .game-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .result-text {
    font-size: 32px;
  }

  .result-amount {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .card-game-area {
    padding: 1rem;
  }

  .playing-card {
    width: 50px;
    height: 70px;
    margin: 0 -8px;
  }

  .guess-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .guess-btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .bet-input-area {
    flex-direction: column;
  }
}

/* ==================== POKER STYLES ==================== */

.poker-table {
  background: linear-gradient(135deg, #0a4d0a 0%, #1a6c1a 50%, #0a4d0a 100%);
}

.poker-tier-select {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.tier-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px 30px;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.tier-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.tier-card.tier-low {
  border-color: rgba(46, 204, 113, 0.3);
}
.tier-card.tier-low:hover {
  border-color: rgba(46, 204, 113, 0.8);
  box-shadow: 0 15px 40px rgba(46, 204, 113, 0.2);
}

.tier-card.tier-medium {
  border-color: rgba(241, 196, 15, 0.3);
}
.tier-card.tier-medium:hover {
  border-color: rgba(241, 196, 15, 0.8);
  box-shadow: 0 15px 40px rgba(241, 196, 15, 0.2);
}

.tier-card.tier-high {
  border-color: rgba(231, 76, 60, 0.3);
}
.tier-card.tier-high:hover {
  border-color: rgba(231, 76, 60, 0.8);
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.2);
}

.tier-name {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.tier-buyin {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}

.tier-low .tier-buyin { color: #2ecc71; }
.tier-medium .tier-buyin { color: #f1c40f; }
.tier-high .tier-buyin { color: #e74c3c; }

.tier-blinds {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

.tier-play-btn {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tier-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(155, 89, 182, 0.5);
}

.tier-low .tier-play-btn {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}
.tier-low .tier-play-btn:hover {
  box-shadow: 0 5px 20px rgba(46, 204, 113, 0.5);
}

.tier-medium .tier-play-btn {
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
}
.tier-medium .tier-play-btn:hover {
  box-shadow: 0 5px 20px rgba(241, 196, 15, 0.5);
}

.tier-high .tier-play-btn {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}
.tier-high .tier-play-btn:hover {
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.5);
}

/* Poker Table Layout */
.poker-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.poker-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
}

.poker-pot {
  text-align: center;
}

.poker-pot-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.poker-pot-value {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
}

.poker-chips {
  text-align: center;
}

.chips-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.chips-value {
  font-size: 18px;
  font-weight: bold;
}

.chips-player { color: #2ecc71; }
.chips-ai { color: #e74c3c; }

/* Community Cards */
.community-cards-area {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 20px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-cards {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.community-cards .playing-card {
  margin: 0;
}

.phase-label {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ffd700;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Player Hand Area */
.poker-player-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.poker-hand {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 15px 25px;
  text-align: center;
}

.poker-hand-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.poker-hand .hand-container {
  min-height: 100px;
  padding: 10px;
}

.poker-hand.ai-hand .playing-card {
  filter: brightness(0.8);
}

/* Poker Actions */
.poker-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.poker-btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
}

.poker-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.poker-btn-fold {
  background: linear-gradient(135deg, #7f8c8d, #5d6d7e);
  color: white;
}

.poker-btn-check {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.poker-btn-call {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
}

.poker-btn-raise {
  background: linear-gradient(135deg, #f39c12, #d68910);
  color: white;
}

.poker-btn-allin {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  animation: pulse 2s infinite;
}

.poker-bet-amount {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poker-bet-amount input {
  width: 120px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
  font-size: 16px;
}

.to-call-badge {
  background: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

/* ==================== ROULETTE STYLES ==================== */

.roulette-table {
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3c 50%, #1a472a 100%);
}

.roulette-wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.roulette-wheel {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #2ecc71 0deg 9.73deg,
    #e74c3c 9.73deg 19.46deg,
    #1a1a1a 19.46deg 29.19deg,
    #e74c3c 29.19deg 38.92deg,
    #1a1a1a 38.92deg 48.65deg,
    #e74c3c 48.65deg 58.38deg,
    #1a1a1a 58.38deg 68.11deg,
    #e74c3c 68.11deg 77.84deg,
    #1a1a1a 77.84deg 87.57deg,
    #e74c3c 87.57deg 97.30deg,
    #1a1a1a 97.30deg 107.03deg,
    #e74c3c 107.03deg 116.76deg,
    #1a1a1a 116.76deg 126.49deg,
    #e74c3c 126.49deg 136.22deg,
    #1a1a1a 136.22deg 145.95deg,
    #e74c3c 145.95deg 155.68deg,
    #1a1a1a 155.68deg 165.41deg,
    #e74c3c 165.41deg 175.14deg,
    #1a1a1a 175.14deg 184.87deg,
    #e74c3c 184.87deg 194.60deg,
    #1a1a1a 194.60deg 204.33deg,
    #e74c3c 204.33deg 214.06deg,
    #1a1a1a 214.06deg 223.79deg,
    #e74c3c 223.79deg 233.52deg,
    #1a1a1a 233.52deg 243.25deg,
    #e74c3c 243.25deg 252.98deg,
    #1a1a1a 252.98deg 262.71deg,
    #e74c3c 262.71deg 272.44deg,
    #1a1a1a 272.44deg 282.17deg,
    #e74c3c 282.17deg 291.90deg,
    #1a1a1a 291.90deg 301.63deg,
    #e74c3c 301.63deg 311.36deg,
    #1a1a1a 311.36deg 321.09deg,
    #e74c3c 321.09deg 330.82deg,
    #1a1a1a 330.82deg 340.55deg,
    #e74c3c 340.55deg 350.28deg,
    #1a1a1a 350.28deg 360deg
  );
  border: 8px solid #8B4513;
  box-shadow: 
    0 0 0 4px #ffd700,
    0 0 0 8px #8B4513,
    inset 0 0 30px rgba(0, 0, 0, 0.5),
    0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.roulette-wheel.spinning {
  animation: spinWheel 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

@keyframes spinWheel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(calc(360deg * 8 + var(--final-angle, 0deg))); }
}

.roulette-wheel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.roulette-pointer {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 30px solid #ffd700;
  position: absolute;
  top: -20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.roulette-result {
  font-size: 48px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 15px;
  min-width: 120px;
  text-align: center;
}

.roulette-result.red { background: #e74c3c; color: white; }
.roulette-result.black { background: #1a1a1a; color: white; }
.roulette-result.green { background: #2ecc71; color: white; }

/* Betting Board */
.roulette-board {
  display: grid;
  gap: 3px;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.roulette-numbers {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 2px;
}

.roulette-number {
  padding: 12px 8px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 14px;
  border: 2px solid transparent;
}

.roulette-number:hover {
  transform: scale(1.1);
  z-index: 10;
}

.roulette-number.selected {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.roulette-number.zero {
  background: #2ecc71;
  color: white;
  grid-row: span 3;
}

.roulette-number.red {
  background: #e74c3c;
  color: white;
}

.roulette-number.black {
  background: #1a1a1a;
  color: white;
}

/* Outside Bets */
.roulette-outside-bets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.outside-bet {
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
  border: 2px solid transparent;
}

.outside-bet:hover {
  transform: translateY(-2px);
}

.outside-bet.selected {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.outside-bet.bet-red { background: #e74c3c; color: white; }
.outside-bet.bet-black { background: #1a1a1a; color: white; }
.outside-bet.bet-green { background: #2ecc71; color: white; }
.outside-bet.bet-even, .outside-bet.bet-odd { background: #3498db; color: white; }
.outside-bet.bet-low, .outside-bet.bet-high { background: #9b59b6; color: white; }
.outside-bet.bet-dozen { background: #e67e22; color: white; }
.outside-bet.bet-column { background: #1abc9c; color: white; }

/* Chip Selector */
.chip-selector {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}

.chip {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  border: 3px dashed rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.chip:hover {
  transform: scale(1.1);
}

.chip.selected {
  border-style: solid;
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.chip-1k { background: #3498db; color: white; }
.chip-5k { background: #e74c3c; color: white; }
.chip-10k { background: #2ecc71; color: white; }
.chip-25k { background: #9b59b6; color: white; }
.chip-50k { background: #f39c12; color: white; }
.chip-100k { background: #1a1a1a; color: #ffd700; }

/* Current Bets Display */
.current-bets {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
}

.current-bets-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.bet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bet-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: white;
}

.total-bet {
  font-size: 18px;
  font-weight: bold;
  color: #ffd700;
  margin-top: 10px;
}

/* Roulette Actions */
.roulette-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.roulette-btn {
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.roulette-btn-spin {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
}

.roulette-btn-spin:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.roulette-btn-clear {
  background: linear-gradient(135deg, #7f8c8d, #5d6d7e);
  color: white;
}

.roulette-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .poker-tier-select {
    flex-direction: column;
    align-items: center;
  }

  .tier-card {
    min-width: 180px;
  }

  .poker-info-bar {
    flex-direction: column;
    gap: 15px;
  }

  .poker-player-area {
    flex-direction: column;
  }

  .roulette-wheel {
    width: 200px;
    height: 200px;
  }

  .roulette-numbers {
    grid-template-columns: repeat(7, 1fr);
  }

  .chip {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
}
