/* ---------- CRASH ---------- */
.crash-view { display: flex; flex-direction: column; gap: 12px; }
.crash-canvas {
  position: relative;
  height: 220px; border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(0,229,255,0.06) 0%, transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
.crash-canvas .grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255,255,255,0.03) 24px 25px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,0.03) 24px 25px);
}
.crash-rocket {
  position: absolute; left: 10%; bottom: 10%;
  font-size: 34px;
  transform-origin: 50% 90%;
  transition: transform 0.1s linear, left 0.1s linear, bottom 0.1s linear;
  filter: drop-shadow(0 0 6px var(--neon-mag));
}
.crash-mult {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; font-weight: 800;
  color: var(--neon-gold);
  text-shadow: 0 0 14px rgba(255,212,71,0.6);
  letter-spacing: 1px;
}
.crash-mult.exploded { color: var(--danger); text-shadow: 0 0 14px var(--danger); }
.crash-mult.won { color: var(--neon-green); text-shadow: 0 0 14px var(--neon-green); }

.crash-controls { display: flex; gap: 8px; align-items: center; }
.crash-controls input {
  flex: 1;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 15px;
}
.crash-fake-players {
  max-height: 140px; overflow-y: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px 8px; font-size: 12px;
}
.crash-fake-players .row {
  display: flex; justify-content: space-between; padding: 3px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.crash-fake-players .row .win { color: var(--neon-green); }
.crash-fake-players .row .lose { color: var(--danger); }
.crash-hash { font-size: 10px; color: var(--muted); word-break: break-all; }

/* ---------- MINES ---------- */
.mines-view { display: flex; flex-direction: column; gap: 10px; }
.mines-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.mines-cell {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card) 0%, var(--card-2) 100%);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.mines-cell:disabled { cursor: not-allowed; }
.mines-cell.safe {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: inset 0 0 16px rgba(0,229,255,0.2);
}
.mines-cell.mine {
  color: var(--danger);
  border-color: var(--danger);
  box-shadow: inset 0 0 16px rgba(255,75,106,0.25);
  animation: shake 0.3s ease;
}
.mines-cell.hidden-mine {
  opacity: 0.6; color: var(--danger); border-color: rgba(255,75,106,0.4);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.mines-controls {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mines-controls .row { display: flex; flex-direction: column; }
.mines-controls label { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.mines-controls input {
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-size: 15px;
}
.mines-status {
  text-align: center;
  padding: 8px; border-radius: 10px;
  background: var(--card-2); border: 1px solid var(--border);
}
.mines-status .mult {
  font-size: 22px; font-weight: 800; color: var(--neon-gold);
  text-shadow: 0 0 8px rgba(255,212,71,0.5);
}

/* ---------- DICE / SLOT MODAL ---------- */
.dice-view { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.dice-view .emoji { font-size: 88px; filter: drop-shadow(0 0 12px var(--neon-cyan)); }
.dice-view h2 { margin: 0; }
.dice-payout-row {
  display: flex; justify-content: space-around; font-size: 12px; color: var(--muted);
  background: var(--card); border-radius: 10px; padding: 8px; border: 1px solid var(--border);
}
.dice-controls { display: flex; gap: 8px; }
.dice-controls input {
  flex: 1;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 15px;
}
.dice-result {
  padding: 12px; border-radius: 10px; margin-top: 10px;
  background: var(--card-2); border: 1px solid var(--border);
  font-size: 15px;
}
.dice-result.win { border-color: var(--neon-green); color: var(--neon-green); box-shadow: 0 0 12px rgba(38,255,143,0.25); }
.dice-result.lose { border-color: var(--danger); color: var(--danger); }
