/* playzonemasti.com: the game's own night-blue world, bright team colours, Baloo 2 headings. */
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("/fonts/baloo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("/fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }

:root {
  --night: #12163f;
  --night-2: #1b1f6e;
  --panel: #232a7a;
  --line: #34409a;
  --ink: #f4f5ff;
  --muted: #c3c8ef;
  --gold: #ffc531;
  --red: #ff4d4d;
  --green: #2ecc71;
  --yellow: #ffd21f;
  --blue: #2f8bff;
  --play: #2bb24c;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 70ch; display: grid; gap: 14px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--gold); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 22, 63, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 18px; padding-block: 8px; }
.brand img { width: 84px; height: auto; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; font-family: var(--display); font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--panel); }
@media (max-width: 720px) { .nav { display: none; } .top-row { justify-content: space-between; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; color: #fff; border-radius: 18px; padding: 14px 26px; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 0 rgba(0, 0, 0, .3); transition: transform .12s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.btn-play { background: var(--play); }
.btn-gold { background: #e6a100; }
.btn-blue { background: var(--blue); }
.btn.small { font-size: 17px; padding: 8px 16px; border-width: 2px; border-radius: 14px; box-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* sections */
section { padding-block: 56px; }
.band { background: linear-gradient(180deg, var(--night-2), var(--night)); }
.hero { padding-block: 40px 56px; background: radial-gradient(90% 70% at 70% 20%, #3b2bb0 0%, var(--night-2) 45%, var(--night) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 52ch; margin-block: 16px 26px; }
.hero-art { border-radius: 26px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .15); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: var(--muted); }

/* game cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 28px; }
.cards > * { min-width: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-body { padding: 22px; display: grid; gap: 10px; align-content: start; }
@media (max-width: 460px) { .card { grid-template-columns: 1fr; } .card img { height: 320px; } }
.dots { display: flex; gap: 6px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }

/* feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.features > * { min-width: 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 6px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.feature b { font-family: var(--display); font-size: 21px; }
.feature .swatch { width: 38px; height: 8px; border-radius: 4px; }

/* game page */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shots img { border-radius: 20px; border: 3px solid rgba(255, 255, 255, .12); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.rules { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.rules li::before { content: counter(r); width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #3a2600; font: 800 18px var(--display); display: grid; place-items: center; }
.faq { display: grid; gap: 10px; max-width: 80ch; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 10px; color: var(--muted); }
.app-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px; border-radius: 26px; background: linear-gradient(90deg, #3b2bb0, #1b6fd6); }
.app-band img { width: 72px; height: 72px; border-radius: 18px; }
.app-band .who { display: flex; gap: 16px; align-items: center; }
.soon { font-family: var(--display); font-weight: 800; background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 10px 18px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 34px 44px; color: var(--muted); font-size: 15px; }
.foot-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.foot-row > * { min-width: 0; }
.foot-icon { border-radius: 12px; margin-bottom: 10px; }
.foot nav { display: grid; gap: 6px; }
.foot nav a { color: var(--muted); }
.legal { grid-column: 1 / -1; font-size: 13px; }
@media (max-width: 640px) { .foot-row { grid-template-columns: 1fr; } }
