/* ============================================================
   MIMOS DA MARA — Quiz Clone CSS
   Paleta, tipografia, animações e layout extraídos do original
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Caveat:wght@600;700&family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
ul { list-style: none; }

/* ---------- CSS VARIABLES (TOKENS) ---------- */
:root {
  --mqk-cream:    #FAF2E2;
  --mqk-sand:     #E7D7B8;
  --mqk-paper:    #FFFDF8;
  --mqk-ink:      #4A3320;
  --mqk-ink-soft: #6A523A;
  --mqk-ink-faint:#8A7257;
  --mqk-orange:   #C9772C;
  --mqk-orange-text:#A85E22;
  --mqk-green:    #5C8A4E;
  --mqk-brown:    #7A4A24;
}

/* ---------- BASE ---------- */
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--mqk-ink);
  background: var(--mqk-sand);
}
::selection { background: #F2C98A; color: #4A3320; }

/* ---------- BACKDROP & APP SHELL ---------- */
.mqk-backdrop {
  min-height: 100vh;
  background: var(--mqk-sand);
  background-image: radial-gradient(circle at 1px 1px, rgba(122,74,36,.08) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  display: flex;
  justify-content: center;
}
.mqk-app {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  background: var(--mqk-cream);
  position: relative;
  box-shadow: 0 0 60px -10px rgba(122,74,36,.35);
  background-image: radial-gradient(circle at 1px 1px, rgba(201,119,44,.06) 1.3px, transparent 1.5px);
  background-size: 24px 24px;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER / GIFT METER ========== */
.mqk-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--mqk-paper);
  border-bottom: 2px dashed #E3BE84;
  padding: 11px 16px 12px;
  box-shadow: 0 6px 16px -10px rgba(122,74,36,.4);
}
.mqk-meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mqk-meter-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #B07A3C;
}
.mqk-meter-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.mqk-meter-cur {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 18px;
  color: var(--mqk-orange);
}
.mqk-meter-num {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 33px;
  line-height: 1;
  color: var(--mqk-orange);
  display: inline-block;
}
.mqk-meter-num.pop {
  animation: mqkPop .3s ease;
}
.mqk-singer {
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: #F0E2C4;
  color: #9A8568;
  transition: background .4s, color .4s;
}
.mqk-singer.on {
  background: var(--mqk-green);
  color: #fff;
}
.mqk-bar {
  height: 11px;
  border-radius: 999px;
  background: #F3E3C2;
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}
.mqk-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7CB36A, #5C8A4E);
  transition: width .85s cubic-bezier(.2,.8,.2,1);
  width: 0%;
}
.mqk-meter-hint {
  text-align: center;
  margin-top: 7px;
}
.mqk-meter-hint span {
  font-size: 10.5px;
  color: #A89072;
  font-weight: 700;
}

/* ========== SCREEN AREA ========== */
.mqk-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mqk-screen {
  flex: 1;
  display: none; /* controlled by JS */
  flex-direction: column;
}
.mqk-screen.active {
  display: flex;
}
.mqk-screen-anim {
  animation: mqkScreenIn .42s cubic-bezier(.2,.7,.2,1) both;
}
.mqk-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========== CTA BUTTON ========== */
.mqk-cta {
  width: 100%;
  background: linear-gradient(180deg, #6BA258, #4E7D42);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 24px -6px rgba(78,125,66,.55);
  transition: filter .2s ease, transform .12s ease;
}
.mqk-cta:hover {
  filter: brightness(1.05);
}
.mqk-cta:active {
  transform: scale(.985);
}
.mqk-cta:disabled {
  opacity: .75;
  cursor: default;
}
.mqk-cta-lg {
  font-size: 20px;
  padding: 18px 24px;
}
.mqk-cta-md {
  font-size: 19px;
  padding: 17px 22px;
}
.mqk-cta-sm {
  font-size: 18.5px;
  padding: 17px 22px;
}

/* ========== INTRO SCREEN ========== */
.mqk-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 24px 36px;
}
.mqk-avatar-wrap {
  position: relative;
  margin-bottom: 20px;
}
.mqk-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px dashed #DDB079;
  background: #F3DFB5;
  box-shadow: 0 16px 30px -14px rgba(122,74,36,.5);
}
.mqk-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 20%;
}
.mqk-avatar-tag {
  position: absolute;
  bottom: -6px;
  right: -10px;
  background: var(--mqk-green);
  color: #fff;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 18px;
  padding: 5px 12px;
  white-space: nowrap;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 8px 14px rgba(92,138,78,.45);
}
.mqk-intro-h1 {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--mqk-ink);
  text-wrap: balance;
}
.mqk-intro-h1 span {
  color: var(--mqk-orange);
}
.mqk-intro-p {
  font-size: 16.5px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--mqk-ink-soft);
  max-width: 360px;
}
.mqk-note-gift {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--mqk-paper);
  border: 2px solid #EBD6AC;
  border-radius: 14px;
  padding: 11px 14px;
  margin-bottom: 24px;
  max-width: 360px;
}
.mqk-note-gift span {
  font-size: 24px;
}
.mqk-note-gift p {
  margin: 0;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--mqk-ink-soft);
}
.mqk-intro .mqk-cta {
  max-width: 360px;
}
.mqk-fineprint {
  margin: 13px 0 0;
  font-size: 12.5px;
  color: var(--mqk-ink-faint);
  font-weight: 700;
}

/* ========== QUESTION SCREEN ========== */
.mqk-q {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 34px;
}
.mqk-q-head {
  text-align: center;
  margin-bottom: 22px;
}
.mqk-q-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 12px;
}
.mqk-q-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 25px;
  line-height: 1.18;
  margin: 0;
  color: var(--mqk-ink);
  text-wrap: balance;
}
.mqk-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mqk-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border-radius: 18px;
  padding: 16px 15px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  border-width: 2.5px;
  border-style: solid;
  transition: transform .12s, box-shadow .12s, border-color .2s, background .2s, opacity .2s;
  background: var(--mqk-paper);
  border-color: #E3BE84;
  color: var(--mqk-ink);
  box-shadow: 0 5px 0 #E9D6B0;
}
.mqk-opt:not(:disabled):active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #E9D6B0;
}
.mqk-opt.sel {
  background: #EAF3E4;
  border-color: var(--mqk-green);
  color: #2F5B27;
  box-shadow: 0 5px 0 #BBD3AD;
}
.mqk-opt.dim {
  background: #FBF4E4;
  border-color: #EADFCA;
  color: #9A8568;
  box-shadow: none;
  opacity: .55;
}
.mqk-opt-badge {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  font-family: 'Baloo 2', cursive;
  background: #FBE6C2;
  color: var(--mqk-orange);
  border: 2px dashed #DFA765;
}
.mqk-opt.sel .mqk-opt-badge {
  background: var(--mqk-green);
  color: #fff;
  border: none;
}
.mqk-opt.dim .mqk-opt-badge {
  background: #EFE3CB;
  color: #B7A582;
  border: none;
}
.mqk-opt-label {
  flex: 1;
  line-height: 1.3;
}
.mqk-q-foot {
  margin-top: auto;
  padding-top: 22px;
}
.mqk-praise {
  text-align: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 19px;
  color: var(--mqk-green);
  margin: 0 0 14px;
  opacity: 0;
  transition: opacity .4s ease;
}
.mqk-praise.show {
  opacity: 1;
}

/* ========== LEAD CAPTURE SCREEN ========== */
.mqk-lead {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 34px;
}
.mqk-lead-head {
  text-align: center;
  margin-bottom: 22px;
}
.mqk-lead-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
}
.mqk-lead-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 25px;
  line-height: 1.16;
  margin: 0 0 10px;
  color: var(--mqk-ink);
  text-wrap: balance;
}
.mqk-lead-sub {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 340px;
  color: var(--mqk-ink-soft);
}
.mqk-form {
  display: flex;
  flex-direction: column;
}
.mqk-label {
  font-weight: 800;
  font-size: 13.5px;
  color: var(--mqk-brown);
  margin: 0 0 6px;
}
.mqk-input {
  width: 100%;
  background: var(--mqk-paper);
  border: 2.5px solid #E3BE84;
  border-radius: 14px;
  padding: 16px;
  font-size: 16.5px;
  color: var(--mqk-ink);
  outline: none;
  transition: border-color .2s;
}
.mqk-input:focus {
  border-color: #C9772C;
}
.mqk-input + .mqk-label {
  margin-top: 16px;
}
.mqk-err {
  color: #C0392B;
  font-size: 13.5px;
  font-weight: 700;
  margin: 6px 0 0;
  display: none;
}
.mqk-err.show {
  display: block;
}
.mqk-secure {
  text-align: center;
  margin: 13px 0 0;
  font-size: 12px;
  color: var(--mqk-ink-faint);
  line-height: 1.5;
}
.mqk-lead .mqk-cta {
  margin-top: 20px;
}

/* ========== INFO SCREEN ========== */
.mqk-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 34px;
}
.mqk-info-tagwrap {
  text-align: center;
  margin-bottom: 16px;
}
.mqk-info-tag {
  display: inline-block;
  background: #FBE6C2;
  color: var(--mqk-orange-text);
  border: 2px dashed #DFA765;
  border-radius: 999px;
  padding: 6px 15px;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .5px;
}
.mqk-info-portrait {
  position: relative;
  max-width: 228px;
  margin: 0 auto 18px;
}
.mqk-info-portrait-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 74%;
  background: #F3DFB5;
  border-radius: 22px;
  background-image: radial-gradient(circle, rgba(201,119,44,.22) 2px, transparent 2.5px);
  background-size: 16px 16px;
}
.mqk-info-portrait img {
  position: relative;
  display: block;
  width: 100%;
  filter: drop-shadow(0 16px 22px rgba(122,74,36,.4));
}
.mqk-info-rect {
  background: var(--mqk-paper);
  border: 3px dashed #DDB079;
  border-radius: 22px;
  padding: 11px;
  box-shadow: 0 18px 34px -18px rgba(122,74,36,.45);
  margin-bottom: 20px;
}
.mqk-info-rect img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.mqk-info-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.18;
  margin: 0 0 12px;
  color: var(--mqk-ink);
  text-align: center;
  text-wrap: balance;
}
.mqk-info-text {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 360px;
  color: var(--mqk-ink-soft);
  text-align: center;
}
.mqk-info-foot {
  margin-top: auto;
  padding-top: 24px;
}

/* ========== FINAL / OFFER SCREEN ========== */
.mqk-final {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 40px;
}
.mqk-final-head {
  text-align: center;
  margin-bottom: 8px;
}
.mqk-final-emoji {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 8px;
}
.mqk-final-h2 {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 27px;
  line-height: 1.12;
  margin: 0 0 6px;
  color: var(--mqk-ink);
  text-wrap: balance;
}
.mqk-final-sub {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 330px;
  color: var(--mqk-ink-soft);
}

/* Reveal card (discount) */
.mqk-reveal {
  background: var(--mqk-paper);
  border: 4px solid var(--mqk-green);
  border-radius: 24px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 22px 42px -18px rgba(92,138,78,.5);
  margin: 18px 0 16px;
}
.mqk-reveal-kicker {
  margin: 0 0 4px;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .4px;
  color: var(--mqk-green);
  text-transform: uppercase;
}
.mqk-reveal-off {
  margin: 0 0 8px;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--mqk-orange);
}
.mqk-reveal-from {
  margin: 0;
  font-size: 17px;
  color: var(--mqk-ink-soft);
}
.mqk-reveal-price {
  margin: 2px 0 0;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--mqk-green);
}
.mqk-reveal-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--mqk-ink-faint);
  font-weight: 600;
}

/* Raffle card */
.mqk-raffle {
  background: var(--mqk-brown);
  color: #F8E9CF;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  gap: 13px;
  align-items: center;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1.3px, transparent 1.5px);
  background-size: 18px 18px;
}
.mqk-raffle-emoji {
  font-size: 34px;
  flex: none;
}
.mqk-raffle-title {
  margin: 0 0 4px;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 17px;
  color: #FBD79A;
}
.mqk-raffle-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #EBD3AF;
}

/* Countdown */
.mqk-cd-wrap {
  text-align: center;
  margin-bottom: 18px;
}
.mqk-cd-label {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--mqk-orange-text);
  margin: 0 0 10px;
}
.mqk-cd-boxes {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  justify-content: center;
}
.mqk-cd-box {
  background: var(--mqk-brown);
  color: #FFF6E4;
  border-radius: 12px;
  padding: 9px 0;
  width: 60px;
  text-align: center;
}
.mqk-cd-num {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  display: block;
}
.mqk-cd-unit {
  font-size: 9.5px;
  letter-spacing: 1px;
  opacity: .8;
}
.mqk-cd-sep {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 22px;
  color: var(--mqk-orange);
  padding-bottom: 10px;
}

/* Plan card */
.mqk-plan {
  position: relative;
  margin: 6px 0 16px;
}
.mqk-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6BA258, #4E7D42);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .6px;
  padding: 7px 18px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 10px 18px rgba(78,125,66,.5);
  white-space: nowrap;
}
.mqk-plan-card {
  background: var(--mqk-paper);
  border: 4px solid var(--mqk-green);
  border-radius: 22px;
  padding: 28px 20px 20px;
  box-shadow: 0 24px 44px -20px rgba(92,138,78,.5);
}
.mqk-plan-name {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 21px;
  color: var(--mqk-ink);
  margin: 0 0 4px;
  text-align: center;
}
.mqk-plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: center;
  margin-bottom: 14px;
}
.mqk-plan-old {
  font-size: 17px;
  color: #9A8568;
  text-decoration: line-through;
}
.mqk-plan-new {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 46px;
  line-height: .9;
  color: var(--mqk-green);
  margin-left: 6px;
}
.mqk-plan-features {
  padding: 0;
  margin: 0 0 16px;
}
.mqk-plan-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--mqk-ink);
}
.mqk-plan-feature:last-child {
  margin-bottom: 0;
}
.mqk-fcheck {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  background: var(--mqk-green);
}
.mqk-fcheck.orange {
  background: var(--mqk-orange);
  font-size: 11px;
}
.mqk-plan-fine {
  text-align: center;
  margin: 11px 0 0;
  font-size: 12px;
  color: var(--mqk-ink-faint);
}

/* Basic plan (outline) */
.mqk-basic {
  background: #FBF4E4;
  border: 2px solid #E5D2AC;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  margin-top: 16px;
}
.mqk-basic-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 17px;
  color: var(--mqk-ink);
  margin: 0 0 2px;
}
.mqk-basic-sub {
  font-size: 13.5px;
  color: var(--mqk-ink-faint);
  margin: 0 0 12px;
}
.mqk-cta-outline {
  width: 100%;
  background: var(--mqk-paper);
  color: var(--mqk-orange-text);
  border: 2px solid #D8B57E;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
.mqk-cta-outline:hover {
  background: #FBF0DB;
}
.mqk-final-disc {
  text-align: center;
  font-size: 11.5px;
  color: #A89072;
  margin: 18px 0 0;
  line-height: 1.5;
}

/* ========== LOADING SCREEN ========== */
.mqk-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.mqk-loading-emoji {
  font-size: 50px;
  margin-bottom: 20px;
  animation: mqkPulse 1.6s ease-in-out infinite;
}
.mqk-loading-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 24px;
  color: var(--mqk-ink);
  margin: 0 0 12px;
}
.mqk-loading-sub {
  font-size: 15px;
  color: var(--mqk-ink-soft);
  margin: 0 0 30px;
}
.mqk-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #F3E3C2;
  border-top-color: var(--mqk-green);
  border-radius: 50%;
  animation: mqkSpin 1s linear infinite;
}
.mqk-loading-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.mqk-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mqk-green);
  animation: mqkDotBounce 1.4s ease-in-out infinite;
}
.mqk-loading-dots span:nth-child(2) { animation-delay: .16s; }
.mqk-loading-dots span:nth-child(3) { animation-delay: .32s; }

/* ========== KEYFRAME ANIMATIONS ========== */
@keyframes mqkPop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

@keyframes mqkPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}

@keyframes mqkScreenIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes mqkConfFall {
  0%   { opacity: 1; transform: translateY(-12px) rotate(0); }
  100% { opacity: .95; transform: translateY(112vh) rotate(720deg); }
}

@keyframes mqkCoinFly {
  0%   { opacity: 0; transform: translate(-50%, 18px) scale(.8); }
  16%  { opacity: 1; transform: translate(-50%, 0) scale(1.06); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -74px) scale(1); }
}

@keyframes mqkSpin {
  to { transform: rotate(360deg); }
}

@keyframes mqkDotBounce {
  0%, 80%, 100% { transform: scale(0); opacity: .5; }
  40%           { transform: scale(1); opacity: 1; }
}

@keyframes mqkShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  50%      { transform: translateX(5px); }
  75%      { transform: translateX(-3px); }
}

.mqk-pulse {
  animation: mqkPulse 1.6s ease-in-out infinite;
  will-change: transform;
}

/* ========== CONFETTI ========== */
.mqk-confetti-piece {
  position: fixed;
  top: -10px;
  z-index: 100;
  pointer-events: none;
  animation: mqkConfFall linear forwards;
}

/* ========== COIN ANIMATION ========== */
.mqk-coin-fly {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  font-size: 28px;
  animation: mqkCoinFly .7s ease forwards;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  .mqk-pulse,
  .mqk-meter-num.pop,
  .mqk-screen-anim { animation: none !important; }
  .mqk-fill { transition: none !important; }
}

/* Carousel de Moldes */
.mqk-moldes-wrapper {
  margin: 24px 0;
  text-align: center;
}
.mqk-moldes-title {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.mqk-moldes-carousel {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.mqk-moldes-carousel::-webkit-scrollbar {
  display: none; /* Chrome */
}
.mqk-molde-img {
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  object-fit: cover;
  height: 280px;
  width: auto;
  max-width: 70vw;
}
.mqk-moldes-swipe-hint {
  font-size: 0.85rem;
  color: #777;
  margin-top: 5px;
  animation: pulseHint 2s infinite;
}
@keyframes pulseHint {
  0% { opacity: 0.6; transform: translateX(-2px); }
  50% { opacity: 1; transform: translateX(2px); }
  100% { opacity: 0.6; transform: translateX(-2px); }
}


/* Progress Bar */
.mqk-meter-label { display: flex; justify-content: space-between; align-items: center; }
.mqk-progress-text { font-size: 13px; font-weight: 800; color: var(--mqk-green); }

/* Robust Loading */
.mqk-loading-steps { list-style: none; padding: 0; margin: 20px auto; text-align: left; max-width: 280px; }
.mqk-loading-step { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--mqk-gray-mid); opacity: 0.4; transition: opacity 0.3s; }
.mqk-loading-step.active { opacity: 1; color: var(--mqk-gray-dark); font-weight: 600; }
.mqk-loading-step-icon { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--mqk-gray-mid); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.mqk-loading-step.active .mqk-loading-step-icon { border-color: var(--mqk-green); background: var(--mqk-green); color: white; }

/* Price Anchoring */
.mqk-reveal-from { font-size: 16px; margin-bottom: 4px; }
.mqk-reveal-from s { font-size: 24px; color: #ff4d4f; font-weight: 800; margin-left: 4px; }
.mqk-reveal-math { font-size: 13px; font-weight: 800; color: var(--mqk-green); background: rgba(39,174,96,0.12); padding: 6px 14px; border-radius: 20px; display: inline-block; margin-top: 10px; animation: mqkPulse 2s infinite; }
