/* ============================================================
   SAFE RIDE WORLD — arcade2026.css
   The 2026 layer: spatial glass, 64-bit bevels, bento cards,
   tactile tilt + press physics. Loads AFTER universe.css.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;600;800&family=Press+Start+2P&display=swap');
:root{
  --a-red:#E63946; --a-blue:#1D70B8; --a-gold:#FFB703; --a-green:#43a047;
  --glass:rgba(255,255,255,.72); --glass-line:rgba(255,255,255,.85);
}
body{font-family:"Plus Jakarta Sans","Nunito",system-ui,sans-serif}
h1,h2,h3,.btn,.ribbon,.brand{font-family:"Fredoka","Baloo 2",system-ui,sans-serif}
/* spatial glass top bar */
.topbar{
  background:var(--glass); backdrop-filter:blur(14px) saturate(1.4); -webkit-backdrop-filter:blur(14px) saturate(1.4);
  border-bottom:3px solid var(--a-gold);
  box-shadow:0 10px 30px rgba(29,53,87,.18), inset 0 1px 0 var(--glass-line);
}
/* bento cards with 64-bit bevel depth */
.card{
  border-radius:26px;
  box-shadow:0 2px 0 rgba(255,255,255,.9) inset, 0 -4px 0 rgba(29,53,87,.08) inset,
             0 14px 28px rgba(29,53,87,.16), 0 4px 0 rgba(29,53,87,.22);
  transform-style:preserve-3d; will-change:transform;
  transition:transform .18s ease-out, box-shadow .18s ease-out;
}
.card.tilting{
  box-shadow:0 2px 0 rgba(255,255,255,.9) inset, 0 -4px 0 rgba(29,53,87,.08) inset,
             0 30px 50px rgba(29,53,87,.28), 0 8px 0 rgba(29,53,87,.20);
}
/* controller-button press depth */
.btn{
  box-shadow:0 6px 0 rgba(29,53,87,.35), 0 14px 24px rgba(29,53,87,.20), inset 0 2px 0 rgba(255,255,255,.45);
  transition:transform .07s ease, box-shadow .07s ease, filter .15s ease;
}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:translateY(5px); box-shadow:0 1px 0 rgba(29,53,87,.35), 0 4px 8px rgba(29,53,87,.20), inset 0 2px 0 rgba(255,255,255,.45)}
.nav a.world{
  background:linear-gradient(135deg,var(--a-red),#ff7a59);
  box-shadow:0 6px 0 #a92312, 0 14px 24px rgba(230,57,70,.35);
}
.nav a.world:active{transform:translateY(5px); box-shadow:0 1px 0 #a92312}
/* arcade badge + score type */
.arcade-badge,.press-start{
  font-family:"Press Start 2P",monospace; font-size:10px; letter-spacing:.06em;
  background:var(--navy); color:var(--a-gold); border-radius:8px; padding:7px 9px;
  box-shadow:0 3px 0 #0d2138, inset 0 0 0 2px rgba(255,183,3,.5);
  display:inline-block; text-transform:uppercase;
}
/* hero glow */
header.hero h1{
  background:linear-gradient(180deg,#ffb703 0%, #f07d12 55%, var(--a-red) 130%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow:none; filter:drop-shadow(2px 3px 0 rgba(255,255,255,.9)) drop-shadow(0 8px 22px rgba(29,53,87,.25));
}
header.hero h1 .red{
  background:linear-gradient(180deg,#ff8a7a,var(--a-red) 70%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
/* the living canvas strip */
#arcade-sky{
  display:block; width:100%; height:120px; margin-top:14px;
  border-radius:20px; border:4px solid var(--track);
  box-shadow:0 14px 30px rgba(29,53,87,.22), inset 0 2px 0 rgba(255,255,255,.6);
  background:linear-gradient(180deg,#8ec9ee,#cfeeff 70%,#9ccc65);
}
/* sound toggle */
#soundToggle{
  position:fixed; right:14px; bottom:14px; z-index:99;
  font-family:"Press Start 2P",monospace; font-size:10px;
  background:var(--navy); color:#fff; border:3px solid var(--a-gold); border-radius:999px;
  padding:12px 16px; cursor:pointer; box-shadow:0 5px 0 #0d2138, 0 12px 22px rgba(0,0,0,.3);
}
#soundToggle:active{transform:translateY(4px); box-shadow:0 1px 0 #0d2138}
@media (prefers-reduced-motion: reduce){ .card{transition:none} }
