* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255,208,0,.35), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0,74,255,.45), transparent 35%),
    linear-gradient(135deg, #081a4a 0%, #b50014 55%, #f8c600 100%);
}
.app-shell { width: min(460px, 94vw); margin: 0 auto; padding: 18px 0 40px; }
.hero-card, .panel {
  background: rgba(5, 15, 40, .72);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  padding: 18px;
  margin: 14px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.brand-pill { display: inline-block; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 700; }
h1 { margin: 14px 0 8px; font-size: 30px; line-height: 1.05; }
h2 { margin: 0 0 14px; }
p { line-height: 1.45; }
label { display:block; text-align:left; margin: 12px 0 6px; font-weight: 700; }
input, button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 16px;
}
input { background: rgba(255,255,255,.95); color: #111; }
button {
  background: linear-gradient(90deg, #ffd000, #ff3b30);
  color: #111;
  font-weight: 800;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.hidden { display: none !important; }
.small-note { font-size: 13px; opacity: .82; }
.game-topbar { display:flex; justify-content:space-between; font-size: 22px; font-weight: 800; margin-bottom: 10px; }
canvas { width: 100%; background: #1c1c1c; border-radius: 18px; border: 4px solid rgba(255,255,255,.85); touch-action: none; }
.controls-row { display:flex; gap: 12px; }
.controls-row button { font-size: 28px; padding: 10px; }
.big-score { font-size: 62px; font-weight: 900; color: #ffd000; text-shadow: 0 5px 20px rgba(0,0,0,.4); }
.voucher { background: #fff; color: #111; border: 3px dashed #d00000; padding: 14px; border-radius: 14px; font-size: 22px; font-weight: 900; letter-spacing: 1px; }
.leaderboard-panel table { width:100%; border-collapse: collapse; font-size: 14px; }
.leaderboard-panel th, .leaderboard-panel td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,.2); text-align:left; }
