:root { --ink: #160634; --night: #1C0746; --violet: #7B2FF7; --pink: #FF2E93; --orange: #FF7A18; --lime: #C8FF2D; --cyan: #22E4FF; --soft: #6A5A8C; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); }
body { margin: 0; min-height: 100vh; color: #fff; font: 16px/1.5 'Outfit', system-ui, sans-serif; overflow-x: hidden; }
/* Fundo vivo: três manchas de cor que se mexem devagar. */
body::before { content: ''; position: fixed; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 40% at 18% 22%, #FF2E93cc, transparent 70%),
    radial-gradient(45% 45% at 85% 18%, #7B2FF7, transparent 70%),
    radial-gradient(45% 45% at 60% 90%, #FF7A18aa, transparent 70%),
    var(--night);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(5deg); } }
h1, h2, .brand, .primary, .secondary { font-family: 'Unbounded', 'Outfit', system-ui, sans-serif; }
h1 { font-size: clamp(2.3rem, 9vw, 4.3rem); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; margin: .35em 0; text-transform: uppercase; }
h1 em { display: block; font-style: normal; color: var(--lime); text-shadow: 0 5px 0 var(--ink); }
h2 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 .6rem; }
a { color: inherit; }
.page { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 640px; padding-block: 32px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 900; text-decoration: none; }
.brand b { color: var(--lime); margin-left: -8px; }
.tag { display: flex; align-items: center; gap: 7px; border-radius: 99px; padding: 4px 14px; font-weight: 700; font-size: .8rem; background: #ffffff1f; }
.tag::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); animation: blink 1.4s infinite; }
.tag[data-tone=ok]::before { background: var(--lime); }
.tag[data-tone=off]::before { background: var(--pink); }
@keyframes blink { 50% { opacity: .25; } }

.ticker { overflow: hidden; background: var(--lime); color: var(--ink); font: 900 .85rem/1 'Unbounded', sans-serif; padding: 10px 0; transform: rotate(-1.5deg) scale(1.02); white-space: nowrap; }
.ticker div { display: inline-block; animation: slide 22s linear infinite; }
.ticker span { padding: 0 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

.grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
@media (min-width: 920px) {
  .grid { grid-template-columns: minmax(0, 1fr) 430px; align-items: start; }
  .maker { grid-column: 2; grid-row: 1 / span 2; }
}
.intro { text-align: center; }
@media (min-width: 920px) { .intro { text-align: left; } }
.lead { font-size: 1.2rem; max-width: 34ch; margin: 0 auto 18px; color: #F3E9FF; }
@media (min-width: 920px) { .lead { margin-left: 0; } }
.hero { position: relative; display: inline-block; }
.mascot { display: block; filter: drop-shadow(0 10px 0 #16063488); animation: bounce 2.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.bubble { position: absolute; padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 800; font-size: .85rem; white-space: nowrap; box-shadow: 0 5px 0 var(--ink); animation: float 3.2s ease-in-out infinite; }
.bubble.a { top: 6px; left: 78%; rotate: 8deg; }
.bubble.b { bottom: 4px; right: 76%; rotate: -9deg; background: var(--cyan); animation-delay: -1.6s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.eq { display: flex; gap: 5px; height: 34px; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
@media (min-width: 920px) { .eq { justify-content: flex-start; } }
.eq i { width: 7px; height: 100%; border-radius: 4px; background: linear-gradient(var(--cyan), var(--pink)); transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-duration: .55s; } .eq i:nth-child(2n) { animation-delay: -.4s; } .eq i:nth-child(5n) { animation-duration: 1.2s; }
@keyframes eq { from { transform: scaleY(.18); } }
.jump { display: inline-block; text-decoration: none; background: var(--lime); color: var(--ink); font: 900 1rem 'Unbounded', sans-serif; padding: 15px 26px; border-radius: 99px; box-shadow: 0 6px 0 var(--ink); }
@media (min-width: 920px) { .jump { display: none; } }
.demo { background: #ffffff1f; border: 1.5px dashed #fff8; border-radius: 14px; padding: 8px 12px; font-size: .9rem; }

.maker { background: #fff; color: var(--ink); border-radius: 30px; padding: 20px; box-shadow: 0 0 0 5px #ffffff40, 0 24px 70px #0b0220aa; scroll-margin-top: 12px; }
.field-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; }
.field-head:first-child { margin-top: 0; }
.field-head span, .hint { color: var(--soft); font-size: .88rem; }
.center { text-align: center; }
.stage { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #F4EEFF; }
.stage img, .stage video { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.stage.whole img, .stage.whole video { object-fit: contain; }
.stage.draggable { cursor: grab; touch-action: none; }
.stage-empty { position: absolute; inset: 0; width: 100%; border: 3px dashed var(--violet); border-radius: 22px; background: linear-gradient(140deg, #F4EEFF, #FFE8F4); color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.stage-empty b { font-size: 1.2rem; }
.plus { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.8rem; line-height: 1; color: #fff; background: linear-gradient(135deg, var(--violet), var(--pink)); margin-bottom: 10px; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 #FF2E9388; } to { box-shadow: 0 0 0 22px #FF2E9300; } }

.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
button { font: inherit; color: var(--ink); cursor: pointer; }
.chip, .pick, .record, select, input[type=tel] { border: 2px solid #E3D8F7; border-radius: 14px; background: #fff; padding: 12px 14px; font: inherit; color: var(--ink); }
.chip { font-size: .88rem; padding: 7px 14px; font-weight: 600; }
.pick, .record { flex: 1 1 140px; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record { background: var(--ink); border-color: var(--ink); color: #fff; }
.record.on { background: var(--pink); border-color: var(--pink); animation: pulse 1.2s infinite; }
.box { margin-top: 10px; }
.box label { display: block; font-size: .9rem; }
.box input { width: 100%; accent-color: var(--pink); }
.seg { border: 0; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; }
.seg legend { font-weight: 700; margin-bottom: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; border: 2px solid #E3D8F7; border-radius: 14px; padding: 9px; cursor: pointer; font-weight: 600; }
.seg input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.seg input:focus-visible + span, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.primary, .secondary { display: block; width: 100%; text-align: center; text-decoration: none; margin-top: 16px; padding: 16px; border: 0; border-radius: 18px; font-weight: 900; font-size: .98rem; color: #fff; background: linear-gradient(100deg, var(--violet), var(--pink), var(--orange)); background-size: 200% 100%; animation: shine 4s ease infinite alternate; box-shadow: 0 6px 0 var(--ink); }
.primary:active, .secondary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
@keyframes shine { to { background-position: 100% 0; } }
.secondary { background: #fff; color: var(--ink); border: 3px solid var(--ink); animation: none; }
.primary:disabled { background: #E9E3F5; color: #8B7DA8; box-shadow: none; animation: none; cursor: not-allowed; }
.link { display: block; margin: 14px auto 0; border: 0; background: none; text-decoration: underline; }
.error { background: #FFE3EE; color: #8A0845; border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.panel { text-align: center; }
.steps { list-style: none; padding: 0; text-align: left; }
.steps li { padding: 9px 0; color: var(--soft); }
.steps li::before { content: '○ '; }
.steps li[data-state=active] { color: var(--ink); font-weight: 800; }
.steps li[data-state=active]::before { content: '● '; color: var(--pink); }
.steps li[data-state=done]::before { content: '✓ '; color: var(--violet); }
.result { border: 0; background: none; display: block; margin: 0 auto; }
.result img { width: min(250px, 100%); aspect-ratio: 1; filter: drop-shadow(0 8px 16px #16063455); animation: pop .5s cubic-bezier(.2, 2, .4, 1); }
@keyframes pop { from { transform: scale(.3) rotate(-12deg); } }
.result span { display: block; font-weight: 800; margin-top: 8px; }

.extra { display: grid; gap: 14px; align-content: start; }
.card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 22px; text-decoration: none; background: #fff; color: var(--ink); box-shadow: 0 6px 0 var(--ink); }
.card small { display: block; color: var(--soft); }
.card i { font-style: normal; font-weight: 800; background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 16px; }
.channel { background: var(--cyan); }
.channel small { color: var(--ink); }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.how li { counter-increment: step; display: flex; gap: 14px; align-items: center; background: #ffffff1a; border: 1px solid #ffffff2e; border-radius: 20px; padding: 14px 16px; backdrop-filter: blur(8px); }
.how li::before { content: counter(step); flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 900 1.1rem 'Unbounded', sans-serif; background: var(--lime); color: var(--ink); rotate: -6deg; }
.how b { display: block; }
footer { padding-block: 34px; color: #E4D7FF; font-size: .85rem; text-align: center; }
td { padding: 4px 16px 4px 0; }
#result-video { width: 100%; aspect-ratio: 1; border-radius: 22px; background: var(--night); display: block; }
.qr { margin: 12px 0 0; }
.qr figcaption { color: var(--soft); font-size: .88rem; }
.donate { margin-top: 20px; padding: 18px; border-radius: 22px; background: linear-gradient(140deg, #EFFFC2, #D6FBFF); }
.donate p { margin: 0; }
.values { justify-content: center; margin-top: 12px; }
.values .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
#pix-box { margin-top: 12px; }
#pix-box img { border-radius: 14px; background: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
