/* Bill The Dev studio site: one stylesheet for every page */
:root {
  --bg: #0B0B0C;
  --card: #17171A;
  --card-2: #222226;
  --line: #26262B;
  --ink: #FFFFFF;
  --muted: #B9B4AA;
  --brand: #FFB84D;
  --radius: 22px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 600 17px/1.55 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; white-space: nowrap; }
.logo img { width: 40px; height: 40px; }
.logo b { font-weight: 800; }
.logo span { color: var(--brand); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 700; padding: 10px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--brand); }
@media (max-width: 520px) { .nav { gap: 14px; font-size: .95rem; } .logo { font-size: 1.15rem; } .logo img { width: 34px; height: 34px; } }

/* hero */
.hero { padding: 64px 0 24px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1.02; margin: 0 0 14px; font-weight: 800; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { color: var(--muted); max-width: 620px; margin: 0; font-size: 1.12rem; }

/* games */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 0; font-weight: 800; }
.section-head .count { color: var(--muted); white-space: nowrap; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.game { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.game .art { aspect-ratio: 1024 / 500; background: var(--ground, #222); }
.game .art img { width: 100%; height: 100%; object-fit: cover; }
.game .body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.game .head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.game .icon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.game h3 { margin: 0; font-size: 1.6rem; line-height: 1.15; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.tagline { color: var(--accent); font-weight: 800; margin: 2px 0 0; font-size: 1.08rem; }
.desc { color: var(--muted); margin: 0 0 18px; flex: 1; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #111); }
.btn.primary svg { width: 14px; height: 14px; }
.btn:hover { filter: brightness(1.08); }
.small { margin-top: 14px; color: var(--muted); font-size: .92rem; align-self: flex-start; }
.small:hover { color: var(--ink); }
.btn.soon { border-style: dashed; color: var(--muted); border-color: var(--line); cursor: default; }

/* about + contact */
.about { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h2 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; }
.panel p { color: var(--muted); margin: 0 0 10px; }
.panel a { color: var(--brand); }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; color: var(--muted); font-size: .95rem; }
.foot a { color: var(--brand); text-decoration: none; }

/* privacy list */
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 640px; }
.list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.list a:hover { border-color: var(--brand); }
.list img { width: 48px; height: 48px; border-radius: 12px; }
.list small { display: block; color: var(--muted); font-weight: 600; font-size: .9rem; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
