/* smileworks: candy tiles, soft gradients, lots of bounce. */
:root {
  --ink: #2a1f4d;
  --ink-soft: #5b4f86;
  --cream: #fff6ec;
  --lav: #f1ebff;
  --violet: #6d5ce8;
  --violet-deep: #3b2a8c;
  --pink: #f472b6;
  --blue: #3b82f6;
  --red: #ef4b4b;
  --yellow: #fbbf24;
  --green: #34b36a;
  --orange: #fb923c;
  --indigo: #6366f1;
  --teal: #14b8a6;
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(59, 42, 140, 0.45);
  --cell: min(10.4vw, 52px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .brand, .btn, .pill { font-family: "Fredoka", "Nunito", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- candy tile ---------- */
.tile {
  --c: var(--blue);
  --d: color-mix(in srgb, var(--c) 62%, #000);
  --l: color-mix(in srgb, var(--c) 55%, #fff);
  width: var(--s, 44px);
  height: var(--s, 44px);
  border-radius: 28%;
  background: linear-gradient(160deg, var(--l), var(--c) 55%);
  box-shadow: 0 calc(var(--s, 44px) * 0.16) 0 var(--d),
    0 calc(var(--s, 44px) * 0.3) calc(var(--s, 44px) * 0.35) rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
}
.t-blue { --c: var(--blue); } .t-red { --c: var(--red); } .t-yellow { --c: var(--yellow); }
.t-green { --c: var(--green); } .t-orange { --c: var(--orange); } .t-indigo { --c: var(--indigo); }
.t-pink { --c: var(--pink); } .t-teal { --c: var(--teal); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 10px 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.solid { background: rgba(59, 42, 140, 0.88); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.4rem; letter-spacing: 0.2px; }
.brand .tile { --s: 24px; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.95rem; transition: background 0.2s, transform 0.2s;
}
.nav ul a:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
@media (max-width: 640px) { .nav ul li:not(:last-child) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding: 120px 0 90px; color: #fff;
  background:
    radial-gradient(60% 50% at 85% 12%, rgba(255, 214, 102, 0.35), transparent 70%),
    radial-gradient(70% 60% at 10% 90%, rgba(244, 114, 182, 0.55), transparent 70%),
    linear-gradient(160deg, #4b36c9 0%, #7a5cf0 45%, #c86dd7 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px; background: var(--cream);
  clip-path: ellipse(70% 100% at 50% 100%);
}
.float-tiles { position: absolute; inset: 0; pointer-events: none; }
.float-tiles .tile {
  position: absolute; pointer-events: auto; cursor: pointer; opacity: 0.95;
  left: var(--x); top: var(--y); --s: var(--size);
  animation: bob var(--dur, 7s) ease-in-out var(--delay, 0s) infinite;
  transform: translate(calc(var(--px, 0) * var(--depth, 1) * 1px), calc(var(--py, 0) * var(--depth, 1) * 1px)) rotate(var(--rot, 0deg));
}
.float-tiles .tile.pop { animation: popout 0.45s ease-in forwards; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
@keyframes popout { to { scale: 1.9; opacity: 0; } }
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700; font-size: 0.95rem; backdrop-filter: blur(6px);
}
.wordmark { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: clamp(3.2rem, 14vw, 8.5rem); line-height: 1; margin: 18px 0 6px; letter-spacing: -1px; display: flex; justify-content: center; flex-wrap: wrap; }
.wordmark span {
  display: inline-block; color: var(--c); text-shadow: 0 5px 0 rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.25);
  animation: drop 0.8s cubic-bezier(0.3, 1.6, 0.5, 1) both; animation-delay: calc(var(--i) * 70ms + 200ms);
  transition: transform 0.2s;
}
.wordmark span:hover { transform: translateY(-14px) rotate(-6deg) scale(1.1); }
@keyframes drop { from { transform: translateY(-120vh) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero h1 { margin: 0; font-size: clamp(1.4rem, 3.6vw, 2.2rem); font-weight: 600; text-wrap: balance; }
.hero p.lede { max-width: 620px; margin: 14px auto 28px; font-size: 1.15rem; opacity: 0.96; text-wrap: balance; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1.1rem; text-decoration: none; cursor: pointer; color: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-play { background: linear-gradient(180deg, #ffd23f, #fb923c); color: #4a2a00; box-shadow: 0 6px 0 #c2640f, 0 16px 28px -8px rgba(0, 0, 0, 0.4); animation: pulse 2.4s ease-in-out infinite; }
.btn-ghost { background: rgba(255, 255, 255, 0.16); border: 2px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.smile-count { margin-top: 26px; font-weight: 700; opacity: 0.95; }
.smile-count b { font-family: "Fredoka", sans-serif; font-size: 1.6rem; display: inline-block; min-width: 2ch; }
.hero-mascot { position: absolute; right: max(2vw, 8px); bottom: 70px; width: clamp(110px, 18vw, 220px); z-index: 3; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.3)); animation: wave 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wave { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg) translateY(-6px); } }

/* mascot svg */
.snuggle .blink { animation: blink 4.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
.snuggle .mouth-o { opacity: 0; } .snuggle.cheer .mouth-o { opacity: 1; } .snuggle.cheer .mouth-smile { opacity: 0; }

/* ---------- sections ---------- */
section { position: relative; padding: 90px 0; }
.kicker { font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--violet); letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 6px 0 14px; text-wrap: balance; }
.sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; text-wrap: pretty; }
.center { text-align: center; } .center .sub { margin-inline: auto; }

/* games */
.games { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 40px; }
@media (max-width: 860px) { .games { grid-template-columns: 1fr; } }
.card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.game-card { color: #fff; background: linear-gradient(160deg, #6d5ce8, #c86dd7); padding: 0; transition: transform 0.25s; }
.game-card img.feat-img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.game-body { padding: 24px 26px 28px; display: grid; gap: 12px; }
.game-head { display: flex; gap: 16px; align-items: center; }
.game-head img { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.game-head h3 { margin: 0; font-size: 2rem; line-height: 1; }
.game-head p { margin: 4px 0 0; opacity: 0.95; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-weight: 500; font-size: 0.92rem; }
.soon { background: #fff; color: var(--ink); text-align: center; display: grid; place-items: center; padding: 34px 26px; gap: 10px; background-image: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.25), transparent 40%), radial-gradient(circle at 85% 80%, rgba(20, 184, 166, 0.25), transparent 45%); }
.mystery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mystery .tile { --s: 52px; animation: wiggle 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * 140ms); }
.mystery .tile.q { display: grid; place-items: center; font-family: "Fredoka"; font-weight: 700; color: rgba(255, 255, 255, 0.9); font-size: 1.6rem; }
@keyframes wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg) translateY(-6px); } }
.soon h3 { margin: 6px 0 0; font-size: 1.6rem; }
.soon p { margin: 0; color: var(--ink-soft); }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); font-weight: 700; font-size: 0.95rem; border: 1px solid rgba(255, 255, 255, 0.35); }

/* demo */
.demo-sec { background: linear-gradient(180deg, var(--cream), var(--lav) 25%, var(--lav) 85%, var(--cream)); }
.demo { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-top: 36px; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; justify-items: center; text-align: center; } .demo .sub { margin-inline: auto; } }
.phone {
  width: calc(var(--cell) * 8 + 44px); padding: 16px 16px 18px; border-radius: 38px; background: #fff4ea;
  box-shadow: 0 0 0 8px #fff, 0 30px 60px -20px rgba(59, 42, 140, 0.6); position: relative; user-select: none;
}
.hud { display: flex; align-items: center; gap: 12px; padding: 2px 4px 12px; }
.hud .snuggle { width: 58px; flex: none; }
.hud .score { font-family: "Fredoka"; line-height: 1; }
.hud .score small { display: block; letter-spacing: 2px; font-size: 0.7rem; color: var(--ink-soft); }
.hud .score b { font-size: 2rem; color: var(--violet-deep); }
.hud .best { margin-left: auto; text-align: right; font-weight: 700; font-size: 0.85rem; color: var(--ink-soft); }
.bubble {
  position: absolute; left: 76px; top: -14px; background: #fff; border-radius: 16px; padding: 6px 14px; font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.4); opacity: 0; transform: translateY(6px) scale(0.9); transition: 0.25s; pointer-events: none; z-index: 5; white-space: nowrap;
}
.bubble.show { opacity: 1; transform: none; }
.board { display: grid; grid-template-columns: repeat(8, var(--cell)); grid-auto-rows: var(--cell); gap: 0; background: #2f2f68; padding: 0; border-radius: 16px; position: relative; overflow: hidden; }
.cell { position: relative; border: 3px solid transparent; }
.cell::before { content: ""; position: absolute; inset: 3px; background: rgba(255, 255, 255, 0.07); border-radius: 22%; }
.cell .tile { position: absolute; inset: 3px; width: auto; height: auto; --s: calc(var(--cell) - 6px); animation: land 0.28s cubic-bezier(0.3, 1.8, 0.5, 1); }
.cell.ghost::after { content: ""; position: absolute; inset: 3px; border-radius: 22%; background: var(--gc); opacity: 0.55; }
.cell.ghost.bad::after { background: #ff6b6b; opacity: 0.35; }
.cell.clearing .tile { animation: clear 0.38s ease-in forwards; }
.cell.preview-line::before { background: rgba(255, 220, 90, 0.35); }
@keyframes land { from { transform: scale(0.6); } to { transform: scale(1); } }
@keyframes clear { 40% { filter: brightness(1.7); transform: scale(1.2); } to { transform: scale(0); opacity: 0; } }
.board.shake { animation: shake 0.3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tray { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; height: calc(var(--cell) * 2.35); }
.slot { touch-action: none; border: 2px dashed rgba(109, 92, 232, 0.3); border-radius: 16px; display: grid; place-items: center; cursor: grab; position: relative; }
.slot.sel { border-color: var(--violet); background: rgba(109, 92, 232, 0.1); }
.slot.empty { opacity: 0.35; cursor: default; }
.piece { display: grid; gap: 0; --ps: calc(var(--cell) * 0.5); pointer-events: none; }
.piece .tile { --s: calc(var(--ps) - 3px); margin: 1.5px; }
.piece i { width: var(--ps); height: var(--ps); }
.drag { position: fixed; z-index: 100; pointer-events: none; display: grid; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.35)); transform: scale(1.04); }
.drag i { width: var(--cell); height: var(--cell); }
.drag .tile { --s: calc(var(--cell) - 6px); margin: 3px; }
.demo-btns { display: flex; gap: 10px; margin-top: 14px; }
.mini { flex: 1; padding: 11px 0; border: 0; border-radius: 16px; font-family: "Fredoka"; font-weight: 600; font-size: 1rem; color: #fff; cursor: pointer; transition: transform 0.15s; }
.mini:hover { transform: translateY(-2px); } .mini:active { transform: translateY(2px); }
.mini.a { background: #3fcfa5; box-shadow: 0 5px 0 #20987a; } .mini.b { background: #fa6e5d; box-shadow: 0 5px 0 #c24233; } .mini.c { background: #5b4be6; box-shadow: 0 5px 0 #3a2db0; }
.float-pop { position: fixed; z-index: 120; pointer-events: none; font-family: "Fredoka"; font-weight: 700; font-size: 1.7rem; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), 0 0 12px rgba(251, 146, 60, 0.9); animation: rise 1s ease-out forwards; }
@keyframes rise { to { transform: translateY(-70px) scale(1.2); opacity: 0; } }
.over { position: absolute; inset: 0; border-radius: 38px; background: rgba(42, 31, 77, 0.82); display: grid; place-content: center; text-align: center; color: #fff; gap: 10px; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 10; padding: 20px; }
.over.show { opacity: 1; pointer-events: auto; }
.over .snuggle { width: 110px; margin: 0 auto; } .over h3 { margin: 0; font-size: 1.8rem; } .over p { margin: 0 0 6px; }
.demo-copy ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.demo-copy li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.demo-copy li .tile { --s: 26px; flex: none; }
canvas#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 110; }
.snd { position: absolute; right: 14px; top: -16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.4); cursor: pointer; font-size: 1.1rem; }

/* gallery: 3D coverflow */
.gallery { margin-top: 24px; position: relative; }
.gallery::before { content: ""; position: absolute; left: 50%; bottom: 74px; width: min(900px, 90%); height: 90px; translate: -50% 0; background: radial-gradient(closest-side, rgba(109, 92, 232, 0.35), transparent); filter: blur(10px); z-index: 0; }
.rail { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px max(16px, calc((100vw - 1120px) / 2)) 56px; scroll-padding-inline: max(16px, calc((100vw - 1120px) / 2)); scrollbar-width: none; position: relative; z-index: 1; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: none; width: min(260px, 66vw); scroll-snap-align: start; border-radius: 38px; padding: 8px; background: linear-gradient(145deg, #4a39a8, #17103a); box-shadow: 0 0 0 2px #9a8bff, 0 40px 60px -24px rgba(59, 42, 140, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.25); position: relative; transition: transform 0.25s ease-out, opacity 0.25s; cursor: pointer; will-change: transform; }
.shot img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; display: block; background: #2a1f4d; }
.shot::after { content: ""; position: absolute; inset: 8px; border-radius: 30px; pointer-events: none; background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.22) 46%, transparent 58%); }
.dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 18px; }
.dots i { width: 10px; height: 10px; border-radius: 999px; background: rgba(109, 92, 232, 0.3); cursor: pointer; transition: width 0.25s, background 0.25s; }
.dots i.on { width: 30px; background: var(--violet); }
.arrows { display: flex; justify-content: center; gap: 12px; }
.arr { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--violet); color: #fff; font-size: 1.4rem; cursor: pointer; box-shadow: 0 5px 0 var(--violet-deep); }
.arr:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--violet-deep); }

/* shapes */
.shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.shape { background: #fff; border-radius: 24px; padding: 20px 14px; text-align: center; box-shadow: var(--shadow); transition: transform 0.2s; }
.shape:hover { transform: translateY(-6px) rotate(-1deg); }
.shape:hover .tile { animation: wiggle 0.6s ease-in-out infinite; }
.shape .grid { display: grid; gap: 3px; justify-content: center; margin: 0 auto 12px; min-height: 84px; align-content: center; }
.shape .grid .tile { --s: 24px; } .shape .grid i { width: 24px; height: 24px; }
.shape b { font-family: "Fredoka"; font-size: 1.1rem; display: block; } .shape span { color: var(--ink-soft); font-size: 0.92rem; }

/* features */
.features { background: var(--lav); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 38px; }
.feat { background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.feat .tile { --s: 40px; margin-bottom: 18px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; }
.feat h3 { margin: 0 0 6px; font-size: 1.3rem; } .feat p { margin: 0; color: var(--ink-soft); }

/* meet */
.meet { background: linear-gradient(160deg, #4b36c9, #c86dd7); color: #fff; overflow: hidden; }
.meet .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .meet .wrap { grid-template-columns: 1fr; text-align: center; } .meet .sub { margin-inline: auto; } }
.meet .kicker { color: #ffe08a; } .meet .sub { color: rgba(255, 255, 255, 0.94); }
.meet .big { width: min(340px, 70vw); margin: auto; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.3)); cursor: pointer; transition: scale 0.2s, rotate 0.2s; }
.meet .big:hover { scale: 1.05; rotate: -2deg; }

footer { background: #231a4a; color: #d9d2ff; padding: 50px 0 40px; text-align: center; }
footer .brand { justify-content: center; margin-bottom: 10px; }
footer nav { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
footer nav a { text-decoration: none; font-weight: 700; } footer nav a:hover { color: #ffd23f; }
footer small { display: block; opacity: 0.75; margin-top: 8px; }
.sparkle { position: fixed; width: 12px; height: 12px; pointer-events: none; z-index: 60; background: radial-gradient(circle, #fff 0 30%, transparent 70%); border-radius: 50%; animation: spark 0.7s ease-out forwards; }
@keyframes spark { to { transform: translateY(18px) scale(0); opacity: 0; } }
.reveal { opacity: 0; translate: 0 26px; transition: opacity 0.7s, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* ================= v2: 3D, scenes, sales ================= */
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; text-align: left; }
.hero-copy .cta, .hero-copy .smile-count { justify-content: flex-start; }
.wordmark { justify-content: flex-start; font-size: clamp(3rem, 9.5vw, 7rem); }
.hero p.lede { margin-inline: 0; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .cta, .hero-copy .smile-count, .wordmark { justify-content: center; }
  .hero p.lede { margin-inline: auto; }
}
.stage { perspective: 1300px; display: grid; place-items: center; min-height: 520px; }
.phone3d { --rx: 8deg; --ry: -18deg; position: relative; width: min(290px, 64vw); aspect-ratio: 540 / 960; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.12s linear; }
.phone3d .glow { position: absolute; inset: 8% -18% -6%; background: radial-gradient(closest-side, rgba(255, 214, 102, 0.75), rgba(244, 114, 182, 0.35) 60%, transparent 75%); filter: blur(24px); transform: translateZ(-80px); }
.bezel { position: absolute; inset: 0; border-radius: 40px; padding: 10px; background: linear-gradient(145deg, #3a2a7a, #151033); box-shadow: 0 0 0 3px #7c6bff, 0 50px 80px -20px rgba(0, 0, 0, 0.6), 24px 30px 0 -6px rgba(20, 10, 60, 0.45); overflow: hidden; transform: translateZ(0); }
.bezel img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.sheen { position: absolute; inset: 0; border-radius: 40px; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 45%, transparent 58%); pointer-events: none; }
.layer { position: absolute; pointer-events: none; }
.l1 { top: 22%; right: -28%; transform: translateZ(120px); animation: bobz 4s ease-in-out infinite; }
.l2 { top: 6%; left: -16%; transform: translateZ(150px); animation: bobz 5s ease-in-out -1s infinite; } .l2 .tile { --s: 62px; }
.l3 { bottom: 26%; right: -20%; transform: translateZ(170px); animation: bobz 6s ease-in-out -2s infinite; } .l3 .tile { --s: 46px; }
.l4 { bottom: -6%; left: -26%; width: 46%; transform: translateZ(110px); filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.35)); animation: bobz 3.6s ease-in-out infinite; }
@keyframes bobz { 50% { translate: 0 -14px; } }
.bonus { display: inline-block; padding: 8px 16px; border-radius: 999px; font-family: "Fredoka"; font-weight: 700; color: #fff; background: linear-gradient(90deg, #f472b6, #fb923c); box-shadow: 0 8px 0 #b8456f, 0 18px 24px rgba(0, 0, 0, 0.35); white-space: nowrap; transform: rotate(8deg); }

/* tilt + glare */
[data-tilt] { position: relative; transform: perspective(900px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform 0.18s ease-out; will-change: transform; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.2s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.5), transparent 55%); }
[data-tilt].hot::after { opacity: 1; }
[data-tilt].hot { scale: 1.03; }

/* steps */
.steps-sec { background: linear-gradient(180deg, var(--cream), #ffe9f5 60%, var(--cream)); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 40px; }
.step { background: #fff; border-radius: 30px; padding: 20px 20px 26px; box-shadow: var(--shadow); text-align: center; }
.step h3 { font-size: 1.7rem; margin: 14px 0 4px; } .step h3 b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--violet); color: #fff; margin-right: 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-soft); }
.scene { height: 190px; border-radius: 22px; background: linear-gradient(160deg, #5a46d6, #a66be0); position: relative; overflow: hidden; display: grid; place-items: center; }
.mini-board { position: relative; width: 200px; height: 130px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); }
.mini-board .tile { --s: 34px; position: absolute; left: calc(var(--c0) * 40px + 3px); top: calc(var(--r0) * 40px + 3px); }
.mini-board .drop { animation: dropin 3.2s cubic-bezier(0.3, 1.5, 0.5, 1) infinite; }
@keyframes dropin { 0% { translate: 0 -130px; scale: 1.25; opacity: 0; } 25% { opacity: 1; } 45%, 90% { translate: 0 0; scale: 1; opacity: 1; } 100% { opacity: 0; } }
.mini-board .ring { position: absolute; left: 83px; top: 83px; width: 34px; height: 34px; border-radius: 12px; border: 3px solid #fff; opacity: 0; animation: ringp 3.2s ease-out infinite; }
@keyframes ringp { 0%, 44% { opacity: 0; transform: scale(1); } 50% { opacity: 1; } 80%, 100% { opacity: 0; transform: scale(2.2); } }
.pop-row { display: flex; gap: 8px; }
.pop-row .tile { --s: 34px; animation: poprow 3s ease-in infinite; animation-delay: calc(var(--k, 0) * 90ms); }
.pop-row .tile:nth-child(2) { --k: 1; } .pop-row .tile:nth-child(3) { --k: 2; } .pop-row .tile:nth-child(4) { --k: 3; } .pop-row .tile:nth-child(5) { --k: 4; }
@keyframes poprow { 0%, 30% { transform: none; filter: none; } 42% { filter: brightness(1.6); transform: scale(1.15); } 60%, 80% { transform: scale(0); opacity: 0; } 95%, 100% { transform: none; opacity: 1; filter: none; } }
.s-clear .plus { position: absolute; top: 40%; left: 50%; translate: -50% 0; font: 700 2rem "Fredoka"; color: #fff; font-style: normal; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.3); animation: plusup 3s ease-out infinite; opacity: 0; }
@keyframes plusup { 0%, 55% { opacity: 0; translate: -50% 20px; } 65% { opacity: 1; } 100% { opacity: 0; translate: -50% -36px; } }
.spark { position: absolute; width: 14px; height: 14px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: tw 1.6s ease-in-out infinite; }
.sp1 { left: 18%; top: 22%; } .sp2 { right: 16%; top: 30%; animation-delay: -0.5s; } .sp3 { left: 40%; bottom: 14%; animation-delay: -1s; }
@keyframes tw { 50% { transform: scale(1.6) rotate(45deg); opacity: 0.4; } }
.s-smile .snuggle { width: 130px; animation: dance 1.2s ease-in-out infinite; }
@keyframes dance { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-12px); } }
.conf { position: absolute; width: 10px; height: 16px; border-radius: 3px; top: -10px; animation: fall 2.6s linear infinite; }
.c1 { left: 12%; background: #fbbf24; } .c2 { left: 28%; background: #34b36a; animation-delay: -0.7s; } .c3 { left: 46%; background: #fff; animation-delay: -1.4s; }
.c4 { left: 62%; background: #fb923c; animation-delay: -0.3s; } .c5 { left: 78%; background: #3b82f6; animation-delay: -1.1s; } .c6 { left: 90%; background: #f472b6; animation-delay: -1.9s; }
@keyframes fall { to { transform: translateY(210px) rotate(540deg); } }

/* stats */
.stats { padding: 50px 0; background: linear-gradient(160deg, #4b36c9, #7a5cf0); color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; text-align: center; }
.stat { display: grid; justify-items: center; gap: 4px; }
.stat .tile { --s: 34px; } .stat b { font: 700 3.4rem/1 "Fredoka"; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); } .stat span:last-child { font-weight: 700; opacity: 0.95; }

/* final CTA + fab */
.final { background: radial-gradient(70% 80% at 50% 0%, #ffcf5a, transparent 60%), linear-gradient(160deg, #6d5ce8, #d36fd0); color: #fff; padding-bottom: 110px; overflow: hidden; }
.final .sub { margin-inline: auto; }
.final-img { width: min(760px, 92%); margin: 36px auto 30px; border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.85); }
.store-note { margin-top: 18px; font-weight: 700; opacity: 0.95; }
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70; padding: 14px 24px; border-radius: 999px; font: 600 1.05rem "Fredoka"; text-decoration: none; color: #4a2a00; background: linear-gradient(180deg, #ffd23f, #fb923c); box-shadow: 0 6px 0 #c2640f, 0 14px 24px rgba(0, 0, 0, 0.35); translate: 0 140%; transition: translate 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); }
.fab.show { translate: 0 0; }
.fab:hover { filter: brightness(1.06); }
@media (max-width: 900px) { .stage { min-height: 460px; } .l1 { right: -10%; } .l2 { left: -6%; } .l3 { right: -8%; } .l4 { left: -12%; } }

@media (max-width: 760px) { .shapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .float-tiles .tile:nth-child(n+11) { display: none; } .float-tiles .tile { opacity: 0.8; } }

.eyebrow-live { text-decoration: none; color: #fff; background: rgba(255, 255, 255, 0.22); transition: transform 0.2s, background 0.2s; }
.eyebrow-live:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.34); }
.livedot { width: 10px; height: 10px; border-radius: 50%; background: #5cff9a; box-shadow: 0 0 0 0 rgba(92, 255, 154, 0.7); animation: ping 1.8s infinite; display: inline-block; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(92, 255, 154, 0); } }
a.store-live { background: #fff; color: #1a6b3c; border-color: #fff; text-decoration: none; transition: transform 0.2s; }
a.store-live:hover { transform: translateY(-2px); }
.game-body .cta { gap: 10px; }

/* ================= v3: demo board styled like the iOS game (sky scene, pale recessed board, chunky icon buttons) ================= */
.demo-sec { background: linear-gradient(180deg, var(--cream) 0%, #d6ecff 9%, #e6f4ff 55%, #d9f1d2 100%); overflow: hidden; }
.demo-sec .wrap { position: relative; z-index: 2; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky i { position: absolute; display: block; }
.sky .sun { right: 8%; top: 70px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff6b0, #ffd95e 55%, rgba(255, 217, 94, 0)); box-shadow: 0 0 90px 40px rgba(255, 226, 120, 0.55); }
.sky .cloud { background: #fff; border-radius: 999px; opacity: 0.92; filter: drop-shadow(0 8px 10px rgba(110, 150, 200, 0.2)); animation: drift 60s linear infinite; }
.sky .cloud::before, .sky .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.sky .c1 { left: 4%; top: 150px; width: 170px; height: 46px; } .sky .c1::before { width: 70px; height: 70px; left: 24px; top: -34px; } .sky .c1::after { width: 54px; height: 54px; left: 86px; top: -22px; }
.sky .c2 { left: 58%; top: 330px; width: 210px; height: 54px; animation-duration: 80s; animation-delay: -30s; } .sky .c2::before { width: 84px; height: 84px; left: 30px; top: -42px; } .sky .c2::after { width: 64px; height: 64px; left: 112px; top: -26px; }
.sky .c3 { left: 22%; top: 560px; width: 140px; height: 38px; animation-duration: 70s; animation-delay: -12s; } .sky .c3::before { width: 56px; height: 56px; left: 20px; top: -28px; } .sky .c3::after { width: 44px; height: 44px; left: 70px; top: -18px; }
@keyframes drift { from { translate: -40px 0; } 50% { translate: 60px 0; } to { translate: -40px 0; } }
.sky .hill { bottom: -120px; border-radius: 50%; }
.sky .h1 { left: -10%; width: 70%; height: 300px; background: radial-gradient(ellipse at 50% 30%, #b9e6a6, #9ad98a); }
.sky .h2 { right: -12%; width: 75%; height: 340px; background: radial-gradient(ellipse at 50% 30%, #c9efb4, #a9e194); }
.sky .fl { width: 12px; height: 12px; border-radius: 50%; bottom: 60px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85); }
.sky .f1 { left: 12%; background: #f472b6; bottom: 70px; } .sky .f2 { left: 34%; background: #fbbf24; bottom: 40px; } .sky .f3 { left: 66%; background: #f472b6; bottom: 80px; } .sky .f4 { left: 86%; background: #fbbf24; bottom: 50px; }
.demo-copy ul { font-size: 1.05rem; }

.phone { width: calc(var(--cell) * 8 + 52px); padding: 20px 18px 18px; border-radius: 40px; background: linear-gradient(180deg, #ffffff, #eff1fc); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 44px 70px -30px rgba(59, 42, 140, 0.55), 0 12px 0 -4px rgba(130, 140, 210, 0.25); position: relative; }
.phone .gm { position: absolute; right: 4px; top: -34px; width: 86px; z-index: 6; filter: drop-shadow(0 10px 8px rgba(40, 30, 100, 0.25)); }
.bubble { left: auto; right: 96px; top: -26px; }
.hud { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 4px 10px; }
.hud .score small { display: block; letter-spacing: 3px; font-weight: 800; font-size: 0.72rem; color: #6b6b99; }
.hud .score b { font-size: 2.6rem; line-height: 1; color: #4c3fd1; text-shadow: 0 3px 0 rgba(76, 63, 209, 0.15); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill2 { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(#f1f3ff, #e2e6fb); box-shadow: 0 3px 0 #c6cbef; font: 700 0.78rem "Fredoka", sans-serif; letter-spacing: 0.06em; color: #6b6b99; }
.pill2 b { color: #2a1f4d; font-size: 0.95rem; letter-spacing: 0; }
.cdot { width: 9px; height: 9px; border-radius: 50%; background: #ff6f59; display: inline-block; }
.meter { height: 11px; border-radius: 999px; background: #dfe3f8; overflow: hidden; margin: 0 2px 12px; box-shadow: inset 0 2px 3px rgba(80, 90, 170, 0.25); }
.meter i { display: block; height: 100%; width: 6%; border-radius: 999px; background: linear-gradient(90deg, #35d3a6, #4be0b8); transition: width 0.5s; }
.meter.gold { height: 9px; margin: 4px 2px 14px; } .meter.gold i { width: 0; background: linear-gradient(90deg, #ffc93c, #ffb020); }
.board { background: linear-gradient(180deg, #e6e9fe, #d4d9f8); border: 4px solid #bdc4ee; border-radius: 24px; padding: 0; box-shadow: 0 6px 0 #aeb6e6, inset 0 3px 8px rgba(255, 255, 255, 0.8); overflow: hidden; }
.cell::before { background: #cfd5f4; border-radius: 26%; box-shadow: inset 0 3px 4px rgba(72, 82, 170, 0.38), 0 1px 0 rgba(255, 255, 255, 0.9); }
.cell.preview-line::before { background: #ffe9a8; }
.cell.ghost::after { border-radius: 26%; opacity: 0.6; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85) inset; }
.cell .tile { background: linear-gradient(165deg, var(--l), var(--c) 58%); }
.cell .tile::after { content: ""; position: absolute; left: 14%; top: 12%; width: 36%; height: 16%; border-radius: 999px; background: rgba(255, 255, 255, 0.55); transform: rotate(-8deg); }
.lvlrow { display: flex; justify-content: space-between; gap: 8px; padding: 12px 4px 0; font: 600 0.86rem "Fredoka", sans-serif; color: #2a1f4d; } .lvlrow span:last-child { color: #6b6b99; } .lvlrow b { color: #2a1f4d; }
.tray { gap: 10px; margin-top: 0; height: calc(var(--cell) * 2.5); }
.slot { border: 2px dashed rgba(112, 122, 200, 0.4); background: linear-gradient(180deg, rgba(214, 220, 248, 0.7), rgba(236, 239, 253, 0.6)); border-radius: 20px; }
.slot.sel { border-color: #5b4be6; background: rgba(91, 75, 230, 0.12); }
.piece { --ps: calc(var(--cell) * 0.66); }
.piece .tile { background: linear-gradient(165deg, var(--l), var(--c) 58%); }
.demo-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.gbtn { display: grid; justify-items: center; gap: 3px; padding: 10px 4px 9px; border: 0; border-radius: 18px; cursor: pointer; font: 700 0.85rem "Fredoka", sans-serif; color: #fff; transition: transform 0.12s; }
.gbtn svg { width: 24px; height: 24px; }
.gbtn:hover { transform: translateY(-3px); } .gbtn:active { transform: translateY(3px); }
.gbtn.y { color: #3a2a00; background: linear-gradient(#ffe27a, #ffc93c); box-shadow: 0 5px 0 #c99410, 0 10px 14px -6px rgba(201, 148, 16, 0.6); }
.gbtn.g { background: linear-gradient(#5ee3bd, #2fc79a); box-shadow: 0 5px 0 #1f9a76, 0 10px 14px -6px rgba(31, 154, 118, 0.6); } .gbtn.g.off { filter: grayscale(0.6); opacity: 0.85; }
.gbtn.r { background: linear-gradient(#ff8a78, #f6604c); box-shadow: 0 5px 0 #bf3f2f, 0 10px 14px -6px rgba(191, 63, 47, 0.6); }
.gbtn.b { background: linear-gradient(#7db8ff, #4a90f0); box-shadow: 0 5px 0 #2b66bd, 0 10px 14px -6px rgba(43, 102, 189, 0.6); }
.over { border-radius: 40px; }
@media (max-width: 520px) { .phone .gm { width: 70px; top: -28px; } .hud .score b { font-size: 2.1rem; } .pill2 { padding: 5px 9px; } }

/* ---- coming-soon games: index cards + per-game pages ---- */
.next-sec { background: var(--lav); }
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 900px) { .next { grid-template-columns: 1fr; } }
.next-card { display: grid; text-decoration: none; color: #fff; transition: transform 0.25s; background: var(--bg, #6d5ce8); }
.next-card:hover { transform: translateY(-6px); }
.next-card img.feat-img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.next-card .game-body { gap: 10px; }
.next-card .game-head img { width: 60px; height: 60px; border-radius: 18px; }
.next-card .game-head h3 { font-size: 1.6rem; }
.next-card p { margin: 0; }
.badge-soon { display: inline-block; justify-self: start; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font: 700 0.85rem "Fredoka", sans-serif; letter-spacing: 0.5px; }
.gp-hero { background: var(--bg); color: #fff; padding: 120px 0 64px; }
.gp-hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .gp-hero .wrap { grid-template-columns: 1fr; text-align: center; } .gp-hero .game-head, .gp-hero .tags { justify-content: center; } }
.gp-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: 14px 0 10px; }
.gp-hero .lead { font-size: 1.2rem; max-width: 560px; margin: 0 0 18px; }
.gp-hero .game-head img { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.gp-hero .feat-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.gp-sec { padding: 64px 0; }
.gp-sec h2 { margin-bottom: 18px; }
.gp-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 26px; }
.gp-about .feat { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.gp-about h3 { margin: 0 0 8px; }
.gp-about p { margin: 0; color: var(--ink-soft); }
.gp-shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; }
.gp-shots img { flex: none; width: min(250px, 62vw); aspect-ratio: 540 / 960; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); scroll-snap-align: start; border: 6px solid #1b1340; }
.gp-note { text-align: center; color: var(--ink-soft); font-weight: 700; }
.gp-back { display: inline-block; margin-top: 8px; font-weight: 700; color: #fff; }

/* ---- smile theme for game pages ---- */
.gp-hero { position: relative; overflow: hidden; }
.gp-hero::before, .gp-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none; }
.gp-hero::before { width: 420px; height: 420px; right: -120px; top: -140px; }
.gp-hero::after { width: 260px; height: 260px; left: -90px; bottom: -110px; }
.gp-hero .wrap { position: relative; z-index: 2; }
.gp-hero h1 { text-shadow: 0 4px 0 rgba(0,0,0,.18); }
.gp-hero .feat-img { transform: rotate(2deg); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.gp-hero .feat-img:hover { transform: rotate(-1deg) scale(1.03); }
.gp-hero .game-head img { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.smiley { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-left: .15em; border-radius: 50%; background: #ffd23f; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); position: relative; animation: wiggle 2.4s ease-in-out infinite; }
.smiley::before { content: ""; position: absolute; left: 24%; top: 30%; width: 14%; height: 14%; border-radius: 50%; background: #3b2a1c; box-shadow: .55em 0 0 #3b2a1c; }
.smiley::after { content: ""; position: absolute; left: 25%; top: 46%; width: 50%; height: 28%; border-bottom: .13em solid #3b2a1c; border-radius: 0 0 99px 99px; }
.gp-about .feat { transition: transform .25s cubic-bezier(.3,1.6,.5,1); border-top: 6px solid var(--accent, #6d5ce8); }
.gp-about .feat:nth-child(odd):hover { transform: translateY(-6px) rotate(-1.5deg); }
.gp-about .feat:nth-child(even):hover { transform: translateY(-6px) rotate(1.5deg); }
.gp-shots img { transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.gp-shots img:hover { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.next-card .game-head img { animation: bob 3.4s ease-in-out infinite; }
.next-card:nth-child(2) .game-head img { animation-delay: .5s; } .next-card:nth-child(3) .game-head img { animation-delay: 1s; }
.badge-soon::before { content: "\2728 "; }
@media (prefers-reduced-motion: reduce) { .gp-hero .game-head img, .next-card .game-head img, .smiley { animation: none; } }

/* ---- 3D premium game pages ---- */
.gp-hero .stage3d { perspective: 1100px; display: grid; place-items: center; min-height: 520px; position: relative; }
.gp-hero .phone3d { --rx: 6deg; --ry: -16deg; width: min(270px, 62vw); }
.gp-hero .phone3d .glow { background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,.25) 60%, transparent 75%); }
.gp-hero .phone3d .bezel { box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 50px 80px -20px rgba(0,0,0,.6), 24px 30px 0 -6px rgba(20,10,60,.4); }
.gp-hero .phone3d .icon3d { position: absolute; width: 34%; left: -22%; bottom: 8%; border-radius: 26%; transform: translateZ(140px) rotate(-8deg); box-shadow: 0 18px 30px rgba(0,0,0,.4); animation: bobz 4s ease-in-out infinite; }
.gp-hero .phone3d .chip { position: absolute; right: -30%; top: 14%; transform: translateZ(160px) rotate(8deg); padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 .95rem "Fredoka", sans-serif; box-shadow: 0 8px 0 rgba(0,0,0,.18), 0 18px 24px rgba(0,0,0,.3); animation: bobz 5s ease-in-out -1s infinite; white-space: nowrap; }
.decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.decor i { position: absolute; bottom: -60px; left: var(--x); width: var(--s); height: var(--s); animation: rise var(--d) linear var(--dl) infinite; opacity: .9; }
@keyframes rise { 0% { transform: translateY(0) rotate(0) translateX(0); } 50% { transform: translateY(-380px) rotate(180deg) translateX(24px); } 100% { transform: translateY(-780px) rotate(360deg) translateX(-12px); opacity: 0; } }
.decor.petals i { background: radial-gradient(circle at 30% 30%, #fff, #ffb3d1 60%, #ff7fb0); border-radius: 80% 0 80% 0; }
.decor.bubbles i { border-radius: 50%; background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(123,232,238,.55) 45%, rgba(123,232,238,.15)); box-shadow: 0 0 24px rgba(123,232,238,.65); }
.decor.paper i { border-radius: 3px; background: var(--pc); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.gp-hero h1, .gp-hero .lead, .gp-hero .tags { position: relative; z-index: 2; }
.cf { position: relative; height: 560px; perspective: 1300px; margin: 14px 0 6px; overflow: hidden; touch-action: pan-y; user-select: none; }
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-item { position: absolute; left: 50%; top: 18px; width: 260px; margin-left: -130px; aspect-ratio: 540 / 960; border-radius: 30px; border: 7px solid #1b1340; overflow: hidden; background: #1b1340; cursor: pointer; transition: transform .6s cubic-bezier(.2,.9,.25,1), opacity .6s, filter .6s; box-shadow: 0 40px 60px -24px rgba(27,19,64,.6); }
.cf-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cf-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.3) 46%, transparent 60%); pointer-events: none; }
.cf-ctl { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 6px; }
.cf-ctl button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 5px 0 #cfc6f5, 0 12px 18px -6px rgba(59,42,140,.4); font: 700 1.3rem "Fredoka", sans-serif; color: var(--violet); cursor: pointer; }
.cf-ctl button:active { transform: translateY(3px); box-shadow: 0 2px 0 #cfc6f5; }
.cf-dots { display: flex; gap: 8px; } .cf-dots b { width: 10px; height: 10px; border-radius: 50%; background: #cfc6f5; transition: .3s; } .cf-dots b.on { background: var(--accent, var(--violet)); transform: scale(1.5); }
@media (max-width: 640px) { .cf { height: 500px; } .cf-item { width: 220px; margin-left: -110px; } }
@media (prefers-reduced-motion: reduce) { .decor { display: none; } .cf-item { transition: none; } }
.games { grid-template-columns: minmax(0, 760px); justify-content: center; }
