/* --- Cake World Header --- */
#cake-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 14px;
  background: #ffe6f7;
  border-bottom: 5px solid #ffb6e6;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 24px rgba(255, 158, 213, 0.12);
  z-index: 9999;

  display: flex;
  justify-content: space-evenly;
  align-items: center;

  font-family: 'Segoe UI', Arial, sans-serif;
}

/* Title on the left */
.cake-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d16ba5;
}

/* Navigation links */
.cake-nav {
  display: flex;
  gap: 20px;
}

.cake-link {
  background: #ffb6e6;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.cake-link:hover {
  background: #d16ba5;
}





/* quest bar styles */
/* hidden by default */
#world-info {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .25s ease, transform .25s ease;
  position: absolute;
  top: 80px; /* adjust depending on header height */
  left: 20px; /* left side */
  background: #ffe6f7;
  padding: 16px;
  border-radius: 12px;
  border: 3px solid #ffb6e6;
}

/* Reveal when hovering the header */
#cake-header:hover ~ #world-info {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}




h1{
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #f7b5da;
}


ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 8px 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}













/* for the cake popup DOM however this won't be used... */
#cake-popup {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffe6f7;
  border: 5px solid #ffb6e6;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(255, 158, 213, 0.12);
  padding: 32px 24px;
  z-index: 1000;
  min-width: 220px;
  text-align: center;
  font-family: 'Segoe UI', Arial, sans-serif;
}
#cake-popup h2 {
  margin-top: 0;
  color: #d16ba5;
}
#cake-popup button {
  margin-top: 18px;
  background: #ffb6e6;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
#cake-popup button:hover {
  background: #d16ba5;
}

.cake-option {
  margin: 8px;
  background: #ffb6e6;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}