const wrapper = document.getElementById("contentWrapper");
const surpriseButton = document.getElementById("surpriseButton");
const messagePanel = document.getElementById("messagePanel");
const closeButton = document.getElementById("closeButton");

// Show message panel & blur background
surpriseButton.addEventListener("click", () => {
  wrapper.classList.add("blur");
  messagePanel.style.display = "block";
});

// Hide message panel & remove blur
closeButton.addEventListener("click", () => {
  wrapper.classList.remove("blur");
  messagePanel.style.display = "none";
});
