/* ── Lottery-specific styles only — Bulma handles everything else ── */

/* Game accent colors */
:root {
  --pb-red:  #cc2936;
  --mm-gold: #e8a000;
  --accent:  var(--pb-red);
}
body.mm-active { --accent: var(--mm-gold); }

/* ── Lottery balls ─────────────────────────────────────────────── */
.balls-display {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.ball {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  user-select: none;
  flex-shrink: 0;
}

.ball-white {
  background: #f0f0f0;
  color: #222;
  border: 2px solid #d0d0d0;
}

.ball-special {
  background: var(--accent);
  color: #fff;
  border: 2px solid transparent;
  transition: background 0.2s ease;
}

.ball.is-placeholder { opacity: 0.35; }

.ball-sep {
  color: #aaa;
  font-size: 1rem;
  padding: 0 .2rem;
}

/* ── Colored dots in tabs ──────────────────────────────────────── */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: .4rem;
  vertical-align: middle;
}
.pb-dot { background: var(--pb-red); }
.mm-dot { background: var(--mm-gold); }

/* ── Generate button accent color ──────────────────────────────── */
#generateBtn {
  background-color: var(--accent);
  border-color: transparent;
  color: #fff;
  transition: background-color 0.2s ease, opacity 0.15s ease;
}
#generateBtn:hover { opacity: 0.88; color: #fff; }

/* ── Active tab underline accent ───────────────────────────────── */
.tabs.is-boxed li.is-active a {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* ── EV table: best-row highlight ──────────────────────────────── */
tr.is-best td { background-color: #fffbeb; font-weight: 600; }
tr.is-best td:first-child::before { content: "★ "; color: var(--accent); }

/* Negative/positive EV coloring */
.has-text-danger-dark { color: #c0392b !important; }
.has-text-success-dark { color: #27ae60 !important; }

/* ── Ball pop animation ─────────────────────────────────────────── */
@keyframes pop {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}
.ball.popping { animation: pop 0.28s ease forwards; }

/* ── Disclaimer footer ──────────────────────────────────────────── */
.disclaimer {
  border-top: 1px solid #dbdbdb;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}
.disclaimer a { color: #888; text-decoration: underline; }
.disclaimer a:hover { color: #555; }

