/* Game pages */
.game-banner {
  background: rgba(232, 168, 74, 0.08);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text);
}
.game-banner strong { color: var(--accent); }
.game-banner a { color: var(--accent); text-decoration: underline; }

.game-container {
  max-width: 900px;
  margin: 0 auto;
}
.game-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .game-layout { grid-template-columns: 1fr; }
}
.game-stats {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.game-stats h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--accent);
}
.game-stats .stat-row {
  text-align: center;
  margin-bottom: 1rem;
}
.game-stats .stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.game-stats .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.game-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.game-area h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.game-rules {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.game-rules h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--accent);
}
.game-rules p, .game-rules ul {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.game-rules ul { margin: 0; padding-left: 1.25rem; margin-top: 0.5rem; }

.bet-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.bet-btn {
  min-width: 52px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}
.bet-btn:hover, .bet-btn.active {
  border-color: var(--accent);
  background: rgba(232, 168, 74, 0.2);
  color: var(--accent);
}
.predict-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}
.predict-btn {
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.2s;
}
.predict-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.predict-btn:not(:disabled):hover {
  transform: translateY(-2px);
}
.dice-result, .predict-result {
  font-size: 3rem;
  margin: 1rem 0;
  min-height: 4rem;
}
.dice-result i, .predict-result i {
  color: var(--accent);
}
.game-result-box {
  margin-top: 1rem;
  display: none;
}
.game-result-box.visible {
  display: block;
}
.game-result-box h4 { color: var(--accent); margin-bottom: 0.5rem; }
.game-result-box p { color: var(--text-muted); margin-bottom: 1rem; }

/* Slots */
.slots-reel {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  font-size: 3rem;
  min-height: 80px;
  align-items: center;
}
.slots-reel span {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
}
.slots-reel span i {
  font-size: 2rem;
  color: var(--accent);
}
.spin-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #c9862e);
  color: #0f1419;
  transition: transform 0.15s ease;
}
.spin-btn:hover:not(:disabled) { transform: translateY(-2px); }
.spin-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Card game */
.card-hand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
  min-height: 100px;
}
.card-slot {
  width: 72px;
  height: 100px;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.card-slot.red { color: #e85a5a; }
.card-slot.red i { color: #e85a5a; }
.card-slot.black { color: var(--text); }
.card-slot.black i { color: var(--text); }
.card-slot i { font-size: 1.25rem; }
.card-slot .card-suit-char { font-size: 1.25rem; font-weight: bold; }
.card-slot.red .card-suit-char { color: #e85a5a; }
.card-slot.black .card-suit-char { color: var(--text); }
.card-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.game-notice {
  background: rgba(232, 168, 74, 0.1);
  border: 1px solid rgba(232, 168, 74, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}
.game-notice h4 { color: var(--accent); margin-bottom: 0.5rem; }
.game-notice p { font-size: 0.9rem; color: var(--text-muted); }
