html, body {
  margin: 0;
  padding: 0;
  background: #111;
  overflow: hidden;
  height: 100%;
}

canvas {
  display: block;
}

/* Mood selection overlay */
#mood-select {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  color: white;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 1s ease;
  gap: 1rem;
}

#mood-select.fade-out {
  opacity: 0;
  pointer-events: none;
}

#mood-select h1 {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.mood-options button {
  background: none;
  border: 1px solid #444;
  color: #ccc;
  padding: 1rem 2rem;
  margin: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  width: 150px;
  text-align: center;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mood-options button[data-mood="insight"]:hover {
  background: #d4af37;
  color: #0a0906;
}

.mood-options button[data-mood="stillness"]:hover {
  background: #dddddd;
  color: #111111;
}

.mood-options button[data-mood="liminality"]:hover {
  background: #8ab0c4;
  color: #0c1116;
}

.mood-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 600px) {
  .mood-options {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mood-options button {
    width: 80%;
    max-width: 300px;
  }
}

h1, h2 {
  font-family: 'serif'; /* Replace with your custom font if desired */
  color: #ccc;
  text-align: center;
  margin: 0;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

h1 {
  font-size: 1.6rem;
  font-weight: normal;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

h2 {
  font-size: 1.2rem;
  font-weight: normal;
  opacity: 0.6;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
