/* ---------- RESET SUAVE ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% -10%, #0d1b24 0%, #0a1319 40%, #091017 100%);
  color: #e7f3f5;
}

/* ---------- LAYOUT BÁSICO ---------- */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.header { display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; }
.title { font-size: 34px; font-weight: 800; letter-spacing:.5px; }
.status { opacity:.85; font-size:14px; }

.grid { display:grid; grid-template-columns: 420px 1fr; gap: 28px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 35px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
}

h2 { margin: 0 0 14px; font-size: 22px; }

/* ---------- FORM ---------- */
.label { display:block; font-size:12px; opacity:.85; margin-top:8px; margin-bottom:6px; }
.input {
  width:100%; background:#0b1820; border:1px solid rgba(255,255,255,.08); color:#e7f3f5;
  padding:12px 14px; border-radius:10px; outline:none; transition:.15s border, .15s box-shadow;
}
.input:focus {
  border-color: rgba(0,255,200,.35);
  box-shadow: 0 0 0 3px rgba(0,255,200,.10);
}
.row { display:flex; gap:10px; margin-top:12px; }

.btn {
  appearance:none; border:0; outline:0; cursor:pointer;
  background: linear-gradient(180deg, #1fe0c6 0%, #17c0a9 100%);
  color:#07221d; font-weight:800; border-radius:12px; padding:11px 18px; font-size:15px;
  box-shadow: 0 6px 18px rgba(23,192,169,.35), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .06s ease, filter .2s ease, opacity .2s ease;
}
.btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.secondary {
  background: #17262f; color:#cfe7e9; box-shadow:none; border:1px solid rgba(255,255,255,.06);
}

.msg { margin-top:10px; min-height:20px; font-size:14px; }
.tiny { font-size:12px; opacity:.78; }
.kbd { background: rgba(255,255,255,.08); padding:2px 6px; border-radius:6px; }

/* ---------- ROLETA ---------- */
.roulette-area h2 { margin-bottom:6px; }
.slots {
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}
.slot {
  position:relative;
  height: 140px;
  background: radial-gradient(200px 160px at 50% -30%, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.slot:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.12);
}
.slot.win{
  box-shadow: 0 0 0 2px rgba(0,255,200,.55), 0 0 60px rgba(0,255,200,.20) inset;
  transform: scale(1.02);
}

/* "?" quando não há ícone */
.qm { font-size:42px; font-weight:900; opacity:.85; animation: pulseQ 1.7s infinite; }
@keyframes pulseQ { 0%,100%{transform:translateY(0); opacity:.85;} 50%{transform:translateY(-2px); opacity:1;} }

/* imagem do item/dino */
.pic{
  width: 70%;
  height: auto;
  margin: 10% auto 0;
  display:none; /* aparece quando tiver src */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.7));
  user-select:none; pointer-events:none;
}

/* Botão girar */
.spin { margin-top:16px; }

/* Mensagem de ganho */
.win-msg {
  margin: 8px 0 0;
  color:#9ff3e8;
  font-weight:700;
  text-shadow: 0 0 14px rgba(23,192,169,.25);
}

/* Footer */
.footer { text-align:center; margin-top:20px; opacity:.7; }

/* Animação durante o giro: brilho sequencial */
.slot.active {
  border-color: rgba(0,255,200,.40);
  box-shadow: 0 0 0 2px rgba(0,255,200,.20), inset 0 0 30px rgba(0,255,200,.08);
}
