/* Shared style for Popnest Games content pages (About, Contact, How to play). Same look as the home page. */
@font-face { font-family: Nunito; font-weight: 800; src: url(/fonts/nunito-latin-800-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Nunito; font-weight: 900; src: url(/fonts/nunito-latin-900-normal.woff2) format('woff2'); font-display: swap; }
:root { color-scheme: only light; --navy: #141033; --gold: #FFD54A; --orange: #FF9F1C; --soft: #D9D2FF; }
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: #1D4A8F; }
body { min-height: 100vh; font-family: Nunito, sans-serif; font-weight: 800; color: #fff; position: relative;
  background: linear-gradient(160deg, #5B2BB8 0%, #3A2FA8 45%, #1D4A8F 100%); }
body::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.05) 2px, transparent 2px);
  background-size: 90px 90px; }
a { color: var(--gold); }
.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px;
  padding: 14px 16px; background: rgba(20,16,51,.55); border-bottom: 3px solid var(--navy); }
.nav a { color: #fff; text-decoration: none; font-weight: 900; font-size: 16px; }
.nav a.brand { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 18px; margin-right: auto; }
.nav a.brand img { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--navy); }
.nav a[aria-current] { color: var(--gold); }
@media (max-width: 520px) { .nav a.brand { margin-right: 0; width: 100%; justify-content: center; } }
main.page { position: relative; max-width: 820px; margin: 0 auto; padding: 32px 16px 24px; }
.page h1 { margin: 0 0 10px; font-size: clamp(30px, 7vw, 46px); font-weight: 900; color: var(--gold); text-shadow: 3px 4px 0 var(--navy); text-align: center; }
.page .lead { text-align: center; font-size: clamp(17px, 4.2vw, 21px); color: #fff; margin: 0 0 26px; line-height: 1.4; }
.box { background: #2A2380; border: 4px solid var(--navy); border-radius: 24px; box-shadow: 6px 7px 0 var(--navy); padding: 20px 22px; margin: 0 0 22px; }
.box h2 { margin: 0 0 10px; font-size: clamp(22px, 5vw, 28px); font-weight: 900; color: var(--gold); }
.box h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 900; color: #fff; }
.box p, .box li { color: var(--soft); font-size: 17px; line-height: 1.55; }
.box p { margin: 0 0 10px; }
.box ul, .box ol { margin: 0 0 6px; padding-left: 22px; }
.box li { margin: 0 0 6px; }
.box b { color: #fff; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 22px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 3px solid var(--navy); box-shadow: 4px 5px 0 var(--navy); }
.shots figcaption { margin-top: 6px; font-size: 14px; color: var(--soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 6px 0 22px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 18px; border: 3px solid var(--navy); text-decoration: none;
  font-weight: 900; font-size: 18px; box-shadow: 0 4px 0 var(--navy); }
.btn { transition: transform 60ms ease-out, filter 60ms ease-out; } .btn:active { transform: translateY(3px) scale(0.98); filter: brightness(0.92); box-shadow: none; }
.btn.play { background: var(--orange); color: #2A1200; }
.btn.web { background: #6A4C93; color: #fff; }
footer.foot { position: relative; text-align: center; padding: 10px 16px 36px; color: var(--soft); font-size: 15px; line-height: 1.8; }
footer.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
