/* Mochi Moose: soft, round and bubbly. Light theme only (the brand is a cream mochi). */
@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: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-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"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --cream: #FFF8F0; --paper: #FFFFFF; --ink: #4A2E2A; --ink-2: #765750; --line: #F2E2D6;
  --pink: #FF7FA8; --pink-2: #E85B8A; --pink-soft: #FFE4EC;
  --matcha: #5DBB74; --matcha-soft: #E3F5E3;
  --sky: #3FAEE6; --sky-soft: #DFF2FC;
  --butter: #FFD24D; --butter-2: #E9A919; --butter-soft: #FFF3C9;
  --lilac: #9B7BEA; --lilac-soft: #EEE7FF;
  --peach: #FFAD7A;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: 36px; --r-md: 24px; --r-sm: 16px;
  --shadow: 0 18px 50px rgba(74, 46, 42, .10), 0 2px 6px rgba(74, 46, 42, .05);
  --wrap: 1120px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--body); overflow-x: hidden }
img { max-width: 100%; height: auto; display: block }
a { color: var(--pink-2); text-decoration-thickness: 2px; text-underline-offset: 3px }
a:hover { color: var(--ink) }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 12px }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance }
p { margin: 0 }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px }
@media (min-width: 720px) { .wrap { padding-inline: 28px } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 999px; z-index: 50 }
.skip:focus { left: 12px }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 240, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(242, 226, 214, .7) }
.top .wrap { display: flex; align-items: center; gap: 10px; min-height: 66px }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 23px/1 var(--display); letter-spacing: -.01em; margin-right: auto; white-space: nowrap }
.brand img { width: 46px; height: 42px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1) }
.brand:hover img { transform: rotate(-8deg) scale(1.06) }
.brand span b { color: var(--pink) }
.nav { display: flex; gap: 2px }
.nav a { font: 600 16px/1 var(--display); color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px }
.nav a:hover, .nav a[aria-current="page"] { background: var(--pink-soft) }
.lang { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px }
.lang button { font: 600 13px/1 var(--display); color: var(--ink-2); background: none; border: 0; padding: 8px 10px; border-radius: 999px; cursor: pointer; min-width: 38px }
.lang button[aria-pressed="true"] { background: var(--butter); color: var(--ink) }
@media (max-width: 720px) { .nav .hide-s { display: none } .nav a { padding: 10px 10px; font-size: 15px } .brand { font-size: 0 } .brand img { width: 44px } }
@media (max-width: 380px) { .nav { display: none } }

/* ---------- buttons ---------- */
.btn { --bg: var(--butter); --sh: var(--butter-2); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 18px/1 var(--display); color: var(--ink); text-decoration: none; background: var(--bg); border: 0; border-radius: 999px; padding: 16px 26px; box-shadow: 0 5px 0 var(--sh); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap }
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 7px 0 var(--sh) }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--sh) }
.btn.soft { --bg: var(--paper); --sh: var(--line) }
.btn.pink { --bg: var(--pink); --sh: var(--pink-2); color: #fff }
.btn.pink:hover { color: #fff }
.btn svg { width: 22px; height: 22px; flex: none }
.btn[aria-disabled="true"] { --bg: #F6EEE8; --sh: #E9DCD2; color: var(--ink-2); cursor: default; transform: none }
.btn small { font: 700 11px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; opacity: .75 }
.btn .two { display: grid; gap: 4px; text-align: left }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 44px 72px }
.hero .wrap { display: grid; gap: 28px; align-items: center; position: relative; z-index: 1 }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 40px } .hero { padding-block: 72px 96px } }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 10px; font: 600 16px/1 var(--display); box-shadow: 0 4px 0 var(--line) }
.kicker i { width: 12px; height: 12px; border-radius: 50%; background: var(--matcha); box-shadow: 0 0 0 4px var(--matcha-soft) }
.hero h1 { font-size: clamp(40px, 7.4vw, 72px); margin-top: 22px; font-weight: 700 }
.hero h1 em { font-style: normal; color: var(--pink); position: relative; white-space: nowrap }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .22em; background: var(--butter); border-radius: 999px; z-index: -1; opacity: .8 }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); margin-top: 18px; max-width: 34em }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px }
.mascot { position: relative; justify-self: center; width: min(78vw, 420px); aspect-ratio: 1 }
.mascot .halo { position: absolute; inset: 6% 4% 2%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 30%, var(--pink-soft) 31% 100%) }
.mascot img { position: absolute; inset: 8% 4% 0; width: 92%; transform-origin: 50% 92%; animation: squish 3.2s ease-in-out infinite }
@keyframes squish { 0%, 100% { transform: translateY(0) scale(1, 1) } 45% { transform: translateY(-4%) scale(.98, 1.03) } 55% { transform: translateY(-4%) scale(.98, 1.03) } 88% { transform: translateY(0) scale(1.05, .95) } }
.bubbles span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 14%, var(--c) 15% 100%); opacity: .75; animation: float var(--d, 9s) ease-in-out infinite; animation-delay: var(--dl, 0s) }
@keyframes float { 0%, 100% { transform: translate(0, 0) } 50% { transform: translate(var(--x, 8px), var(--y, -22px)) } }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; z-index: 0; pointer-events: none }

/* ---------- sections ---------- */
section { position: relative }
.sec { padding-block: 64px }
.sec-head { text-align: center; max-width: 40em; margin: 0 auto 36px }
.sec-head h2 { font-size: clamp(32px, 5vw, 48px) }
.sec-head p { color: var(--ink-2); margin-top: 12px; font-size: 19px }
.eyebrow { display: inline-block; font: 600 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--pink-2); background: var(--pink-soft); padding: 8px 14px; border-radius: 999px; margin-bottom: 14px }
.wave { display: block; width: 100%; height: 48px; color: var(--paper) }
.band { background: var(--paper) }

/* ---------- game card ---------- */
.game { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: grid }
@media (min-width: 900px) { .game { grid-template-columns: 1.15fr 1fr } }
.game .media { position: relative; min-height: 240px; background: var(--sky-soft) }
.game .media img { width: 100%; height: 100%; object-fit: cover }
.game .info { padding: 28px 22px 30px; display: grid; gap: 16px; align-content: start }
@media (min-width: 720px) { .game .info { padding: 36px 36px 38px } }
.game .title { display: flex; align-items: center; gap: 16px }
.game .icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 6px 16px rgba(74, 46, 42, .18); flex: none }
.game h3 { font-size: clamp(26px, 3.4vw, 34px) }
.game .by { color: var(--ink-2); font-weight: 600; font-size: 15px }
.game .desc { color: var(--ink-2); font-size: 18px }
.status { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--display); color: #2f7a44; background: var(--matcha-soft); padding: 8px 12px; border-radius: 999px; justify-self: start }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--matcha); animation: pulse 1.8s ease-in-out infinite }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(93, 187, 116, .18) } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 }
.chips li { font: 600 15px/1.2 var(--display); padding: 9px 13px; border-radius: 999px; background: var(--c, var(--butter-soft)) }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px }
.stores .btn { padding: 12px 18px; font-size: 16px }
.legal-links { font-size: 14px; color: var(--ink-2) }
.legal-links a { color: var(--ink-2) }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px 16px 10px; margin-inline: -16px; scrollbar-width: thin; list-style: none; margin-block: 0 }
@media (min-width: 900px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0 } }
.shots li { scroll-snap-align: center }
.shots figure { margin: 0; background: var(--paper); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 8px 24px rgba(74, 46, 42, .09) }
.shots img { aspect-ratio: 16 / 9; object-fit: cover; width: 100% }
.shots figcaption { font: 600 16px/1.2 var(--display); padding: 12px 16px 14px }

/* ---------- coming soon ---------- */
.soon { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(165deg, #FFE9C9 0%, #FFD6DF 52%, #E9DEFF 100%); box-shadow: var(--shadow); padding: 34px 20px 26px }
@media (min-width: 720px) { .soon { padding: 52px 44px 40px } }
.soon .sun { position: absolute; width: 380px; height: 380px; right: -110px; top: -140px; border-radius: 50%; background: radial-gradient(circle, #FFF6D8 0 30%, rgba(255, 210, 110, .55) 31% 52%, rgba(255, 190, 120, 0) 70%); animation: glow 6s ease-in-out infinite }
@keyframes glow { 50% { transform: scale(1.06) } }
.soon .inner { position: relative; display: grid; gap: 18px; max-width: 44em }
.badge { justify-self: start; font: 700 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--lilac); padding: 10px 16px; border-radius: 999px; box-shadow: 0 5px 0 #7E5DD6; animation: wobble 3.6s ease-in-out infinite }
@keyframes wobble { 0%, 100% { transform: rotate(-2deg) } 50% { transform: rotate(2deg) } }
.lockup { display: grid; gap: 4px }
.lockup small { font: 700 16px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: #B4643A }
.lockup h3 { font-size: clamp(38px, 6.6vw, 64px); font-weight: 700; background: linear-gradient(95deg, #F08422 0%, #E8506F 55%, #9B6BE3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em }
.soon .desc { font-size: 19px; color: #5E3F38 }
.civs { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; list-style: none; padding: 0 }
@media (min-width: 900px) { .civs { grid-template-columns: repeat(4, 1fr); gap: 16px } }
.civs figure { margin: 0; background: rgba(255, 255, 255, .7); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 8px 22px rgba(120, 60, 60, .12) }
.civs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100% }
.civs figcaption { padding: 10px 14px 12px; display: grid; gap: 2px }
.civs b { font: 700 19px/1.1 var(--display) }
.civs span { font-size: 14px; color: var(--ink-2); line-height: 1.3 }
.soon .note { position: relative; margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px }
.soon .note p { color: #5E3F38; font-weight: 600 }

/* ---------- family ---------- */
.perks { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0 }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1000px) { .perks { grid-template-columns: repeat(4, 1fr) } }
.perks li { background: var(--cream); border-radius: var(--r-md); padding: 24px 22px; display: grid; gap: 10px; align-content: start }
.perks .ico { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--c) }
.perks .ico svg { width: 30px; height: 30px }
.perks h3 { font-size: 21px }
.perks p { color: var(--ink-2); font-size: 16px }

/* ---------- about ---------- */
.about { display: grid; gap: 28px; align-items: center }
@media (min-width: 860px) { .about { grid-template-columns: .8fr 1.2fr; gap: 48px } }
.about .pic { justify-self: center; width: min(70vw, 300px); aspect-ratio: 1; border-radius: 50%; background: var(--sky-soft); display: grid; place-items: center }
.about .pic img { width: 76% }
.about h2 { font-size: clamp(30px, 4.6vw, 44px) }
.about p { color: var(--ink-2); font-size: 18px; margin-top: 14px }

/* ---------- footer ---------- */
.foot { background: var(--pink-soft); margin-top: 0; padding-block: 44px 36px }
.foot .wrap { display: grid; gap: 22px }
@media (min-width: 820px) { .foot .wrap { grid-template-columns: 1.2fr 1fr; align-items: start } }
.foot .brand { font-size: 24px }
.foot .brand img { width: 52px; height: 48px }
.foot p { color: var(--ink-2); margin-top: 10px; max-width: 28em }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 16px/1.3 var(--display) }
.foot nav a { color: var(--ink); text-decoration: none }
.foot nav a:hover { color: var(--pink-2) }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid rgba(232, 91, 138, .18); padding-top: 18px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between }
@media (max-width: 720px) { .foot .brand { font-size: 22px } }

/* ---------- documents (privacy, terms, support) ---------- */
.doc-hero { padding-block: 40px 8px; text-align: center }
.doc-hero h1 { font-size: clamp(36px, 6vw, 56px) }
.doc-hero p { color: var(--ink-2); margin-top: 10px }
.doc { max-width: 820px; margin: 24px auto 64px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px 20px 36px }
@media (min-width: 720px) { .doc { padding: 44px 52px 52px } }
.doc h2 { font-size: 26px; margin: 34px 0 10px }
.doc h2:first-child { margin-top: 0 }
.doc h3 { font-size: 20px; margin: 22px 0 6px }
.doc p, .doc li { color: #5B4039 }
.doc p + p { margin-top: 12px }
.doc ul { padding-left: 22px; margin: 10px 0 }
.doc li + li { margin-top: 6px }
.doc .meta { font-size: 15px; color: var(--ink-2); font-weight: 700; margin-bottom: 14px }
.doc .short { background: var(--butter-soft); border-radius: var(--r-sm); padding: 18px 20px; margin: 18px 0 8px }
.doc .short ul { margin: 6px 0 0 }
.doc > [lang]:not([hidden]) ~ [lang]:not([hidden]) { margin-top: 56px; padding-top: 30px; border-top: 2px dashed var(--line) }
html.js .doc [lang][hidden] { display: none }
.langbar { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap }
.langbar a { font: 600 15px/1 var(--display); text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px }
.langbar a[aria-current="true"] { background: var(--butter); border-color: var(--butter) }
.contact { display: grid; gap: 16px; background: var(--sky-soft); border-radius: var(--r-md); padding: 22px; margin: 6px 0 26px }
@media (min-width: 640px) { .contact { grid-template-columns: 1fr auto; align-items: center } }
.contact b { font: 700 22px/1.2 var(--display) }
.contact p { margin-top: 4px }
details { border-radius: var(--r-sm); background: var(--cream); padding: 0 18px; margin-top: 10px }
details summary { cursor: pointer; font: 600 18px/1.3 var(--display); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px }
details summary::-webkit-details-marker { display: none }
details summary::after { content: "+"; font-size: 24px; line-height: .9; color: var(--pink-2); transition: transform .2s }
details[open] summary::after { transform: rotate(45deg) }
details > div { padding-bottom: 16px }

.nf { text-align: center; padding-block: 64px 96px }
.nf img { width: 220px; margin: 0 auto 10px; animation: squish 3.2s ease-in-out infinite; transform-origin: 50% 92% }
.nf h1 { font-size: clamp(34px, 6vw, 52px) }
.nf p { color: var(--ink-2); margin: 12px auto 26px; max-width: 30em }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}

/* =====================================================================
   v2: game tiles on the home page, and one themed world per game
   ===================================================================== */
@font-face { font-family: "Baloo 2"; font-weight: 600; font-display: swap; src: url("../fonts/baloo-2-latin-600-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"); }
@font-face { font-family: "Alegreya"; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/alegreya-latin-400-italic.woff2") format("woff2"); }

/* ---------- home: game tiles ---------- */
.tiles { display: grid; gap: 22px }
@media (min-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; gap: 28px } }
.tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s }
@media (min-width: 900px) { .tile { min-height: 560px } }
.tile:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(74, 46, 42, .18); color: #fff }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease }
.tile:hover > img { transform: scale(1.05) }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, var(--tint, rgba(20, 40, 80, .82)) 78%) }
.tile .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 26px; display: grid; gap: 12px }
@media (min-width: 720px) { .tile .in { padding: 34px 34px 32px } }
.tile .ttop { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px }
.tile .ttop img { width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25) }
.tile .pill { font: 700 14px/1 var(--display); padding: 9px 13px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); white-space: nowrap }
.tile .pill.soon { background: var(--lilac); color: #fff; box-shadow: 0 4px 0 #7E5DD6 }
.tile h3 { font-size: clamp(30px, 4.4vw, 44px); text-shadow: 0 3px 14px rgba(0, 0, 0, .35) }
.tile h3 small { display: block; font: 700 15px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; opacity: .9; margin-bottom: 6px }
.tile p { font-size: 18px; line-height: 1.45; max-width: 30em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35) }
.tile .plats { display: flex; flex-wrap: wrap; gap: 8px }
.tile .plats span { font: 600 13px/1 var(--display); padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(4px) }
.tile .go { justify-self: start; margin-top: 4px }
.tile.sb { --tint: rgba(24, 58, 110, .86) }
.tile.dawn { --tint: rgba(120, 44, 40, .86) }

/* ---------- game pages: shared ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--display); color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75) }
.back:hover { color: var(--ink); background: #fff }
.g-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate }
.g-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2 }
.g-hero .wrap { position: relative; padding-block: 22px 72px; min-height: min(86vh, 760px); display: grid; align-content: space-between; gap: 30px }
.g-hero .lead { font-size: clamp(18px, 2.3vw, 22px); max-width: 32em; margin-inline: auto; text-shadow: 0 2px 12px rgba(0, 0, 0, .35) }
.g-hero .stores { justify-content: center }
.g-hero .badge { justify-self: center }
.g-hero .lead { background: var(--leadbg, rgba(16, 40, 80, .42)); padding: 12px 18px; border-radius: 18px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px) }
.pg-dawn .g-hero .lead { --leadbg: rgba(80, 26, 16, .42) }
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 34%; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0)) }
.g-hero .stores .btn { --bg: rgba(255, 255, 255, .95); --sh: rgba(0, 0, 0, .18) }
.g-sec { padding-block: 72px }
.g-head { text-align: center; max-width: 42em; margin: 0 auto 40px }
.g-head h2 { font-size: clamp(32px, 5vw, 50px) }
.g-head p { margin-top: 12px; font-size: 19px }
.steps { display: grid; gap: 18px; counter-reset: st; list-style: none; padding: 0; margin: 28px 0 0 }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr) } }
.steps li { counter-increment: st; border-radius: var(--r-md); padding: 22px 22px 22px 74px; position: relative; background: var(--card, #fff) }
.steps li::before { content: counter(st); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--display); color: #fff; background: var(--accent, var(--pink)) }
.steps b { display: block; font: 700 20px/1.2 var(--display); margin-bottom: 4px }
.device { border-radius: 30px; padding: 12px; background: #1d2433; box-shadow: 0 30px 70px rgba(20, 30, 60, .28); max-width: 980px; margin: 0 auto }
.device img { border-radius: 20px; width: 100% }
.gal { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 18px; margin-inline: -16px; list-style: none; margin-block: 0; scrollbar-width: thin }
@media (min-width: 720px) { .gal { margin-inline: -28px; padding-inline: 28px } }
.gal li { scroll-snap-align: center }
.gal figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(20, 40, 80, .12) }
.gal img { aspect-ratio: 16 / 9; object-fit: cover; width: 100% }
.gal figcaption { padding: 12px 16px 14px; font: 700 17px/1.2 var(--display); color: var(--ink) }
.split { display: grid; gap: 28px; align-items: center }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px } .split.rev > :first-child { order: 2 } }
.split h2 { font-size: clamp(30px, 4.4vw, 44px) }
.split p { margin-top: 14px; font-size: 18px }
.split ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px }
.split li { padding-left: 34px; position: relative; font-size: 17px }
.split li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent, var(--pink)); box-shadow: 0 0 0 4px var(--accent-soft, var(--pink-soft)) }
.feat { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0 }
@media (min-width: 640px) { .feat { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1000px) { .feat { grid-template-columns: repeat(4, 1fr) } }
.feat li { background: var(--card, #fff); border-radius: var(--r-md); padding: 22px }
.feat b { display: block; font: 700 19px/1.2 var(--display); margin-bottom: 6px }
.feat span { font-size: 16px; opacity: .85 }
.chipcloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 26px auto 0; max-width: 980px }
.chipcloud li { font: 600 15px/1.2 var(--display); padding: 9px 14px; border-radius: 999px; background: var(--card, #fff); box-shadow: 0 2px 0 rgba(0, 0, 0, .05) }
.cta-band { text-align: center; padding-block: 64px 72px }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 46px) }
.cta-band .stores { justify-content: center; margin-top: 22px }
.cta-band .legal-links { margin-top: 18px }

/* ---------- Solitaire Bible 3D: sky, gold and parchment ---------- */
.pg-sb { --sky1: #7cc8f2; --sky2: #d9f1ff; --gold: #f2b52e; --gold-2: #d38d0e; --parch: #fbf1d9; --navy: #1f3a66; --accent: var(--gold); --accent-soft: #fff0c4; --card: #fff; background: linear-gradient(180deg, #e8f6ff 0, #f7fbff 40%, #fff9ec 100%) }
.pg-sb .g-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 110, 180, .55) 0%, rgba(40, 110, 180, 0) 40%, rgba(16, 40, 80, .15) 62%, rgba(16, 40, 80, .75) 100%) }
.sb-logo { text-align: center; display: grid; justify-items: center; gap: 0; margin-top: 8vh }
.sb-logo .s { font: 800 clamp(24px, 4vw, 40px)/1 "Baloo 2", var(--display); letter-spacing: .06em; color: #ffd45a; text-shadow: 0 3px 0 #b8741a, 0 8px 24px rgba(0, 0, 0, .3) }
.sb-logo .b { font: 700 clamp(84px, 16vw, 168px)/.95 "Alegreya", Georgia, serif; color: #fff; text-shadow: 0 5px 0 #3a6ea8, 0 14px 40px rgba(0, 0, 0, .35); display: inline-flex; align-items: flex-end; gap: .12em }
.sb-logo .d { font: 800 .32em/1 "Baloo 2", var(--display); color: #ffd45a; background: #fff; padding: .16em .3em .08em; border-radius: .3em; color: #d38d0e; box-shadow: 0 5px 0 #d38d0e; margin-bottom: .35em; text-shadow: none }
.sb-status { display: inline-flex; gap: 8px; align-items: center; font: 700 15px/1 var(--display); background: rgba(255, 255, 255, .92); color: #2f7a44; padding: 9px 14px; border-radius: 999px }
.sb-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--matcha); animation: pulse 1.8s ease-in-out infinite }
.pg-sb .g-head h2, .pg-sb .split h2, .pg-sb .cta-band h2 { color: var(--navy) }
.pg-sb .g-head p, .pg-sb .split p, .pg-sb .split li { color: #4b5f80 }
.pg-sb .cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .9; filter: blur(1px); animation: drift 38s linear infinite; z-index: -1 }
.pg-sb .cloud::before, .pg-sb .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50% }
.pg-sb .cloud::before { width: 55%; height: 170%; left: 12%; bottom: 20% }
.pg-sb .cloud::after { width: 40%; height: 130%; right: 14%; bottom: 25% }
@keyframes drift { from { transform: translateX(-30vw) } to { transform: translateX(130vw) } }
.scroll-img { border-radius: 22px; box-shadow: 0 24px 60px rgba(60, 40, 10, .22) }
.heaven { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% 30%, #fff6d6 0%, #ffd97a 22%, #b98ae8 62%, #5a4fb0 100%) }
.heaven .g-head h2 { color: #fff; text-shadow: 0 3px 16px rgba(80, 40, 120, .45) }
.heaven .g-head p { color: #fffaf0; text-shadow: 0 1px 8px rgba(80, 40, 120, .4) }
.crosses { display: flex; justify-content: center; align-items: flex-end; gap: clamp(6px, 2vw, 22px); flex-wrap: wrap; list-style: none; padding: 0; margin: 0 }
.crosses li { width: clamp(64px, 10vw, 110px); text-align: center; animation: bob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.5s) }
.crosses img { width: 100%; filter: drop-shadow(0 10px 18px rgba(80, 40, 120, .35)) }
.crosses span { display: block; font: 700 12px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; opacity: .95 }
@keyframes bob { 50% { transform: translateY(-10px) } }
.heaven .split p, .heaven .split li { color: #fffaf0 }
.heaven .split h2 { color: #fff }
.heaven .gift { max-width: 380px; margin: 0 auto; border-radius: 26px; box-shadow: 0 28px 70px rgba(60, 20, 100, .45); transform: rotate(-2deg) }

/* ---------- Dawn of Civilizations: sunrise, clay and lapis ---------- */
.pg-dawn { --clay: #c8683a; --clay-2: #9e4a24; --sand: #f6e3c0; --lapis: #2f56a8; --gold: #f2b52e; --ink-d: #4a2a1c; --accent: var(--clay); --accent-soft: #ffe0cc; --card: rgba(255, 255, 255, .78); background: linear-gradient(180deg, #fff1e0 0, #ffe7d6 40%, #f6e3c0 100%) }
.pg-dawn .g-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 150, 90, .55) 0%, rgba(255, 150, 90, 0) 42%, rgba(90, 30, 20, .2) 62%, rgba(80, 26, 16, .8) 100%) }
.dawn-logo { text-align: center; display: grid; justify-items: center; margin-top: 8vh }
.dawn-logo small { font: 700 clamp(16px, 2.4vw, 22px)/1 var(--display); letter-spacing: .4em; text-transform: uppercase; color: #fff4d6; text-shadow: 0 2px 10px rgba(80, 30, 10, .5) }
.dawn-logo b { font: 800 clamp(52px, 10vw, 118px)/.95 "Baloo 2", var(--display); background: linear-gradient(180deg, #fff6cf 10%, #ffc15a 55%, #ff8a4a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 #9e4a24) drop-shadow(0 16px 30px rgba(80, 20, 10, .4)); padding: .05em .1em }
.frieze { height: 18px; background: repeating-linear-gradient(90deg, var(--lapis) 0 14px, var(--gold) 14px 18px, var(--lapis) 18px 32px, #fff4d6 32px 36px); opacity: .95 }
.pg-dawn .g-head h2, .pg-dawn .split h2, .pg-dawn .cta-band h2 { color: var(--ink-d) }
.pg-dawn .g-head p, .pg-dawn .split p, .pg-dawn .split li, .pg-dawn .feat span { color: #6e4634 }
.mapbox { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(90, 40, 20, .25); background: #43b6db }
.mapbox svg { display: block; width: 100%; height: auto }
.mapbox .hud { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none }
.mapbox .year { font: 800 clamp(26px, 4.6vw, 46px)/1 "Baloo 2", var(--display); color: #fff; background: rgba(74, 42, 28, .78); padding: 8px 16px 4px; border-radius: 16px; font-variant-numeric: tabular-nums }
.mapbox .cap { max-width: 22em; font: 600 clamp(14px, 1.8vw, 17px)/1.3 var(--display); color: var(--ink-d); background: rgba(255, 255, 255, .92); padding: 10px 14px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transition: opacity .3s }
.mapctl { display: flex; align-items: center; gap: 14px; margin-top: 16px }
.mapctl button { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--clay); color: #fff; box-shadow: 0 5px 0 var(--clay-2); cursor: pointer; display: grid; place-items: center }
.mapctl button svg { width: 22px; height: 22px }
.mapctl input { flex: 1; accent-color: var(--clay); height: 30px }
.mapctl span { font: 700 14px/1 var(--display); color: #6e4634; white-space: nowrap }
.city circle.dot { transition: r .4s cubic-bezier(.3, 1.8, .5, 1) }
.maplegend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; list-style: none; padding: 0 }
.maplegend li { font: 600 14px/1 var(--display); color: var(--ink-d); display: inline-flex; align-items: center; gap: 7px; background: var(--card); padding: 7px 11px; border-radius: 999px }
.maplegend i { width: 12px; height: 12px; border-radius: 50%; background: var(--c) }
.minds { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0 }
@media (min-width: 640px) { .minds { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1000px) { .minds { grid-template-columns: repeat(4, 1fr) } }
.minds li { background: var(--card); border-radius: var(--r-md); padding: 20px; display: grid; gap: 6px }
.minds .who { display: flex; align-items: center; gap: 12px }
.minds .ini { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 "Baloo 2", var(--display); color: #fff; background: var(--c) }
.minds b { font: 700 18px/1.15 var(--display); color: var(--ink-d) }
.minds small { display: block; font-size: 13px; color: #8a6450 }
.minds q { font: italic 400 17px/1.4 "Alegreya", Georgia, serif; color: #5a3a2a; quotes: "“" "”" }
.treasures li { background: var(--card) }

.devices { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.3 var(--display); background: rgba(255, 255, 255, .92); color: var(--ink); padding: 9px 14px; border-radius: 999px; margin: 0 }
.devices svg { width: 20px; height: 20px; flex: none }
.devices.dark { background: var(--card, #fff); margin-top: 14px }
