body {
  margin: 0;
  padding: 2em;
  background-image: url('/bg_parchment_tile.png');
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: auto;
  background-color: #f4f1e9;
  color: #332b1a;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

/* ------------------------------
   🧠 Title Header
------------------------------ */
h1 {
  font-family: 'Georgia', serif;
  font-size: 2.5em;
  color: #533b1c;
  text-shadow:
    1px 1px 2px #e7d7ae,
    -1px -1px 2px #a67c52;
  background: rgba(255, 248, 230, 0.4);
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 6px;
}

/* ------------------------------
   📖 Body Blurb Box
------------------------------ */
.body-blurb {
  background: rgba(255, 255, 255, 0.75);
  padding: 1.5em 2em;
  margin: 2em auto;
  border-radius: 10px;
  max-width: 700px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  line-height: 1.6;
  font-size: 1.1em;
  color: #2c1c0a;
  text-align: center;
}

/* ------------------------------
   ✨ Generate Button
------------------------------ */
button {
  background: #b89c5e;
  border: none;
  color: white;
  padding: 0.7em 1.5em;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: glowPulse 2.5s infinite ease-in-out;
}
button:hover {
  background: #8ebdb6;
  transform: scale(1.05);
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 224, 187, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 224, 187, 0.8);
  }
}

/* ------------------------------
   🖼️ Soul Card & JSON Display
------------------------------ */
pre,
.soul-card {
  background-color: #111;
  color: #D7C6F7;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(215, 198, 247, 0.2);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95em;
  transition: all 0.3s ease;
}
pre {
  max-width: 600px;
  margin: auto;
  text-align: left;
}

/* ------------------------------
   🧱 Recent Souls Grid
------------------------------ */
.soul-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}
.soul-card {
  min-width: 150px;
  max-width: 200px;
}
.soul-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(215, 198, 247, 0.4);
}

/* ------------------------------
   🪄 Glowing Text Class
------------------------------ */
.glow {
  color: #5c1a1a;
  text-shadow:
    0 0 4px rgba(255, 224, 187, 0.8),
    0 0 8px rgba(255, 224, 187, 0.6);
  font-weight: bold;
}

/* ------------------------------
   Section Headers
------------------------------ */
h2 {
  font-family: 'EB Garamond', serif;
  font-size: 1.5em;
  margin-top: 2em;
  color: #5c4c3e;
}