:root {
  --bg-1: #180f30;
  --bg-2: #2a1852;
  --bg-3: #3a2168;
  --card-top: #33205c;
  --card-bottom: #241541;
  --card: linear-gradient(160deg, var(--card-top) 0%, var(--card-bottom) 100%);
  --ink: #f6f1ff;
  --ink-soft: #c3b4e6;
  --accent: #e9c983;
  --accent-dark: #c8952f;
  --warn-bg: rgba(192, 68, 106, 0.16);
  --warn-text: #ffb0c4;
  --border: rgba(214, 179, 99, 0.32);
  --gold: #d4af5a;
  --radius: 18px;
  --max-w: 480px;
  --shadow: 0 10px 28px rgba(8, 3, 24, 0.5);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-1);
  color: var(--ink);
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.app {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 175, 90, 0.16) 0%, rgba(212, 175, 90, 0) 40%),
    radial-gradient(circle at 88% 18%, rgba(154, 108, 226, 0.28) 0%, rgba(154, 108, 226, 0) 45%),
    radial-gradient(circle at 20% 92%, rgba(212, 175, 90, 0.10) 0%, rgba(212, 175, 90, 0) 40%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 22% 24%, rgba(233, 201, 131, 0.8) 0%, rgba(233, 201, 131, 0) 100%),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(1px 1px at 60% 62%, rgba(233, 201, 131, 0.55) 0%, rgba(233, 201, 131, 0) 100%),
    radial-gradient(1.5px 1.5px at 12% 78%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(1px 1px at 90% 82%, rgba(233, 201, 131, 0.6) 0%, rgba(233, 201, 131, 0) 100%),
    radial-gradient(1px 1px at 40% 92%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.9;
}

.topbar,
.screen {
  position: relative;
  z-index: 1;
}

.scarcity-banner {
  position: relative;
  z-index: 2;
  text-align: center;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  line-height: 1.35;
  padding: 10px 18px;
}

.scarcity-banner:empty {
  display: none;
}

.scarcity-banner.banner-info {
  background: rgba(212, 175, 90, 0.14);
  color: var(--accent);
  border-bottom: 1px solid rgba(214, 179, 99, 0.3);
}

.scarcity-banner.banner-urgency {
  color: #fff;
  background: #c0143a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  animation: banner-pulse 1.6s ease-in-out infinite;
}

@keyframes banner-pulse {
  0%, 100% { background: #c0143a; }
  50% { background: #e0173f; }
}

.topbar {
  padding: 14px 20px 0;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(214, 179, 99, 0.22);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 99px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(212, 175, 90, 0.6);
}

.screen {
  flex: 1;
  padding: 28px 22px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--ink);
}

h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 4px 0 20px;
  color: var(--ink);
}

p.subtitle {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 18px;
}

.gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 90, 0.14);
  color: var(--gold);
  border: 1px solid rgba(214, 179, 99, 0.4);
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 6px auto 26px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-illustration svg {
  width: 100%;
  height: 100%;
}

/* Estas duas regras cobrem QUALQUER imagem de duas camadas (fundo desfocado +
   imagem nítida completa), independentemente do contêiner onde for usada
   (.option-icon, .option-row .option-icon ou .hero-illustration). */
img.opt-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) brightness(0.85);
  transform: scale(1.25);
  z-index: 0;
}

img.opt-img-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-bottom: 6px;
}

.option-grid.single-col {
  grid-template-columns: 1fr;
}

.option-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px 16px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
}

.option-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 90, 0.18), var(--shadow);
}

.option-card.selected {
  border-color: var(--gold);
  background: linear-gradient(160deg, #3d275f 0%, #2a1849 100%);
}

.trivia-opt {
  position: relative;
}

.trivia-opt.disabled {
  cursor: default;
}

.trivia-opt .feedback-icon {
  display: none;
}

.trivia-opt.correct,
.trivia-opt.incorrect {
  transform: none;
}

.trivia-opt.correct {
  border-color: var(--gold);
  background: linear-gradient(160deg, #3d3050 0%, #241541 100%);
}

.trivia-opt.incorrect {
  border-color: var(--warn-text);
  background: rgba(192, 68, 106, 0.16);
}

.trivia-opt.correct .feedback-icon,
.trivia-opt.incorrect .feedback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.trivia-opt .feedback-icon svg {
  width: 100%;
  height: 100%;
}

.option-card.trivia-opt .feedback-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}

/* Caixa reservada para o ícone/imagem — SEMPRE quadrada (aspect-ratio 1:1),
   para que o texto abaixo nunca seja afetado. A imagem é mostrada
   COMPLETA (object-fit: contain, sem cortes); o fundo desfocado da
   mesma imagem preenche os cantos para que não fiquem barras vazias. */
.option-icon {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.option-icon svg {
  width: 56px;
  height: 56px;
}

.option-icon img.opt-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) brightness(0.85);
  transform: scale(1.25);
  z-index: 0;
}

.option-icon img.opt-img-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.option-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
  box-shadow: var(--shadow);
}

.option-row:hover {
  border-color: var(--gold);
}

.option-row.selected {
  border-color: var(--gold);
  background: linear-gradient(160deg, #3d275f 0%, #2a1849 100%);
}

.option-row .option-icon {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.option-row .option-icon svg {
  width: 40px;
  height: 40px;
}

.option-row .option-icon img.opt-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.85);
  transform: scale(1.25);
  z-index: 0;
}

.option-row .option-icon img.opt-img-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.option-row .checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-row.selected .checkbox {
  background: var(--gold);
  border-color: var(--gold);
}

.option-row .option-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.cta-btn {
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--accent-dark));
  color: #211236;
  border: none;
  border-radius: 99px;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 8px 22px rgba(212, 175, 90, 0.35);
  transition: transform 0.12s ease;
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.trivia-question {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 6px 0 20px;
  line-height: 1.4;
  color: var(--ink);
}

.video-illustration {
  width: 100%;
  max-width: 300px;
  margin: 6px auto 26px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.video-illustration video {
  width: 100%;
  max-height: 380px;
  display: block;
  object-fit: contain;
}

.analyzing-wrap {
  flex: 1;
  width: 100%;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.analyzing-ring {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  padding: 7px;
  background: conic-gradient(from 0deg, var(--gold), var(--accent), rgba(212, 175, 90, 0.15), var(--gold));
  animation: analyzing-spin 1.4s linear infinite;
  box-shadow: 0 0 32px rgba(212, 175, 90, 0.35);
}

.analyzing-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--card-bottom);
  display: flex;
  align-items: center;
  justify-content: center;
}

.analyzing-pct {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
}

@keyframes analyzing-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.analyzing-msg {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-soft);
  min-height: 1.4em;
}

.analyzing-msg.msg-anim {
  animation: analyzing-msg-fade 0.35s ease;
}

@keyframes analyzing-msg-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.analyzing-wrap .loading-wrap {
  max-width: 300px;
}

.loading-wrap {
  width: 100%;
  margin-top: 30px;
}

.loading-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(214, 179, 99, 0.22);
}

.loading-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 99px;
  width: 0%;
  transition: width 0.25s linear;
  box-shadow: 0 0 8px rgba(212, 175, 90, 0.6);
}

.loading-label {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.result-score {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 4px;
  color: var(--ink);
}

.result-msg-box {
  background: rgba(192, 68, 106, 0.14);
  color: var(--warn-text);
  border: 1px solid rgba(255, 176, 196, 0.25);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: left;
  margin-top: 14px;
}

.result-msg-box b { color: var(--warn-text); }

.chart-wrap {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}

.chart-title {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 18px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  height: 140px;
}

.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.chart-bar {
  width: 46px;
  border-radius: 8px 8px 0 0;
}

.chart-bar.avg { background: #6a5490; }
.chart-bar.you { background: linear-gradient(180deg, #e9c983, #c8952f); box-shadow: 0 0 10px rgba(212, 175, 90, 0.45); }

.chart-label {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.chart-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.good-news {
  text-align: left;
  width: 100%;
  margin: 10px 0 4px;
}

.good-news h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--ink);
}

.good-news p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 10px;
}

.verse-quote {
  text-align: center;
  margin: 18px 0;
  font-style: italic;
}

.verse-highlight {
  background: linear-gradient(104deg, rgba(90, 199, 130, 0) 0.5%, rgba(90, 199, 130, 0.55) 3%, rgba(90, 199, 130, 0.55) 97%, rgba(90, 199, 130, 0) 99.5%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 2px 2px;
  color: #142418;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.7;
}

.verse-ref {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.product-name {
  color: var(--gold);
  font-weight: 800;
}

.testimonials-section {
  width: calc(100% + 44px);
  margin: 26px -22px 10px;
  padding: 34px 22px 30px;
  background:
    radial-gradient(circle at 15% 0%, rgba(212, 175, 90, 0.14) 0%, rgba(212, 175, 90, 0) 42%),
    radial-gradient(circle at 90% 100%, rgba(167, 139, 250, 0.30) 0%, rgba(167, 139, 250, 0) 50%),
    linear-gradient(160deg, #4a2c86 0%, #2c1758 55%, #1c0f3a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  text-align: center;
}

.testimonials-subtitle {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 22px;
}

.testimonials-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -22px;
  padding: 4px 22px 8px;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 78%;
  max-width: 300px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.testimonial-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 420px) {
  .testimonial-card { flex-basis: 64%; }
}

.benefits-section,
.includes-section {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}

.benefits-title,
.includes-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  margin: 0 0 18px;
}

.benefits-title span,
.includes-title span {
  color: var(--gold);
}

.bonus-highlight {
  margin: 6px 0 0;
  padding: 14px 16px;
  background: rgba(212, 175, 90, 0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.offer-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin: 16px 0;
  box-shadow: var(--shadow);
}

.offer-photo {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  margin: 0 auto 14px;
  border: 1px solid var(--border);
}

.offer-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.offer-bullets {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.offer-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.offer-bullets svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-offer {
  text-align: center;
  margin: 22px 0 26px;
  padding: 16px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-old {
  font-size: 0.9rem;
  color: #948dae;
}

.price-old s {
  text-decoration: line-through;
  text-decoration-color: #948dae;
}

.price-new {
  margin-top: 10px;
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.price-amount {
  color: #a78bfa;
  text-shadow: 0 0 28px rgba(124, 58, 237, 0.6);
}

.price-perks {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.footer-note {
  color: var(--ink-soft);
  font-size: 0.78rem;
  margin-top: 16px;
  line-height: 1.5;
}

.back-link {
  align-self: flex-start;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
