/* Retro Dash - style.css - neon synthwave aesthetic */

/* basic reset */
* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; width:100%; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial; background:#030318; color:#dffcff; overflow:hidden; }
button { font-family:inherit; cursor:pointer; }

/* topbar */
#topbar { position:fixed; top:10px; left:16px; right:16px; display:flex; justify-content:space-between; align-items:center; z-index:220; pointer-events:none; }
#top-left, #top-right { pointer-events:auto; display:flex; gap:10px; align-items:center; }
#gameTitle { color:#00f0ff; font-weight:800; text-shadow:0 0 18px rgba(0,240,255,0.08); font-size:16px; }

/* buttons */
.btn { background: linear-gradient(180deg, rgba(0,200,255,0.06), rgba(0,120,255,0.02)); color:#dffcff; padding:8px 14px; border-radius:10px; border:1px solid rgba(0,240,255,0.06); box-shadow:0 10px 30px rgba(0,0,0,0.55); }
.btn.small { padding:6px 8px; font-size:13px; }
.btn.big { padding:12px 26px; font-size:18px; }

/* screens (separate non-overlapping panels) */
.screen { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index:200; pointer-events:auto; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.3)); }
.screen.hidden { display:none; }
.card { width:760px; max-width:94vw; background:linear-gradient(180deg, rgba(2,6,20,0.86), rgba(2,6,20,0.7)); border-radius:12px; padding:20px; border:1px solid rgba(0,240,255,0.04); box-shadow: 0 30px 90px rgba(0,0,0,0.7); text-align:center; }

/* main menu style */
.neon-title { font-size:48px; color:#00f0ff; text-shadow:0 6px 30px rgba(0,200,255,0.12); margin-bottom:6px; }
.sub { opacity:0.9; color:#bff7ff; margin-bottom:16px; }

/* lists and shop */
.list { max-height:52vh; overflow:auto; display:flex; flex-direction:column; gap:8px; margin:8px 0; padding:4px; }
.list .commandRow, .list .shopRow, .list .abilityRow { background: rgba(255,255,255,0.02); padding:8px 10px; border-radius:8px; border:1px solid rgba(0,240,255,0.03); display:flex; justify-content:space-between; align-items:center; }

/* shop card tweaks */
.shop-card { width:860px; max-width:96vw; }

/* game canvas */
#gameWrap { position:fixed; inset:0; z-index:1; background: radial-gradient(circle at 20% 20%, rgba(0,32,80,0.06), rgba(0,6,18,0.98)); }
#gameCanvas { width:100%; height:100%; display:block; }

/* hud */
#hud { position:fixed; left:12px; top:12px; z-index:300; display:flex; flex-direction:column; gap:10px; pointer-events:none; width:calc(100% - 24px); max-width:1200px; }
.hud-row { display:flex; gap:10px; align-items:center; }
.hud-label { font-weight:700; color:#dffcff; font-size:14px; }
.hud-value { color:#fff; font-weight:700; margin-left:6px; }

/* gauge */
.gauge { width:360px; height:18px; border-radius:10px; background: linear-gradient(90deg, rgba(0,0,0,0.32), rgba(0,0,0,0.12)); border:1px solid rgba(0,240,255,0.04); overflow:hidden; }
.gaugeFill { height:100%; width:100%; background: linear-gradient(90deg,#00f0ff,#66ffcc); transform-origin:left center; transition: width 0.12s linear; }

/* cooldown HUD */
.cooldown { min-width:160px; background: rgba(0,0,0,0.12); padding:8px; border-radius:8px; border:1px solid rgba(0,240,255,0.03); display:flex; flex-direction:column; gap:6px; }
.cooldown .label { font-size:12px; color:#cfefff; display:flex; justify-content:space-between; }
.cooldown .bar { width:120px; height:10px; background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(0,0,0,0.06)); border-radius:6px; overflow:hidden; }
.cooldown .bar .fill { height:100%; width:0%; background: linear-gradient(90deg,#4cc8ff,#00ffcc); transition: width 0.12s linear; }

/* responsive */
@media (max-width:740px){
  .neon-title { font-size:34px; } .card { width:94%; } .gauge { width:220px; } .btn.big { padding:10px 18px; font-size:16px; }
}
