/* assets/style.css */
:root{--bg:#1a0716;--panel:#37113a;--accent:#6b2aa1;--gold:#f0c24b}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(180deg,#0b0410,#2b0b2b);font-family:Inter,Arial,Helvetica,sans-serif;color:#fff;min-height:100vh}
a.link{color:#ffd766;text-decoration:none}
.top{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;background:rgba(0,0,0,0.12)}
.top .center{font-weight:700}
.main{padding:18px;display:flex;flex-direction:column;gap:18px;align-items:center}
.panel{max-width:420px;margin:40px auto;padding:18px;background:linear-gradient(180deg,#37113a,#2a0a24);border-radius:12px}
.panel input{width:100%;padding:10px;margin:8px 0;border-radius:8px;border:0}
.panel button{padding:10px 14px;border-radius:8px;border:0;background:var(--gold);cursor:pointer;color:#222;font-weight:700}
.alert{background:#6b1f3f;padding:8px;border-radius:8px;margin-bottom:8px;color:#ffd7d7}
.msg{color:#ffd766;margin-top:8px}

.controls {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
}
#spinCost {
  width: 100px;
  padding: 5px;
  font-size: 18px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid gold;
  background: #2d003b;
  color: white;
  margin: 5px;
}
.quick-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.quick {
  padding: 5px 10px;
  background: gold;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.quick:hover { background: #ffda5c; }


/* game area */
.game-area{position:relative;width:320px;height:320px}
@media(min-width:800px){ .game-area{width:560px;height:560px} }
canvas#wheel{border-radius:50%;display:block;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.arrow-left{
  position:absolute; left:-40px; top:50%; transform:translateY(-50%);
  width:0;height:0;
  border-top:20px solid transparent;border-bottom:20px solid transparent;border-right:36px solid var(--gold);
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.6));
  z-index:5;
}

/* controls */
.controls{display:flex;flex-direction:column;align-items:center;gap:10px}
.big{background:linear-gradient(180deg,#2fb64a,#169b2f);border:4px solid #f0c24b;color:#fff;width:92px;height:92px;border-radius:50%;font-size:22px;cursor:pointer}
.small{padding:8px 12px;border-radius:8px;border:0;background:#3b2a5a;color:#fff}

/* admin lists */
.admin .list table{width:100%;border-collapse:collapse}
.admin .list table td, .admin .list table th{padding:6px;border-bottom:1px solid rgba(255,255,255,0.04)}
