.vs-game {
  background: linear-gradient(145deg, #064e3b 0%, #09090f 50%, #1a1a28 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 2rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.vs-game::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.vs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  position: relative;
}

.vs-credits-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b8ba3;
}

.vs-credits-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
}

.vs-reels {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
}

.vs-reel {
  width: 100px;
  height: 120px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #10b981;
  transition: all 0.3s ease;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
}

.vs-reel-spinning {
  animation: vs-spin 0.15s linear infinite;
}

.vs-reel-glow {
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6), inset 0 0 20px rgba(16, 185, 129, 0.2);
  transform: scale(1.05);
}

@keyframes vs-spin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.vs-spin-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #041510;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'DM Sans', sans-serif;
  position: relative;
}

.vs-spin-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.vs-spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vs-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #8b8ba3;
  min-height: 1.4em;
}

.vs-message-success {
  color: #10b981;
}

.vs-message-warn {
  color: #f59e0b;
}

.ot-game {
  background: linear-gradient(160deg, #1a1a28 0%, #09090f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.ot-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.ot-table-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8b8ba3;
  margin-bottom: 0.75rem;
}

.ot-dealer-area,
.ot-player-area {
  margin-bottom: 1.5rem;
}

.ot-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 90px;
}

.ot-card {
  width: 64px;
  height: 90px;
  background: #f4f4f8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.ot-card-red {
  color: #dc2626;
}

.ot-card-black {
  color: #1a1a28;
}

.ot-card-hidden {
  background: linear-gradient(135deg, #312e81, #6366f1);
  color: #fff;
}

.ot-card-val {
  font-size: 1.1rem;
}

.ot-card-suit {
  font-size: 1.25rem;
}

.ot-score {
  font-size: 0.85rem;
  color: #8b8ba3;
  margin-top: 0.5rem;
}

.ot-score span {
  color: #10b981;
  font-weight: 600;
}

.ot-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ot-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s ease;
}

.ot-btn-deal {
  background: #10b981;
  color: #041510;
}

.ot-btn-hit {
  background: #6366f1;
  color: #fff;
}

.ot-btn-stand {
  background: transparent;
  color: #f4f4f8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ot-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.ot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ot-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #8b8ba3;
  min-height: 1.4em;
}

.ot-message-success {
  color: #10b981;
}

.ot-message-warn {
  color: #f59e0b;
}

.cw-game {
  background: linear-gradient(160deg, #1a0a14 0%, #09090f 50%, #1a1a28 100%);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(244, 63, 94, 0.1);
}

.cw-wheel-wrap {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto 2rem;
}

.cw-wheel-outer-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cw-wheel-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.cw-ring-outer {
  fill: none;
  stroke: #fbbf24;
  stroke-width: 6;
}

.cw-ring-inner {
  fill: none;
  stroke: rgba(251, 191, 36, 0.35);
  stroke-width: 2;
}

#cw-wheel-rotate {
  transform-origin: 200px 200px;
  transform-box: view-box;
}

.cw-slice {
  stroke: rgba(251, 191, 36, 0.15);
  stroke-width: 0.5;
}

.cw-slice-red {
  fill: #c41e3a;
}

.cw-slice-black {
  fill: #1c1c28;
}

.cw-slice-green {
  fill: #047857;
}

.cw-slice-line {
  stroke: rgba(251, 191, 36, 0.45);
  stroke-width: 1;
}

.cw-slice-num {
  fill: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.cw-hub {
  filter: url(#cw-glow);
}

.cw-hub-ring {
  fill: none;
  stroke: #fbbf24;
  stroke-width: 3;
}

.cw-hub-text {
  fill: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  pointer-events: none;
}

.cw-pointer {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 28px;
  z-index: 10;
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.cw-pointer::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #fef3c7;
  border-radius: 50%;
}

.cw-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cw-bet-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: #f4f4f8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
}

.cw-bet-btn-red {
  border-color: rgba(220, 38, 38, 0.4);
}

.cw-bet-btn-black {
  border-color: rgba(255, 255, 255, 0.2);
}

.cw-bet-btn-green {
  border-color: rgba(5, 150, 105, 0.4);
}

.cw-bet-active {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.3);
}

.cw-spin-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s ease;
}

.cw-spin-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.4);
}

.cw-spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cw-result {
  text-align: center;
  margin: 1rem 0;
  min-height: 3rem;
}

.cw-result-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.cw-result-red {
  background: #dc2626;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.cw-result-black {
  background: #1a1a28;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cw-result-green {
  background: #059669;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.5);
}

.cw-message {
  text-align: center;
  font-size: 0.88rem;
  color: #8b8ba3;
  min-height: 1.4em;
}

.cw-message-success {
  color: #10b981;
}

.cw-message-warn {
  color: #f59e0b;
}

.cw-credits-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #8b8ba3;
}

.cw-credits-row strong {
  color: #f43f5e;
  font-size: 1.1rem;
}

@media (max-width: 575.98px) {
  .vs-reel {
    width: 80px;
    height: 100px;
    font-size: 2rem;
  }

  .cw-wheel-wrap {
    width: 280px;
    height: 280px;
  }

  .cw-slice-num {
    font-size: 9px;
  }
}
