/* /bikin-game/ (Aku Bisa Bikin Game). Builds on /assets/kota-kecilku.css (same layout and
   components) and swaps the warm orange theme for the book's purple, plus the 11-project grid. */
:root{
  --bg:#F7F6FF; --cream:#EFEDFF; --line:#E3E0F7;
  --orange:#5B4FE0; --orange-2:#6C5CE7; --orange-soft:#E9E6FF;
}
body{background:var(--bg)}
.btn:hover{background:#4A3FCB}
.btn-float{box-shadow:0 14px 30px -10px rgba(91,79,224,.65),0 2px 6px rgba(26,34,56,.18)}
.hero h1 em{color:var(--orange-2)}
.hero-art::before{background:#FFE9A8}

/* Book cover as the hero picture: portrait, tilted a little, with a soft shadow. */
.hero-book{justify-self:center;max-width:420px;width:100%}
.hero-book img{border-radius:14px;transform:rotate(2deg);box-shadow:0 34px 60px -30px rgba(40,30,120,.6)}
@media (min-width:900px){.hero-book{max-width:460px}}

/* 11 projects: numbered cards linking to the playable example of each project. */
.projects{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:560px){.projects{grid-template-columns:repeat(2,1fr);gap:12px}}
@media (min-width:900px){.projects{grid-template-columns:repeat(3,1fr)}}
.projects a{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 14px;border-radius:18px;background:var(--surface);border:1px solid var(--line);text-decoration:none;color:var(--ink);box-shadow:0 10px 24px -22px rgba(40,30,120,.7)}
.projects a:hover{border-color:var(--orange)}
.projects a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.pn{flex-shrink:0;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange);font:800 17px var(--f-head)}
.pt{flex:1;font-weight:800;font-size:16px;line-height:1.25}
.pp{flex-shrink:0;display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:13px;color:var(--orange)}
.pp svg{width:16px;height:16px}

/* Sample pages are portrait A4: show the top of each page (title and picture) in a 4:3 frame. */
.step img{aspect-ratio:4/3;object-fit:cover;object-position:top;background:var(--cream)}
