/* Halaman pemain duginoprice */

/* ---------- layar sambutan ---------- */
.splash { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 6, 20, .55); backdrop-filter: blur(2px); }
.splash-card {
  width: min(600px, 100%); text-align: center; padding: 32px 24px 28px;
  border: 1.5px solid var(--gold); border-radius: 32px;
  background: linear-gradient(180deg, #000 0%, #1a1a1a 45%, #000 100%);
  box-shadow: 0 0 30px rgba(255, 198, 26, .45), inset 0 0 20px rgba(255, 198, 26, .12);
}
.splash-card .logo { font-size: 52px; margin-bottom: 16px; }
.splash-card h2 { margin: 0 0 18px; font-size: 28px; font-weight: 600; color: #e6e6e6; text-shadow: 0 2px 6px #000; }
.splash-card .tag { margin: 0 0 16px; padding: 14px 8px; color: var(--gold); font-weight: 800; border-bottom: 2px solid var(--gold); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .06)); }

/* ---------- tombol & input ---------- */
button, input { font: inherit; }
.btn { padding: 10px 22px; border: 0; border-radius: 8px; background: #f2f2f2; color: #111; font-weight: 800; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.btn:hover:not(:disabled) { background: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.gold { background: linear-gradient(180deg, var(--gold), var(--gold2)); }
.field {
  width: 100%; margin-top: 12px; padding: 12px 14px; text-align: center; font-weight: 700; font-size: 18px;
  color: var(--ink); background: #050505; border: 1px solid #333; border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, .06), 0 0 6px rgba(255, 255, 255, .15);
}
.field::placeholder { color: #8a8a8a; letter-spacing: 0; text-transform: none; }
.field:focus { outline: 2px solid var(--gold); }
#code { text-transform: uppercase; letter-spacing: 4px; }

/* ---------- tata letak utama ---------- */
.stage { max-width: 1080px; margin: 0 auto; padding: 24px 16px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; min-height: 100vh; }
@media (max-width: 820px) { .stage { grid-template-columns: 1fr; min-height: 0; } }
.left { text-align: center; }
.left .logo { margin-bottom: 12px; font-size: 34px; }

/* ---------- roda ---------- */
.wheel-wrap { position: relative; width: min(88vw, 420px); margin: 0 auto; }
.ring {
  padding: 12px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), #7a5a00, var(--gold), #7a5a00, var(--gold));
  box-shadow: 0 0 0 4px #0b2a66, 0 0 40px rgba(27, 109, 255, .8);
}
canvas { display: block; width: 100%; height: auto; border-radius: 50%; transition: transform 5s cubic-bezier(.12, .7, .1, 1); background: #0b2a66; }
.pointer { position: absolute; top: -10px; left: 50%; margin-left: -16px; border: 16px solid transparent; border-top: 30px solid var(--gold); filter: drop-shadow(0 2px 3px #000); z-index: 2; }
.hub { position: absolute; top: 50%; left: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2; background: radial-gradient(circle at 35% 30%, #5aa2ff, #0b3d91 70%); border: 5px solid var(--gold); box-shadow: 0 0 14px rgba(0, 0, 0, .6); }

/* ---------- panel kanan ---------- */
.panel { padding: 22px 18px; border: 3px solid #d9d9d9; border-radius: 22px; background: var(--panel); text-align: center; box-shadow: 0 0 0 1px #000, 0 0 24px rgba(255, 255, 255, .15); }
.panel h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.4; letter-spacing: 1px; text-shadow: 0 2px 6px #000; }
#btnSpin { width: 100%; margin-top: 14px; padding: 14px; font-size: 20px; }
#msg { min-height: 28px; margin: 12px 0 0; font-weight: 800; color: var(--gold); }
.panel h3 { margin: 22px 0 6px; text-align: left; font-size: 16px; color: var(--gold); }
ul { list-style: none; padding: 0; margin: 0; text-align: left; }
li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }

/* ---------- tombol WhatsApp (isi WA_NUMBER di app.js) ---------- */
.wa { position: fixed; left: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .6); z-index: 5; }
.wa svg { width: 30px; height: 30px; fill: #fff; }