:root {
  --ink: #2b2350;
  --soft: #5d5780;
  --pink: #d6166b;
  --pink-l: #ffe3f0;
  --purple: #7c3aed;
  --sky: #dff3ff;
  --sun: #ffd23f;
  --mint: #d9f7ea;
  --r: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
.wrap { max-width: 1140px; margin: auto; padding: 0 16px; }
section { padding: 56px 0; position: relative; }
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); font-weight: 900; line-height: 1.05; margin: 0 0 16px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 900; line-height: 1.15; margin: 0 0 16px; }
h3 { font-size: 1.25rem; margin: 0 0 6px; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--pink); background: var(--pink-l); padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

.btn {
  display: inline-block; font: inherit; font-weight: 800; color: #fff; background: var(--pink);
  padding: 12px 26px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 #a30f51; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #a30f51; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #a30f51; }
.soon { display: inline-block; font-weight: 800; padding: 10px 20px; border-radius: 999px; background: #fff; border: 2px dashed var(--purple); color: var(--purple); }

/* header */
.nav { position: sticky; top: 0; z-index: 20; background: #fffffff2; backdrop-filter: blur(8px); box-shadow: 0 2px 14px #2b235012; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 900; color: var(--ink); text-decoration: none; }
.logo img { width: 44px; height: 44px; border-radius: 12px; }
.logo span span { color: var(--pink); }
.icon-btn { font-size: 1.4rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pink-l); cursor: pointer; }
#menu { display: none; flex-basis: 100%; flex-direction: column; gap: 12px; padding: 8px 0 12px; }
#menu.open { display: flex; }
#menu a:not(.btn) { color: var(--ink); font-weight: 800; text-decoration: none; }
#menu a:not(.btn):hover { color: var(--pink); }

/* hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); padding-top: 40px; overflow: hidden; text-align: center; }
.hero .lead { margin-inline: auto; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.tablet { max-width: 880px; margin: 32px auto 0; padding: 12px; background: #1d1b3a; border-radius: 34px; box-shadow: 0 30px 60px #2b235040; }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: var(--sky); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: fade 20s infinite; }
.screen img:nth-child(1) { animation-delay: -.8s; }
.screen img:nth-child(2) { animation-delay: 3.2s; }
.screen img:nth-child(3) { animation-delay: 7.2s; }
.screen img:nth-child(4) { animation-delay: 11.2s; }
.screen img:nth-child(5) { animation-delay: 15.2s; }
@keyframes fade { 0% { opacity: 0; transform: scale(1.06); } 4%, 20% { opacity: 1; } 24%, 100% { opacity: 0; transform: scale(1); } }
.floater { display: none; position: absolute; width: 120px; animation: bob 5s ease-in-out infinite; pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-18px) rotate(4deg); } }

/* stats */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; padding: 0; margin: 0; list-style: none; text-align: center; font-weight: 700; color: var(--soft); }
.stats b { display: block; font-size: 2.4rem; font-weight: 900; color: var(--pink); line-height: 1.1; }

/* info rows */
.row { display: grid; gap: 28px; align-items: center; }
.row img { border-radius: var(--r); box-shadow: 0 16px 40px #2b235026; }
.tint-pink { background: var(--pink-l); }
.tint-sky { background: var(--sky); }
.tint-mint { background: var(--mint); }
.wave { border-radius: 48px; margin: 0 8px; }

/* games */
.game { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: 0 10px 30px #2b23501a; margin-top: 28px; }
.game-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.game-head img { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; box-shadow: 0 6px 16px #2b235033; transition: transform .3s; }
.game:hover .game-head img { transform: rotate(-6deg) scale(1.08); }
.game-head div { flex: 1 1 220px; }
.game-head p { margin: 0; color: var(--soft); }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 4px 10px; margin: 0; list-style: none; }
.shots li { flex: none; scroll-snap-align: start; }
.shots img { height: 200px; width: auto; border-radius: 18px; transition: transform .25s; }
.shots img:hover { transform: scale(1.04) rotate(-1deg); }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: 0; margin: 28px 0 0; list-style: none; }
.card { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 8px 24px #2b235014; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 16px 34px #2b235026; }
.card .icon { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
.card p { margin: 0; color: var(--soft); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; }
.badges li { background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 800; box-shadow: 0 4px 12px #2b235014; }

address { font-style: normal; }
.demo { background: var(--sun); border-radius: 6px; padding: 0 6px; font-weight: 800; font-size: .8em; }

footer { background: var(--ink); color: #fff; padding: 36px 0; text-align: center; }
footer a { color: #fff; }
footer nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; font-weight: 700; }

/* legal pages */
.legal { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 36px; }
.legal table { width: 100%; border-collapse: collapse; }
.legal th, .legal td { text-align: left; padding: 8px; border: 1px solid #ddd8f0; vertical-align: top; }
.note { background: var(--mint); border-radius: 18px; padding: 16px 20px; }

/* scroll reveal: only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  #menu { display: flex; flex-basis: auto; flex-direction: row; align-items: center; gap: 26px; padding: 0; }
  section { padding: 84px 0; }
  .row { grid-template-columns: 1fr 1fr; gap: 56px; }
  .row.flip > :first-child { order: 2; }
  .shots img { height: 260px; }
  .wave { margin: 0 24px; }
}
@media (min-width: 1100px) {
  .floater { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .screen img:first-child { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Theme: Deep Ocean. Delete this block to return to the light look. */
:root { --ink: #ffffff; --soft: #cfe6ff; --pink: #ffd23f; --pink-l: #ffffff1f; --purple: #7cd4ff; }
body { background: linear-gradient(180deg, #0a4a8a 0, #06224a 45%, #041a3a 100%); color: #fff; }
.nav { background: #06224af2; box-shadow: 0 2px 14px #0006; }
.logo, #menu a:not(.btn) { color: #fff; }
.hero { background: radial-gradient(ellipse at 50% -10%, #1e88d6 0, #0f63b0 45%, #0a4a8a 100%); }
.tablet { background: #021129; box-shadow: 0 30px 70px #000a; }
.btn { background: #ffd23f; color: #06224a; box-shadow: 0 6px 0 #c79a00; }
.btn:hover { box-shadow: 0 8px 0 #c79a00; }
.btn:active { box-shadow: 0 2px 0 #c79a00; }
.eyebrow { color: #06224a; background: #7cd4ff; }
.tint-pink, .tint-sky, .tint-mint { background: #ffffff14; }
.card, .game, .badges li, .note { background: #ffffff1a; border: 1px solid #ffffff40; box-shadow: none; }
.soon { background: transparent; }
.stats b { color: #ffd23f; }
.demo { color: #06224a; }
.icon-btn { background: #ffffff26; color: #fff; }
.legal th, .legal td { border-color: #ffffff40; }
footer { background: #020e24; }
