.futureproof-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  animation: fadeInModal 0.25s ease both;
}

.futureproof-modal[hidden] { display: none; }

.futureproof-modal-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-block: auto;
  max-width: 90vw;
  padding-block: 56px 24px;
  animation: popInModal 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.futureproof-modal-dialog h2 {
  margin: 0;
  color: #ff1fa9;
  font-family: "Carter One", cursive;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
}

.futureproof-modal-dialog p { margin: 0; color: #333333; }

.futureproof-modal-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 0;
  color: #555555;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.futureproof-modal-qr,
.futureproof-modal-qr img { width: 220px; height: 220px; }

body.futureproof-modal-open { overflow: hidden; }
