@font-face{font-family:'Fredoka';font-weight:500;font-display:swap;src:url(fonts/fredoka-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Fredoka';font-weight:700;font-display:swap;src:url(fonts/fredoka-latin-700-normal.woff2) format('woff2')}

/* Same look as hoppyploppy.com (black, Fredoka, yellow buttons), but neutral: no pink, the only red is the logo */
:root{--yellow:#fffc00;--gold:#ffd21f;--text:#dfe4ea;--dim:#a9b1bd;--line:#1c1f26;--card:#0d0f13}
*{box-sizing:border-box}
html{background:#000;scroll-behavior:smooth}
body{margin:0;background:#000;color:#fff;font-family:'Fredoka',system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:500;
  font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased;text-align:center}
img{max-width:100%;height:auto;display:block}
a{color:#fff}
main{max-width:1080px;margin:0 auto;padding:0 16px}

/* top */
.top{padding:34px 16px 0}
.top h1{margin:0;display:flex;justify-content:center}
.top h1 img{width:220px}
.tag{margin:26px 0 0;font-weight:700;font-size:clamp(30px,6vw,50px);line-height:1.1;color:var(--gold)}
.lead{max-width:600px;margin:14px auto 0;color:var(--text);font-size:clamp(17px,2.4vw,20px)}

.jump{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:720px;margin:28px auto 0}
.jump a{padding:8px 18px;border-radius:999px;background:var(--card);border:1px solid var(--line);color:var(--text);
  font-size:16px;text-decoration:none;transition:border-color .12s,color .12s}
.jump a:hover{border-color:#3a414d;color:#fff}
.jump a:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* games: picture and text side by side, alternating; stacked on phones */
.game{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:40px;margin-top:88px;text-align:left;scroll-margin-top:20px}
.game:first-child{margin-top:64px}
.game:nth-child(even) .shot{order:2}
.shot{display:block;border-radius:22px;overflow:hidden;border:3px solid var(--line);background:var(--card)}
a.shot{transition:transform .15s,border-color .15s}
a.shot:hover{transform:translateY(-3px);border-color:#3a414d}
a.shot:focus-visible{outline:3px solid #fff;outline-offset:4px}
.shot img{width:100%;aspect-ratio:16/9;object-fit:cover}
.name{margin:0;font-size:clamp(28px,4vw,38px);font-weight:700;line-height:1.15}
.sub{margin:6px 0 0;font-weight:700;font-size:clamp(20px,2.6vw,24px);line-height:1.2;color:var(--gold)}
.info p:not(.sub){margin:14px 0 0;color:var(--text);font-size:17px}
.badge{display:inline-block;padding:2px 10px;border-radius:999px;background:var(--gold);color:#000;font-size:14px;font-weight:700;
  line-height:1.5;vertical-align:middle}

.play{display:inline-flex;align-items:center;gap:12px;margin-top:24px;padding:14px 30px 14px 24px;border-radius:999px;
  background:var(--yellow);color:#000;font-weight:700;font-size:20px;text-decoration:none;
  box-shadow:0 6px 0 #b8b400;transition:transform .12s,box-shadow .12s}
.play svg{width:24px;height:24px;fill:#000}
.play:hover{transform:translateY(-2px);box-shadow:0 8px 0 #b8b400}
.play:active{transform:translateY(4px);box-shadow:0 2px 0 #b8b400}
.play:focus-visible{outline:3px solid #fff;outline-offset:4px}

/* footer */
footer{margin-top:110px;padding:34px 16px 44px;border-top:1px solid var(--line);color:var(--dim);font-size:15px}
footer img{width:120px;margin:0 auto 10px}
footer p{margin:4px 0}
footer .copy{margin-top:14px;color:#c9d0da}
footer .small{font-size:13px;color:#6f7783}

/* contact: a button in the footer and a black popup with the Tally form */
.contact-open{display:inline-flex;align-items:center;gap:8px;margin:16px 0 4px;padding:10px 20px;border-radius:999px;
  border:1px solid #3a414d;color:#fff;text-decoration:none;font-size:16px;transition:border-color .12s,background .12s}
.contact-open:hover{border-color:#fff;background:var(--card)}
.contact-open:focus-visible{outline:3px solid #fff;outline-offset:3px}
.contact-open svg,.contact-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.contact{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;
  background:#000;color:#fff;border:1px solid #2a2f38;border-radius:22px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.contact::backdrop{background:rgba(0,0,0,.75);backdrop-filter:blur(4px)}
.contact-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;
  padding:18px 18px 10px 24px;background:#000}
.contact-head h2{margin:0;font-size:24px;font-weight:700}
.contact-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;
  background:var(--line);color:#fff;cursor:pointer}
.contact-close:hover{background:#2a2f38}
.contact-close:focus-visible{outline:3px solid #fff;outline-offset:2px}
.contact iframe{display:block;padding:0 24px 20px;box-sizing:border-box;border:0}

@media (max-width:760px){
  .top h1 img{width:170px}
  .game{grid-template-columns:1fr;gap:20px;margin-top:64px;text-align:center}
  .game:first-child{margin-top:44px}
  .game:nth-child(even) .shot{order:0}
  .shot{border-radius:16px}
  .info p:not(.sub){max-width:560px;margin-left:auto;margin-right:auto}
  .play{font-size:19px}
  footer{margin-top:80px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.play,.jump a,a.shot{transition:none}}

/* text pages (privacy) */
.top .logo{width:170px;margin:0 auto}
.page{max-width:680px;text-align:left;padding-top:36px}
.page h1{margin:0;font-size:clamp(32px,6vw,46px);font-weight:700;line-height:1.1}
.page .sub{margin:6px 0 0}
.page h2{margin:34px 0 0;font-size:22px;font-weight:700}
.page p:not(.sub){margin:8px 0 0;color:var(--text);font-size:17px}
.page a{color:var(--gold)}
.page .updated{margin-top:40px;color:var(--dim);font-size:15px}
footer .links a{color:var(--dim)}
footer .links a:hover{color:#fff}
