.elementor-883 .elementor-element.elementor-element-111ee647 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:20px;}.elementor-883 .elementor-element.elementor-element-668297a7{text-align:center;}.elementor-883 .elementor-element.elementor-element-668297a7 .elementor-heading-title{color:#000000;font-family:"Roboto", Sans-serif;font-weight:600;text-shadow:0px 0px 3px rgba(0,0,0,0.3);}.elementor-883 .elementor-element.elementor-element-668297a7 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-883 .elementor-element.elementor-element-155fded7 img{border-radius:9px 9px 9px 9px;box-shadow:0px 0px 10px 0px rgba(0,0,0,0.5);}.elementor-883 .elementor-element.elementor-element-155fded7 > .elementor-widget-container{margin:-6px -6px -6px -6px;}.elementor-883 .elementor-element.elementor-element-5054ed60{color:#000000;font-family:"Roboto", Sans-serif;font-weight:400;}.elementor-883 .elementor-element.elementor-element-3eed610d{text-align:center;color:#000000;font-family:"Roboto", Sans-serif;font-size:11px;font-weight:400;}body.elementor-page-883:not(.elementor-motion-effects-element-type-background), body.elementor-page-883 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}@media(max-width:767px){.elementor-883 .elementor-element.elementor-element-668297a7 .elementor-heading-title{font-size:23px;line-height:1.2em;}.elementor-883 .elementor-element.elementor-element-668297a7 > .elementor-widget-container{margin:24px 24px 24px 24px;padding:0px 0px 0px 0px;}.elementor-883 .elementor-element.elementor-element-5054ed60{font-size:17px;}}/* Start custom CSS */<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Spiritual Quiz</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      background: url('https://i.imgur.com/rYQBw1y.jpg') no-repeat center center fixed;
      background-size: cover;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .quiz-container {
      max-width: 600px;
      margin: 80px auto;
      padding: 20px;
      text-align: center;
    }

    .question-title {
      font-size: 24px;
      color: white;
      margin-bottom: 40px;
      font-weight: bold;
    }

    .answer-btn {
      background-color: white;
      color: #000;
      border: none;
      border-radius: 15px;
      padding: 16px 20px;
      font-size: 16px;
      margin: 10px 0;
      width: 100%;
      cursor: pointer;
      text-align: left;
      transition: background-color 0.3s ease;
    }

    .answer-btn:hover {
      background-color: #f0f0f0;
    }

    .emoji {
      margin-right: 10px;
    }

    /* Estilo do botão verde pulsante */
    #seeResultsBtn {
      display: none;
      margin-top: 40px;
      padding: 15px 30px;
      font-size: 18px;
      font-weight: bold;
      background-color: #28a745; /* verde */
      color: #ffffff;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      animation: pulse 2s infinite;
    }

    #seeResultsBtn:hover {
      background-color: #218838;
    }

    /* animação de pulsar */
    @keyframes pulse {
      0%   { transform: scale(1);   }
      50%  { transform: scale(1.05); }
      100% { transform: scale(1);   }
    }
  </style>
</head>
<body>

<div class="quiz-container" id="quiz">
  <div id="questionBox" class="question-title"></div>
  <div id="answerButtons"></div>
  <button id="seeResultsBtn" onclick="openPopup()">SEE MY RESULTS</button>
</div>

<script>
  const quizData = [
    {
      question: "Have you ever felt like something is blocking your life... but you can’t explain what it is?",
      answers: [
        "😖 Yes, I’ve felt that more than once.",
        "🥹 Maybe... but I’m not sure what it means.",
        "😊 No, my life is perfect and everything always works out the way I want."
      ]
    },
    {
      question: "What is the biggest wish you have or always wanted to come true?",
      answers: [
        "💸 A financial breakthrough.",
        "❤️‍🩹 Healing for myself or someone I love.",
        "🙏🏻 I don’t even know anymore... I just need a miracle."
      ]
    },
    {
      question: "Are you willing to live a life of miracles?",
      answers: [
        "🚀 Yes, I’m ready.",
        "🙌🏻 I’m not sure, but I want to try.",
        "❌ I’m not interested."
      ]
    }
  ];

  let currentQuestion = 0;
  let answers = [];

  function showQuestion(index) {
    const qBox = document.getElementById("questionBox");
    const aBox = document.getElementById("answerButtons");
    const seeBtn = document.getElementById("seeResultsBtn");

    qBox.textContent = quizData[index].question;
    aBox.innerHTML = "";
    seeBtn.style.display = "none";

    quizData[index].answers.forEach(answer => {
      const btn = document.createElement("button");
      btn.className = "answer-btn";
      btn.textContent = answer;
      btn.onclick = () => handleAnswer(answer);
      aBox.appendChild(btn);
    });
  }

  function handleAnswer(answer) {
    answers.push(answer);
    currentQuestion++;
    if (currentQuestion < quizData.length) {
      showQuestion(currentQuestion);
    } else {
      document.getElementById("questionBox").textContent = "Thank you for answering!";
      document.getElementById("answerButtons").innerHTML = "";
      document.getElementById("seeResultsBtn").style.display = "inline-block";
    }
  }

  function openPopup() {
    // altera 'result.html' para a página que você quiser abrir
    window.open('result.html', 'ResultsWindow', 'width=600,height=600');
  }

  // inicia o quiz
  showQuestion(currentQuestion);
</script>

</body>
</html>/* End custom CSS */