/* Pocket Arcade site: night-arcade palette (docs/brand.md). Fonts are self-hosted (SIL OFL 1.1). */
@font-face{font-family:'Bungee';font-weight:400;font-display:swap;src:url('fonts/Bungee-Regular.ttf') format('truetype')}
@font-face{font-family:'Figtree';font-weight:400;font-display:swap;src:url('fonts/Figtree-Regular.ttf') format('truetype')}
@font-face{font-family:'Figtree';font-weight:600;font-display:swap;src:url('fonts/Figtree-SemiBold.ttf') format('truetype')}
@font-face{font-family:'Figtree';font-weight:800;font-display:swap;src:url('fonts/Figtree-ExtraBold.ttf') format('truetype')}

:root{
  --bg:#0e1322; --surface:#171e33; --raise:#212a46; --line:#2c3757;
  --fg:#eef1f8; --muted:#8f99b8;
  --coin:#ffbf47; --teal:#46e0c0; --rose:#ff6f8e; --violet:#a594ff; --sky:#5fb3ff;
  --display:'Bungee','Arial Black',Impact,system-ui,sans-serif;
  --body:'Figtree',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 var(--body);
  background-image:radial-gradient(var(--line) 1px,transparent 1.4px);background-size:24px 24px;background-attachment:fixed}
a{color:var(--teal)}
a:focus-visible,button:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:6px}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}

/* Header */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--fg);font-family:var(--display);font-size:18px;letter-spacing:.5px}
.brand img{width:36px;height:36px;border-radius:9px}
.brand b{color:var(--coin);font-weight:400}
.top nav{display:flex;gap:18px;font-weight:600;font-size:15px}
.top nav a{color:var(--muted);text-decoration:none}
.top nav a:hover{color:var(--fg)}

/* Hero */
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:40px 0 56px}
.hero h1{font-family:var(--display);font-weight:400;font-size:clamp(40px,7vw,72px);line-height:1.02;margin:0 0 14px}
.hero h1 span{color:var(--coin);display:block}
.tagline{font-size:clamp(18px,2.4vw,22px);color:var(--fg);font-weight:600;margin:0 0 10px}
.lede{color:var(--muted);max-width:34em;margin:0 0 26px}
.cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 22px;border-radius:14px;font-weight:800;text-decoration:none;font-size:16px}
.btn.primary{background:var(--teal);color:#0b1a1a}
.btn.ghost{border:1px solid var(--line);background:var(--surface);color:var(--fg)}
.btn[aria-disabled=true]{opacity:.85;cursor:default}
.soon{font-size:13px;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;padding:0;list-style:none}
.chips li{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 12px;font-size:13.5px;font-weight:600;color:var(--muted)}
.phone{justify-self:center;width:min(300px,78vw);border-radius:34px;padding:10px;background:linear-gradient(160deg,var(--raise),var(--surface));
  border:1px solid var(--line);box-shadow:0 30px 80px rgba(0,0,0,.45),0 0 0 6px rgba(70,224,192,.06)}
.phone img{border-radius:26px}

/* Sections */
section{padding:48px 0}
h2{font-family:var(--display);font-weight:400;font-size:clamp(24px,3.4vw,32px);margin:0 0 8px}
.sub{color:var(--muted);margin:0 0 28px}
.games{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.game{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.game img{aspect-ratio:1/1.15;object-fit:cover;object-position:top;border-bottom:1px solid var(--line)}
.game div{padding:16px 18px 20px}
.game h3{font-family:var(--display);font-weight:400;font-size:20px;margin:0 0 4px}
.game p{margin:0;color:var(--muted);font-size:15px}
.tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:6px;padding:2px 7px;margin-bottom:8px;border:1px solid var(--line);color:var(--muted)}
.tag.orig{color:var(--teal);border-color:rgba(70,224,192,.4)}

.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feat{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px}
.feat .ico{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;margin-bottom:10px;font-family:var(--display);font-size:18px}
.feat h3{margin:0 0 4px;font-size:16px;font-weight:800}
.feat p{margin:0;color:var(--muted);font-size:14.5px}

/* Footer */
footer{border-top:1px solid var(--line);margin-top:24px;padding:28px 0 40px;color:var(--muted);font-size:14px}
footer .row{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;align-items:center}
footer nav{display:flex;flex-wrap:wrap;gap:18px}
footer a{color:var(--muted)}

/* Long-form pages (privacy) */
.doc{max-width:720px;padding-bottom:40px}
.doc h1{font-family:var(--display);font-weight:400;font-size:clamp(28px,5vw,40px);line-height:1.15;margin:24px 0 4px}
.doc h1 span{color:var(--coin)}
.doc h2{font-family:var(--body);font-weight:800;font-size:19px;color:var(--teal);margin:32px 0 8px}
.doc .muted{color:var(--muted)}
.doc .box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin:20px 0}

@media (max-width:820px){
  .hero{grid-template-columns:1fr;gap:32px;padding-top:20px}
  .games{grid-template-columns:1fr}
  .game{flex-direction:row}
  .game img{width:38%;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
  .features{grid-template-columns:1fr 1fr}
}
@media (max-width:480px){
  .top nav{gap:14px;font-size:14px}
  .features{grid-template-columns:1fr}
  .game img{width:34%}
}
