/* === Count's Casino — Game-Specific Styles === */

/* Question display */
.question-zone {
  text-align: center;
  padding: 8px 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.question-text {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3px;
  line-height: 1.4;
  max-width: 380px;
}
.question-tier {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Probability display */
.prob-zone {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 4px 0 8px;
  flex-wrap: wrap;
}
.prob-box {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  text-align: center;
}
.prob-label {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}
.prob-val {
  font-size: 16px;
  font-weight: 700;
}
.prob-val.house {
  color: var(--text-dim);
}
.prob-val.true-prob {
  color: var(--cyan, #3dd4d4);
}
.prob-count {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Odds selector */
.odds-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.odds-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}
.odds-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.15s;
}
.odds-btn:hover {
  border-color: var(--border-glow);
}
.odds-btn.active {
  background: rgba(240, 192, 64, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 8px rgba(240, 192, 64, 0.2);
}

/* YES / NO buttons */
.yes-btn {
  background: rgba(61, 212, 122, 0.1) !important;
  border-color: var(--win) !important;
  color: var(--win) !important;
}
.yes-btn:hover {
  background: rgba(61, 212, 122, 0.2) !important;
}
.no-btn {
  background: rgba(224, 64, 96, 0.1) !important;
  border-color: var(--lose) !important;
  color: var(--lose) !important;
}
.no-btn:hover {
  background: rgba(224, 64, 96, 0.2) !important;
}

/* Action row spacing */
.action-row {
  margin-top: 6px;
}

/* Extra zone for peeked/burned cards */
.extra-zone {
  text-align: center;
  padding: 2px 0;
  min-height: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.extra-cards {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}
.extra-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* Peek/burn badge counters */
.action-count {
  font-size: 10px;
  opacity: 0.7;
}

/* Hidden card reveal animation */
@keyframes card-reveal {
  0% {
    transform: scale(0.8) rotateY(90deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) rotateY(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
}
.card.revealing {
  animation: card-reveal 0.5s ease-out;
}

/* Result card highlight */
.card.result-yes {
  box-shadow:
    0 0 12px var(--win),
    0 0 24px rgba(61, 212, 122, 0.3) !important;
}
.card.result-no {
  box-shadow:
    0 0 12px var(--lose),
    0 0 24px rgba(224, 64, 96, 0.3) !important;
}

/* History row (BET phase) */
.history-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.4s ease-out both;
}
.hist-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  opacity: 0.85;
}

/* Exact count modal */
.exact-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.exact-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  min-width: 48px;
  text-align: center;
}

/* Burned card slot */
.card.burned {
  opacity: 0.35;
  filter: grayscale(0.8);
  box-shadow: none !important;
}

/* Private card glow */
.player-zone .hand .card {
  box-shadow:
    0 0 0 1px rgba(61, 212, 255, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.25);
}
