:root { color-scheme: light; --ink:#182b38; --muted:#61717a; --blue:#216bdf; --paper:#f7f8f5; --panel:#fff; --line:#dfe5df; --divider:#edf0eb; --orbit:#d7dfd0; --glow:#e3eddd; --glow-edge:#edf1e7; --art-bg:#e8edf4; --button:#216bdf; }
:root[data-theme="dark"] { color-scheme:dark; --ink:#e8edf4; --muted:#a1adbd; --blue:#7bb0ff; --paper:#12181e; --panel:#1b252e; --line:#33404a; --divider:#303d47; --orbit:#364e45; --glow:#243c32; --glow-edge:#1a2a25; --art-bg:#24313d; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:inherit; }
a:focus-visible { outline:3px solid var(--blue); outline-offset:6px; }
.page { max-width:1200px; margin:auto; padding:0 44px; }
.site-header { min-height:76px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.brand { display:flex; gap:12px; align-items:center; text-decoration:none; font-size:18px; font-weight:600; }
.hero { display:grid; grid-template-columns:1.25fr 1fr; align-items:center; min-height:380px; gap:32px; padding:28px 0; }
.eyebrow { font-size:11px; letter-spacing:1.8px; text-transform:uppercase; font-weight:750; }
h1 { font-size:clamp(40px,5vw,64px); line-height:1.08; letter-spacing:-3px; margin:0 0 20px; font-weight:780; }
h1 span { color:var(--blue); }
.hero-copy>p { max-width:405px; color:var(--muted); font-size:17px; margin:0 0 28px; }
.primary-button { display:inline-flex; gap:28px; align-items:center; padding:13px 20px; color:white; background:var(--button); border-radius:8px; text-decoration:none; font-size:14px; font-weight:650; transition:background .15s; }
.primary-button:hover { background:#1558bd; }
.hero-art { position:relative; height:310px; display:grid; place-items:center; background:radial-gradient(ellipse,var(--glow) 0%,var(--glow-edge) 40%,transparent 70%); }
.picki { position:relative; width:294px; height:236px; background:url('/assets/picki-standard-sprites.png') no-repeat; background-size:2352px 944px; transform:scale(1.25) rotate(-7deg); animation:picki-idle 1.8s steps(1,end) infinite, picki-float 4s ease-in-out infinite; }
.orbit { position:absolute; width:310px; height:310px; border:1px solid var(--orbit); border-radius:50%; }
.orbit-two { width:370px; height:370px; border-style:dashed; }
.spark { position:absolute; font-size:36px; color:#e2a740; }.spark-one { top:15px; right:35px; }.spark-two { left:25px; bottom:60px; color:var(--blue); font-size:25px; }
.games-section { padding:8px 0 0; scroll-margin-top:30px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:18px; }h2 { font-size:30px; letter-spacing:-1px; margin:4px 0 0; }
.game-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.game-card { border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--panel); text-decoration:none; transition:transform .2s,box-shadow .2s; }
.game-card:hover { transform:translateY(-4px); box-shadow:0 16px 36px #182b3810; }
.game-art { position:relative; background:var(--art-bg); aspect-ratio:1200/630; overflow:hidden; }.game-art img { display:block; width:100%; height:100%; object-fit:cover; }.play-badge { position:absolute; bottom:16px; right:16px; background:var(--panel); border:1px solid var(--line); border-radius:100px; padding:7px 14px; font-size:12px; font-weight:700; }
.game-info { padding:24px; }.game-info .eyebrow { color:var(--blue); font-size:10px; }h3 { margin:8px 0; font-size:25px; letter-spacing:-.6px; }.game-info p { color:var(--muted); font-size:14px; margin:0; }.game-meta { display:flex; flex-wrap:wrap; gap:18px; margin-top:24px; padding-top:16px; border-top:1px solid var(--divider); color:var(--muted); font-size:11px; }
.more-note { margin:40px 0 70px; padding:24px 0; border-top:1px solid var(--line); display:flex; gap:20px; align-items:center; }.more-note>span { color:var(--blue); font-size:32px; }.more-note h2 { font-size:17px; letter-spacing:-.3px; }.more-note p { color:var(--muted); font-size:13px; margin:3px 0 0; }
footer { border-top:1px solid var(--line); padding:24px 0 35px; display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:11px; }footer a { font-weight:650; }
.skip-link { position:absolute; top:-100px; left:20px; background:var(--panel); padding:10px; z-index:1; }.skip-link:focus { top:10px; }
@media(min-width:800px) { .game-card:only-child { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; }.game-card:only-child .game-info { align-self:center; padding:30px 40px; } }
@media(max-width:799px) { .page { padding:0 24px; }.hero { gap:0; }.hero-art { transform:scale(.8); margin:0 -35px; }.hero-copy { position:relative; z-index:1; }h1 { letter-spacing:-2px; }.game-grid { grid-template-columns:1fr; } }
@media(max-width:580px) { .site-header { min-height:64px; }.brand { font-size:18px; }.hero { grid-template-columns:1fr; min-height:0; padding:28px 0 12px; }.hero-art { height:220px; margin:8px 0 0; transform:scale(.65); }.hero-copy>p { font-size:16px; }.more-note { margin-bottom:36px; }footer { flex-direction:column; gap:8px; } }
/* The first three cells are Picki's idle poses; keep each frame crisp. */
@keyframes picki-idle {
  0%, 100% { background-position:0 0; }
  33.333% { background-position:-294px 0; }
  66.667% { background-position:-588px 0; }
}
@keyframes picki-float {
  0%, 100% { transform:translateY(0) scale(1.25) rotate(-7deg); }
  50% { transform:translateY(-10px) scale(1.25) rotate(-4deg); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }* { transition:none !important; animation:none !important; } }
