/* ============================================
   PLINKO
   ============================================ */

.plinko-wrap { max-width: 360px !important; }

.plinko-machine {
  background: linear-gradient(160deg, #001a1f 0%, #0a0f0d 60%, #001820 100%);
  border: 3px solid #06b6d4;
  border-radius: 28px;
  padding: 0 1.5rem 2rem;
  box-shadow:
    0 0 0 6px #001a1f,
    0 0 0 8px rgba(6,182,212,0.3),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 0 60px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* ── Topo ── */
.plinko-top {
  text-align: center;
  padding: 1.2rem 0 0.8rem;
  border-bottom: 1px solid rgba(6,182,212,0.15);
  margin: 0 -1.5rem 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.plinko-top-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: rgba(6,182,212,0.4);
  margin-top: 0.2rem;
}

/* ── Displays ── */
.plinko-displays {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.plinko-display-box {
  flex: 1;
  background: #000;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 0.5rem 0.4rem;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}
.plinko-display-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: #444;
  text-transform: uppercase;
}
.plinko-display-val {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #06b6d4;
  line-height: 1;
  text-shadow: 0 0 12px rgba(6,182,212,0.4);
}
.plinko-display-bet .plinko-display-val {
  color: #f5c518;
  text-shadow: 0 0 12px rgba(245,197,24,0.4);
}

/* ── Canvas ── */
.plinko-canvas-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(6,182,212,0.1);
  border-radius: 12px;
  padding: 0.4rem;
}
#plinkoCanvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Apostas ── */
.plinko-bet-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(6,182,212,0.4);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5rem;
}
.plinko-bet-grid {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.plinko-bet-btn {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 10px;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
}
.plinko-bet-btn:hover {
  border-color: rgba(6,182,212,0.5);
  background: rgba(6,182,212,0.06);
}
.plinko-bet-btn.active {
  border-color: #06b6d4;
  background: rgba(6,182,212,0.12);
  box-shadow: 0 0 10px rgba(6,182,212,0.2);
}
.plinko-bet-val {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #f0f0f8;
  line-height: 1;
}
.plinko-bet-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem;
  color: #06b6d4;
  letter-spacing: 0.04em;
}
.plinko-bet-info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: #555;
  text-align: center;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Mensagem ── */
.plinko-msg {
  min-height: 1.6rem;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
  margin-bottom: 0.5rem;
}
.plinko-msg-visible { opacity: 1; }
.plinko-msg-win     { color: #06b6d4; }
.plinko-msg-big-win { color: #22c55e; }
.plinko-msg-jackpot { color: #f5c518; animation: pulse 0.6s ease-in-out infinite alternate; }
.plinko-msg-lose    { color: #555; }

/* ── Botão soltar ── */
.plinko-drop-btn {
  width: 100%;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(6,182,212,0.4);
}
.plinko-drop-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,182,212,0.55);
}
.plinko-drop-btn:active:not(:disabled) { transform: translateY(0); }
.plinko-drop-btn:disabled { opacity: 0.4; cursor: not-allowed; }
