/* RblxThumbnail - bubbly, chunky, Roblox-flavoured UI */
:root {
  --bg: #f5f7ff;
  --bg2: #eef1ff;
  --card: #ffffff;
  --ink: #15173d;
  --ink2: #4a4f7a;
  --muted: #8a8fb5;
  --line: #e3e7fb;
  --blue: #2f6bff;
  --blue-d: #1d4fd6;
  --pink: #ff4fa3;
  --pink-d: #d92f82;
  --yellow: #ffc93c;
  --yellow-d: #e0a512;
  --green: #22c55e;
  --green-d: #16a34a;
  --purple: #8b5cf6;
  --orange: #ff7a2f;
  --r: 24px;
  --shadow: 0 10px 30px rgba(36, 44, 120, 0.1);
  --shadow-lg: 0 24px 60px rgba(36, 44, 120, 0.18);
  --fh: "Fredoka", "Nunito", system-ui, sans-serif;
  --fb: "Nunito", system-ui, sans-serif;
  --fthumb: "Lilita One", "Fredoka", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fb);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--fh); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { line-height: 1.6; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- floating background bubbles ---------- */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles span {
  position: absolute; border-radius: 50%; opacity: 0.55; filter: blur(2px);
  animation: floaty 14s ease-in-out infinite;
}
.bubbles span:nth-child(1) { width: 340px; height: 340px; left: -90px; top: 8%; background: radial-gradient(circle at 30% 30%, #c9d8ff, #9db7ff); }
.bubbles span:nth-child(2) { width: 220px; height: 220px; right: -40px; top: 22%; background: radial-gradient(circle at 30% 30%, #ffd1e8, #ff9ccc); animation-delay: -4s; }
.bubbles span:nth-child(3) { width: 160px; height: 160px; left: 12%; bottom: 6%; background: radial-gradient(circle at 30% 30%, #fff1c2, #ffd76a); animation-delay: -8s; }
.bubbles span:nth-child(4) { width: 120px; height: 120px; right: 18%; bottom: 14%; background: radial-gradient(circle at 30% 30%, #d9ccff, #b39cff); animation-delay: -2s; }
@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -26px) scale(1.04); }
  66% { transform: translate(-14px, 14px) scale(0.97); }
}
main, header, footer, section { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 50;
  width: min(1180px, 100% - 24px); margin: 12px auto 0;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px);
  border: 2px solid #fff; border-radius: 999px; box-shadow: var(--shadow);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 700; font-size: 22px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--pink)); color: #fff; font-size: 18px;
  transform: rotate(-8deg); box-shadow: 0 4px 0 #1b2a7a33;
  transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1);
}
.logo:hover .logo-mark { transform: rotate(8deg) scale(1.1); }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg2); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.credit-pill {
  display: none; align-items: center; gap: 6px; font-weight: 800; padding: 8px 14px; border-radius: 999px;
  background: #fff7dc; color: #8a5b00; border: 2px solid #ffe49a; text-decoration: none;
}
.credit-pill.on { display: inline-flex; }
@media (max-width: 760px) { .nav-links { display: none; } .nav { top: 8px; } }
@media (max-width: 560px) { .nav .btn.white[data-login] + .btn { display: none; } .logo { font-size: 19px; } .nav { gap: 10px; padding-left: 12px; } }

/* ---------- chunky buttons ---------- */
.btn {
  --c: var(--blue); --cd: var(--blue-d);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fh); font-weight: 600; font-size: 17px; letter-spacing: 0.01em;
  color: #fff; background: var(--c); border: 0; cursor: pointer; text-decoration: none;
  padding: 13px 22px; border-radius: 16px;
  box-shadow: 0 6px 0 var(--cd), 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(0); transition: transform .12s, box-shadow .12s, filter .2s;
  position: relative; overflow: hidden;
}
.btn::after { /* glossy bubble shine */
  content: ""; position: absolute; left: 10%; right: 10%; top: 4px; height: 38%;
  border-radius: 999px; background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events: none;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 8px 0 var(--cd), 0 16px 28px rgba(0,0,0,.14); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--cd), 0 4px 10px rgba(0,0,0,.1); }
.btn:disabled { filter: grayscale(.6) brightness(1.1); cursor: not-allowed; }
.btn.pink { --c: var(--pink); --cd: var(--pink-d); }
.btn.yellow { --c: var(--yellow); --cd: var(--yellow-d); color: #4a3200; }
.btn.green { --c: var(--green); --cd: var(--green-d); }
.btn.white { --c: #fff; --cd: #d9def5; color: var(--ink); }
.btn.dark { --c: var(--ink); --cd: #000; }
.btn.sm { font-size: 15px; padding: 9px 16px; border-radius: 13px; box-shadow: 0 4px 0 var(--cd); }
.btn.sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cd); }
.btn.lg { font-size: 20px; padding: 17px 30px; border-radius: 20px; }
.btn.block { width: 100%; }

/* ---------- reveal on scroll ---------- */
.pop { opacity: 0; transform: translateY(26px) scale(.96); transition: opacity .6s, transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.pop.in { opacity: 1; transform: none; }
.pop.d1 { transition-delay: .08s; } .pop.d2 { transition-delay: .16s; } .pop.d3 { transition-delay: .24s; } .pop.d4 { transition-delay: .32s; }

/* ---------- hero ---------- */
.hero { padding: 70px 0 30px; text-align: center; }
.trust { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 700; color: var(--ink2); font-size: 14px; }
.trust .faces { display: flex; }
.trust .faces i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: block; }
.trust .faces i:first-child { margin-left: 0; }
.hero h1 { font-size: clamp(42px, 7vw, 86px); font-weight: 700; margin: 22px auto 0; max-width: 980px; }
.hl { position: relative; display: inline-block; padding: 0 .18em; color: #fff; z-index: 0; }
.hl::before {
  content: ""; position: absolute; inset: .08em -.02em .02em; z-index: -1; border-radius: .28em;
  background: linear-gradient(120deg, var(--blue), var(--purple) 55%, var(--pink));
  transform: rotate(-2deg); box-shadow: 0 .09em 0 #1b2a7a40;
}
.wiggle { display: inline-block; animation: wiggle 3.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.03); } }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink2); max-width: 680px; margin: 20px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 700; }

/* hero live demo: a prompt typing itself, then a "result" popping out */
.demo {
  margin: 46px auto 0; width: min(880px, 100%);
  background: #fff; border-radius: 30px; padding: 16px; box-shadow: var(--shadow-lg); border: 2px solid #fff;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; text-align: left;
}
.demo-left { padding: 10px 6px 10px 10px; display: flex; flex-direction: column; gap: 12px; }
.demo-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: var(--bg2); font-weight: 800; font-size: 13px; color: var(--ink2); border: 2px solid transparent;
  cursor: pointer; transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, border-color .2s; user-select: none;
}
.chip:hover { transform: translateY(-2px); }
.chip.on { background: #e5edff; color: var(--blue-d); border-color: #b9ccff; }
.demo-prompt {
  min-height: 112px; border-radius: 18px; background: var(--bg); border: 2px dashed var(--line);
  padding: 14px; font-weight: 700; font-size: 16px; color: var(--ink);
}
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--blue); vertical-align: -3px; animation: blink 1s step-end infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.demo-meta { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-weight: 800; font-size: 14px; color: var(--muted); }
.demo-right { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg2); aspect-ratio: 16/10; }
.demo-right .shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .5s, transform .9s cubic-bezier(.22,1,.36,1); }
.demo-right .shot.on { opacity: 1; transform: none; }
.demo-right .gen {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(238,241,255,.9);
  font-family: var(--fh); font-weight: 600; color: var(--ink2); opacity: 0; transition: opacity .3s; z-index: 2;
}
.demo-right .gen.on { opacity: 1; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 5px solid #dfe5ff; border-top-color: var(--blue); animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } }

/* ---------- fake thumbnails (examples until real ones are dropped into /examples) ---------- */
.thumb { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; container-type: size; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .art { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 8%; }
.thumb .art::before { /* sunburst */
  content: ""; position: absolute; inset: -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.16) 0 10deg, rgba(255,255,255,0) 10deg 20deg);
  animation: spin 40s linear infinite;
}
.thumb .art b {
  position: relative; font-family: var(--fthumb); font-weight: 400; color: #fff; line-height: .95;
  font-size: min(15cqw, 26cqh); text-transform: uppercase;
  -webkit-text-stroke: max(1.5px, 0.9cqw) rgba(20, 16, 60, .9); paint-order: stroke fill;
  text-shadow: 0 1.4cqw 0 rgba(20,16,60,.85); transform: rotate(-4deg);
}
.thumb .art em { position: absolute; font-style: normal; font-size: min(26cqw, 46cqh); filter: drop-shadow(0 6px 0 rgba(0,0,0,.2)); }
.thumb.has-img .art { display: none; }

/* ---------- tilted scrolling gallery (rows move opposite ways) ---------- */
.gallery { padding: 70px 0 30px; overflow: hidden; }
.tilt { transform: rotate(-6deg); margin: 40px -5vw; display: grid; gap: 22px; }
.row { display: flex; gap: 22px; width: max-content; animation: slide 60s linear infinite; }
.row.rev { animation-direction: reverse; animation-duration: 70s; }
.gallery:hover .row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tile {
  width: 340px; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #ccd;
  box-shadow: var(--shadow); border: 4px solid #fff; flex: none; position: relative; cursor: pointer;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.tile:hover { transform: translateY(-8px) rotate(2deg) scale(1.04); box-shadow: var(--shadow-lg); z-index: 3; }
.tile .cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px;
  background: rgba(21, 23, 61, .78); color: #fff; font-weight: 700; font-size: 13px; line-height: 1.35;
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .3s;
}
.tile:hover .cap { opacity: 1; transform: none; }
.tile.square { width: 190px; aspect-ratio: 1; }

/* ---------- section headings ---------- */
.sec { padding: 90px 0; }
.kicker { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); background: #ffe6f2; padding: 6px 12px; border-radius: 999px; }
.sec h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 14px; }
.sec .sub { color: var(--ink2); font-size: 18px; max-width: 640px; margin: 14px auto 0; }

/* ---------- without / with ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.vs-card { border-radius: 28px; padding: 30px; text-align: left; }
.vs-card h3 { font-size: 26px; display: flex; align-items: center; gap: 10px; }
.vs-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.vs-card li { display: flex; gap: 12px; font-weight: 700; line-height: 1.4; }
.vs-card li i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 14px; }
.vs-bad { background: #fff; border: 2px solid var(--line); color: var(--ink2); }
.vs-bad li i { background: #ffe1e1; color: #e23b3b; }
.vs-good { background: linear-gradient(160deg, #2f6bff, #6b4dff); color: #fff; box-shadow: var(--shadow-lg); transform: rotate(1deg); }
.vs-good li i { background: rgba(255,255,255,.22); color: #fff; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .vs-good { transform: none; } }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 46px; text-align: left; }
.b { background: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--shadow); border: 2px solid #fff; overflow: hidden; position: relative; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.b:hover { transform: translateY(-6px); }
.b h3 { font-size: 24px; margin-top: 14px; }
.b p { color: var(--ink2); margin: 8px 0 0; font-weight: 600; }
.b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; transform: rotate(-6deg); }
.b1 { grid-column: span 4; } .b2 { grid-column: span 2; } .b3 { grid-column: span 2; } .b4 { grid-column: span 2; } .b5 { grid-column: span 2; } .b6 { grid-column: span 6; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: auto; } }

/* reference-upload mini demo inside a bento card */
.ref-demo { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.ref-in { width: 92px; height: 92px; border-radius: 18px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); transform: rotate(-5deg); }
.ref-in:nth-child(2) { transform: rotate(4deg); margin-left: -26px; }
.ref-arrow { font-family: var(--fh); font-size: 34px; color: var(--blue); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.ref-out { flex: 1; min-width: 200px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); }

/* text layer demo */
.txt-demo { margin-top: 16px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; position: relative; }
.txt-demo .word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-5deg);
  font-family: var(--fthumb); font-size: 34px; color: #ffe14a; -webkit-text-stroke: 3px #2a1460; paint-order: stroke fill;
  text-shadow: 0 4px 0 #2a1460; white-space: nowrap; animation: stamp 3s cubic-bezier(.34,1.56,.64,1) infinite;
}
@keyframes stamp { 0%, 12% { transform: translate(-50%, -50%) rotate(-5deg) scale(0); } 22%, 88% { transform: translate(-50%, -50%) rotate(-5deg) scale(1); } 100% { transform: translate(-50%, -50%) rotate(-5deg) scale(0); } }

/* variants demo */
.var-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.var-grid > div { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; position: relative; }
.var-grid .ctr { position: absolute; right: 6px; top: 6px; background: #fff; color: var(--green-d); font-weight: 900; font-size: 11px; padding: 3px 7px; border-radius: 999px; }

/* sizes card */
.sizes { display: flex; gap: 12px; align-items: flex-end; margin-top: 18px; }
.sizes div { border-radius: 10px; border: 3px dashed #b9ccff; display: grid; place-items: center; font-weight: 900; color: var(--blue-d); font-size: 12px; background: #f1f5ff; }

/* ---------- tablet showcase ---------- */
.tablet { width: min(980px, 100%); margin: 46px auto 0; padding: 18px; border-radius: 40px; background: #16183d; box-shadow: var(--shadow-lg), inset 0 0 0 3px #2b2e6b; }
.tablet-screen { border-radius: 26px; background: #f3f5ff; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tablet-screen .t { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; position: relative; }
.tablet-screen .t .stat { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 3px 9px; font-weight: 900; font-size: 12px; color: var(--ink); }
@media (max-width: 700px) { .tablet-screen { grid-template-columns: 1fr 1fr; } }

/* ---------- testimonials marquee ---------- */
.quotes { overflow: hidden; margin-top: 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.quotes .row { animation-duration: 80s; }
.q { width: 320px; flex: none; background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow); text-align: left; }
.q .who { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.q .who i { width: 38px; height: 38px; border-radius: 12px; display: block; }
.q .who small { display: block; color: var(--muted); font-weight: 700; }
.q p { margin: 10px 0 0; color: var(--ink2); font-weight: 600; font-size: 15px; }

/* ---------- pricing ---------- */
.seg { display: inline-flex; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); margin-top: 28px; position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; font-family: var(--fh); font-weight: 600; font-size: 16px; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--ink2); transition: color .25s; }
.seg button.on { color: #fff; }
.seg .knob { position: absolute; top: 6px; bottom: 6px; border-radius: 999px; background: var(--blue); box-shadow: 0 4px 0 var(--blue-d); transition: left .35s cubic-bezier(.34,1.56,.64,1), width .35s cubic-bezier(.34,1.56,.64,1); }
.save { display: inline-block; margin-left: 6px; font-size: 12px; background: var(--yellow); color: #4a3200; padding: 2px 8px; border-radius: 999px; font-family: var(--fb); font-weight: 900; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; text-align: left; align-items: stretch; }
.plan { background: #fff; border-radius: 30px; padding: 28px; box-shadow: var(--shadow); border: 3px solid #fff; display: flex; flex-direction: column; position: relative; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.plan:hover { transform: translateY(-6px); }
.plan.hot { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -14px; right: 22px; background: var(--pink); color: #fff; font-weight: 900; font-size: 13px; padding: 5px 12px; border-radius: 999px; box-shadow: 0 3px 0 var(--pink-d); transform: rotate(3deg); }
.plan h3 { font-size: 24px; }
.plan .price { font-family: var(--fh); font-weight: 700; font-size: 52px; margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.plan .price small { font-family: var(--fb); font-size: 15px; color: var(--muted); font-weight: 800; }
.plan .blurb { color: var(--ink2); font-weight: 600; margin: 6px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-weight: 700; color: var(--ink2); }
.plan li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e3f9eb; color: var(--green-d); display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.plan .credits-big { font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--blue-d); margin-top: 6px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- counter strip ---------- */
.counter { font-family: var(--fh); font-size: clamp(26px, 4vw, 44px); font-weight: 700; }
.counter .n { display: inline-block; min-width: 2ch; }
.counter .n.b { color: var(--blue); } .counter .n.y { color: var(--yellow-d); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; text-align: left; }
.faq details { background: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); }
.faq summary { font-family: var(--fh); font-weight: 600; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; color: var(--ink2); font-weight: 600; }

/* ---------- final CTA + footer ---------- */
.cta-box { border-radius: 40px; padding: 60px 30px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--purple) 55%, var(--pink)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-box > *:not(.bubbles) { position: relative; z-index: 1; }
.cta-box .bubbles { z-index: 0; }
.cta-box h2 { font-size: clamp(32px, 5vw, 54px); }
.cta-box p { font-size: 19px; opacity: .92; }
.footer { padding: 50px 0 40px; color: var(--ink2); }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { font-size: 16px; margin-bottom: 10px; }
.footer a { display: block; text-decoration: none; font-weight: 700; padding: 4px 0; color: var(--ink2); }
.footer a:hover { color: var(--blue); }
.footer .fine { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- toasts + modal ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; }
.toast { background: var(--ink); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); animation: toastIn .45s cubic-bezier(.34,1.56,.64,1); }
.toast.ok { background: var(--green-d); } .toast.err { background: #e23b3b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
.modal-bg { position: fixed; inset: 0; background: rgba(21, 23, 61, .45); backdrop-filter: blur(6px); z-index: 150; display: none; place-items: center; padding: 16px; }
.modal-bg.on { display: grid; }
.modal { background: #fff; border-radius: 30px; padding: 30px; width: min(440px, 100%); box-shadow: var(--shadow-lg); animation: toastIn .45s cubic-bezier(.34,1.56,.64,1); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 14px; color: var(--ink2); }
.input, textarea.input, select.input {
  width: 100%; font: inherit; font-weight: 700; color: var(--ink); background: var(--bg); border: 2px solid var(--line);
  border-radius: 16px; padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 5px #2f6bff22; }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pop { opacity: 1; transform: none; }
}

/* =====================================================================
   v2 landing - built around what's unique: feed preview, free score,
   models + sounds, game link -> kit -> update pack, plan calculator
   ===================================================================== */

/* hero: words left, live "Discover feed" phone right */
.hero2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 30px; text-align: left; }
.hero2 h1 { font-size: clamp(42px, 6vw, 78px); font-weight: 700; margin-top: 18px; }
.hero2 .lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink2); margin: 18px 0 0; max-width: 560px; }
.hero2 .hero-cta { justify-content: flex-start; }
.hero2 .hero-note { text-align: left; }
.makes { display: flex; flex-wrap: wrap; gap: 8px; }
.makes span { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero2 { grid-template-columns: 1fr; text-align: center; } .hero2 .hero-cta, .makes { justify-content: center; } .hero2 .lead { margin-inline: auto; } .hero2 .hero-note { text-align: center; } }

.phone { width: min(360px, 100%); margin: 0 auto; border-radius: 46px; padding: 12px; background: #15173d; box-shadow: var(--shadow-lg), inset 0 0 0 3px #2c2f6e; position: relative; transform: rotate(2deg); }
.phone-scr { border-radius: 36px; background: #1d1f45; overflow: hidden; padding: 16px 12px 18px; color: #fff; }
.feed-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--fh); font-weight: 600; font-size: 18px; padding: 0 4px 10px; }
.feed-top i { width: 30px; height: 30px; border-radius: 50%; background: #2c2f62; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.feed-search { height: 34px; border-radius: 12px; background: #2c2f62; margin: 0 2px 12px; display: flex; align-items: center; padding: 0 12px; color: #8d92c9; font-weight: 700; font-size: 13px; }
.feed-row { font-weight: 800; font-size: 13px; color: #c5c9f4; margin: 4px 4px 8px; }
.feed { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g { border-radius: 14px; overflow: hidden; background: #2a2d5c; }
.g .pic { aspect-ratio: 1; position: relative; }
.g .meta { padding: 6px 8px 8px; font-size: 11px; font-weight: 800; line-height: 1.3; }
.g .meta small { display: block; color: #9ea3d6; font-weight: 700; }
.g.you { position: relative; outline: 3px solid transparent; transition: outline-color .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.g.you.after { outline-color: var(--yellow); transform: scale(1.04); z-index: 2; }
.g.you .pic .before, .g.you .pic .after-img { position: absolute; inset: 0; transition: opacity .5s; }
.g.you .pic .after-img { opacity: 0; }
.g.you.after .pic .after-img { opacity: 1; }
.g.you.after .pic .before { opacity: 0; }
.dull { width: 100%; height: 100%; background: linear-gradient(135deg, #7b7f8f, #5b5f6e); display: grid; place-items: center; }
.dull span { font-size: 10px; color: #d3d5de; font-weight: 700; text-align: center; padding: 10%; line-height: 1.2; }
.tap { position: absolute; font-size: 34px; right: -8px; bottom: -14px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s cubic-bezier(.34,1.56,.64,1); pointer-events: none; z-index: 3; }
.g.you.after .tap { opacity: 1; transform: scale(1); animation: tapIt 1.2s ease-in-out .4s infinite; }
@keyframes tapIt { 50% { transform: scale(.85) translate(-4px, -4px); } }
.youtag { position: absolute; left: 6px; top: 6px; background: var(--yellow); color: #4a3200; font-size: 10px; font-weight: 900; padding: 2px 7px; border-radius: 999px; z-index: 2; }
.ba { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.ba .chip.on { background: var(--yellow); border-color: var(--yellow-d); color: #4a3200; }

/* asset cards: thumbnails / icons / models / sounds */
.assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; text-align: left; }
.asset { background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--shadow); border: 2px solid #fff; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.asset:hover { transform: translateY(-6px) rotate(-.6deg); }
.asset .vis { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--bg2); }
.asset h3 { font-size: 22px; margin-top: 14px; }
.asset p { margin: 6px 0 0; color: var(--ink2); font-weight: 600; font-size: 15px; }
.asset .price-tag { display: inline-block; margin-top: 10px; font-weight: 900; font-size: 13px; color: var(--blue-d); background: #e9efff; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 1000px) { .assets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .assets { grid-template-columns: 1fr; } }

/* "3D model" mini demo: concept card flips into a spinning chunky 3D object */
.cube-scene { position: absolute; inset: 0; display: grid; place-items: center; perspective: 600px; background: radial-gradient(circle at 50% 40%, #ffffff, #dfe6ff); }
.cube { width: 70px; height: 70px; position: relative; transform-style: preserve-3d; animation: cubeSpin 6s linear infinite; }
.cube div { position: absolute; inset: 0; border-radius: 12px; border: 3px solid rgba(20,16,60,.35); }
.cube .f1 { background: #ffc93c; transform: translateZ(35px); }
.cube .f2 { background: #ff9f1c; transform: rotateY(90deg) translateZ(35px); }
.cube .f3 { background: #ffc93c; transform: rotateY(180deg) translateZ(35px); }
.cube .f4 { background: #ff9f1c; transform: rotateY(-90deg) translateZ(35px); }
.cube .f5 { background: #ffe08a; transform: rotateX(90deg) translateZ(35px); }
.cube .f6 { background: #e0a512; transform: rotateX(-90deg) translateZ(35px); }
.cube .f1::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 34px; text-shadow: 0 3px 0 rgba(0,0,0,.2); }
@keyframes cubeSpin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.fmt { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 5px; }
.fmt span { font-size: 10px; font-weight: 900; background: #fff; color: var(--ink2); padding: 2px 7px; border-radius: 999px; box-shadow: 0 2px 0 #d7defa; }

/* "sound" mini demo: tappable sound buttons with bouncing bars */
.sfx-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; background: linear-gradient(135deg, #1d1f45, #3a2a7a); }
.sfx-btn { border: 0; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; font-family: var(--fh); font-weight: 600; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform .15s, background .2s; }
.sfx-btn:hover { background: rgba(255,255,255,.22); }
.sfx-btn:active, .sfx-btn.play { transform: scale(.94); background: var(--pink); }
.bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.bars i { width: 3px; background: currentColor; border-radius: 2px; height: 30%; }
.sfx-btn.play .bars i { animation: bar .35s ease-in-out infinite alternate; }
.sfx-btn.play .bars i:nth-child(2) { animation-delay: .1s; } .sfx-btn.play .bars i:nth-child(3) { animation-delay: .2s; }
@keyframes bar { to { height: 100%; } }

/* free score tool */
.scorer { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; text-align: left; align-items: stretch; }
@media (max-width: 900px) { .scorer { grid-template-columns: 1fr; } }
.drop { border-radius: 28px; border: 4px dashed #b9ccff; background: #fff; display: grid; place-items: center; text-align: center; padding: 26px; min-height: 340px; cursor: pointer; position: relative; overflow: hidden; transition: border-color .2s, background .2s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.drop:hover, .drop.over { border-color: var(--blue); background: #f4f7ff; transform: scale(1.01); }
.drop .big { font-size: 56px; animation: floaty 4s ease-in-out infinite; }
.drop img.prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0e1030; }
.drop .kindsel { display: inline-flex; margin-top: 14px; }
.report { background: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--shadow); position: relative; }
.report .badge { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 900; color: var(--muted); background: var(--bg2); padding: 4px 10px; border-radius: 999px; }
.ring-wrap { display: flex; align-items: center; gap: 20px; }
.ring { width: 130px; height: 130px; flex: none; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--fh); font-weight: 700; font-size: 40px; }
.ring .num small { display: block; font-size: 12px; color: var(--muted); font-family: var(--fb); font-weight: 800; margin-top: -26px; }
.verdict { font-family: var(--fh); font-size: 21px; font-weight: 600; line-height: 1.25; }
.subs { display: grid; gap: 9px; margin-top: 18px; }
.srow { display: grid; grid-template-columns: 110px 1fr 30px; gap: 10px; align-items: center; font-weight: 800; font-size: 14px; color: var(--ink2); }
.srow .track { height: 12px; border-radius: 999px; background: var(--bg2); overflow: hidden; }
.srow .fill { height: 100%; border-radius: 999px; width: 0; transition: width 1s cubic-bezier(.22,1,.36,1); }
.fixes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fixes li { display: flex; gap: 10px; font-weight: 700; color: var(--ink); background: #fffbea; border: 2px solid #ffe49a; padding: 10px 12px; border-radius: 14px; }
.fixes li b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: #4a3200; display: grid; place-items: center; font-size: 13px; }

/* link -> kit -> update pack */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; text-align: left; position: relative; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow); position: relative; }
.step .n { position: absolute; top: -14px; left: 20px; width: 34px; height: 34px; border-radius: 12px; background: var(--blue); color: #fff; font-family: var(--fh); font-weight: 700; display: grid; place-items: center; box-shadow: 0 4px 0 var(--blue-d); transform: rotate(-8deg); }
.step h3 { font-size: 22px; margin-top: 10px; }
.step p { color: var(--ink2); font-weight: 600; margin: 6px 0 0; }
.linkbox { margin-top: 14px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: 13px; color: var(--ink2); overflow: hidden; white-space: nowrap; }
.linkbox .typed { overflow: hidden; text-overflow: ellipsis; }
.kit { margin-top: 14px; display: grid; gap: 8px; }
.kit .sw-row { display: flex; gap: 6px; }
.kit .sw-row i { width: 30px; height: 30px; border-radius: 10px; display: block; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.kit .refs { display: flex; gap: 6px; }
.kit .refs div { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; }
.pack { margin-top: 14px; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 8px; }
.pack > div { border-radius: 12px; overflow: hidden; }
.pack .p-thumb { grid-row: span 2; aspect-ratio: 16/9; align-self: center; }
.pack .p-sq { aspect-ratio: 1; }
.pack > div { animation: popIn2 .6s cubic-bezier(.34,1.56,.64,1) both; }
.pack > div:nth-child(2) { animation-delay: .15s; } .pack > div:nth-child(3) { animation-delay: .3s; }
@keyframes popIn2 { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }

/* genre picker */
.genre-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.genre-chips .chip { font-size: 15px; padding: 9px 16px; }
.trio { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: 26px; align-items: center; }
.trio > div { border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); animation: popIn2 .5s cubic-bezier(.34,1.56,.64,1) both; }
.trio .t16 { aspect-ratio: 16/9; } .trio .t1 { aspect-ratio: 1; }
.trio > div:nth-child(2) { animation-delay: .08s; } .trio > div:nth-child(3) { animation-delay: .16s; }
.trio-label { margin-top: 14px; color: var(--ink2); font-weight: 700; }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr 1fr; } .trio .t16 { grid-column: span 2; } }

/* plan calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; margin-top: 40px; text-align: left; align-items: stretch; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc .sliders { background: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.sl label { display: flex; justify-content: space-between; font-weight: 800; color: var(--ink2); }
.sl label b { font-family: var(--fh); color: var(--blue-d); font-size: 20px; }
.sl input[type=range] { width: 100%; accent-color: var(--blue); height: 26px; }
.rec { border-radius: 28px; padding: 26px; color: #fff; background: linear-gradient(150deg, var(--blue), var(--purple) 60%, var(--pink)); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.rec .need { font-family: var(--fh); font-size: 54px; font-weight: 700; line-height: 1; }
.rec .need small { font-size: 18px; opacity: .85; }
.rec .pick { margin-top: 16px; background: rgba(255,255,255,.16); border-radius: 18px; padding: 14px 16px; font-weight: 800; }
.rec .pick b { font-family: var(--fh); font-size: 24px; display: block; }
.rec .btn { margin-top: auto; }

/* shared segmented toggle (also used on the landing page score tool) */
.toggle { display: flex; background: var(--bg); border-radius: 14px; padding: 4px; gap: 4px; border: 2px solid var(--line); }
.toggle button { flex: 1; border: 0; background: none; border-radius: 10px; padding: 9px 14px; font-family: var(--fh); font-weight: 600; font-size: 15px; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.toggle button.on { background: #fff; color: var(--blue-d); box-shadow: 0 3px 0 #d7defa; }
.ideas { display: grid; gap: 7px; margin-top: 12px; }
.ideas span { background: #fff8e1; border: 2px solid #ffe7a3; border-radius: 12px; padding: 7px 10px; font-weight: 800; font-size: 13px; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.ideas.show span { opacity: 1; transform: none; }
.ideas.show span:nth-child(2) { transition-delay: .12s; } .ideas.show span:nth-child(3) { transition-delay: .24s; } .ideas.show span:nth-child(4) { transition-delay: .36s; }
.font-sample { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; color: var(--ink2); background: var(--bg); border-radius: 12px; padding: 8px 12px; }
.font-sample b { font-family: "Lilita One", var(--fh); font-size: 26px; color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; letter-spacing: 1px; }
@media (max-width: 560px) { .credit-pill.on ~ [data-login] { display: none; } }

/* showcase: rows of example thumbnails sliding past (pauses on hover) */
.showcase { padding: 10px 0 30px; overflow: hidden; display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.show-track { display: flex; gap: 18px; width: max-content; animation: showSlide 60s linear infinite; }
.show-row.rev .show-track { animation-direction: reverse; animation-duration: 70s; }
.show-row:hover .show-track { animation-play-state: paused; }
@keyframes showSlide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.show-tile { position: relative; flex: none; width: clamp(240px, 30vw, 440px); aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.show-tile:nth-child(odd) { transform: rotate(-1.2deg); } .show-tile:nth-child(even) { transform: rotate(1.2deg); }
.show-tile:hover { transform: scale(1.05) rotate(0); z-index: 2; }
.show-try { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 10px); opacity: 0; background: #fff; color: var(--ink); font-weight: 900; font-size: 14px; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; transition: opacity .2s, transform .25s; }
.show-tile:hover .show-try { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .show-track { animation: none; } }
