/* games-web/styles.css — RummyGo maroon & gold theme (shared with rummy.css) */
:root {
  --card: #121714;
  --win: #5fe08c;
  --lose: #ff8080;
  --good: #5fe08c;
  --bad: #ff8080;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(120% 60% at 50% -8%, color-mix(in srgb, var(--brand) 85%, #000) 0%, var(--bg) 42%, var(--bg-2) 100%),
    radial-gradient(circle, rgba(255, 215, 120, .05) 1px, transparent 1.4px) 0 0 / 22px 22px;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Nunito Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

.logo {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 22px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.wallet { display: flex; align-items: center; gap: 12px; }
.coins {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--gold);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill, 999px);
  padding: 6px 12px;
}

.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-3, 16px);
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.center { text-align: center; }

.title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 4px;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }
.error { color: var(--lose); }

.dice {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 6px;
}
.die {
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  filter: drop-shadow(0 6px 16px rgba(231, 196, 108, 0.25));
}
.die.roll { opacity: 0.7; }

.sum {
  text-align: center;
  font-family: "Sora", sans-serif;
  margin-bottom: 14px;
  min-height: 20px;
}

.bets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.bet {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2, 12px);
  padding: 12px 6px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.05s;
}
.bet:active { transform: scale(0.97); }
.bet.active {
  border-color: var(--gold);
  background: rgba(231, 196, 108, 0.12);
  color: var(--gold-2);
}

.row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-2, 12px);
  padding: 10px 12px;
  color: var(--text);
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
}
.input:focus { outline: none; border-color: var(--gold); }

.btn {
  width: 100%;
  border: none;
  border-radius: var(--r-2, 12px);
  padding: 14px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.btn.primary {
  color: #1a1400;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.btn:disabled { opacity: 0.55; cursor: default; }

.outcome {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 14px;
  min-height: 22px;
}
.outcome.win { color: var(--win); }
.outcome.lose { color: var(--lose); }

.proof { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.proof summary { cursor: pointer; color: var(--gold); font-weight: 600; }
.verline { margin: 6px 0; font-size: 13px; }
.verline.good { color: var(--good); }
.verline.bad { color: var(--bad); }
.verbadge {
  display: inline-block;
  margin: 8px 0;
  padding: 4px 10px;
  border-radius: var(--r-1, 8px);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 12px;
}
.verbadge.good { color: #0c1f12; background: var(--good); }
.verbadge.bad { color: #240c0c; background: var(--bad); }
.mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-2, 12px);
  padding: 10px;
  overflow-x: auto;
  white-space: pre;
}
