/* 🌸 Global Styles */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #ffe6f9, #ffd6ec);
  color: #4b004e;
  line-height: 1.6;
}

/* 🌺 Navigation Bar */
nav {
  background: linear-gradient(to right, #ffb3e6, #ff99cc);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(255, 100, 200, 0.2);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
}

nav a {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(4px);
}

nav a:hover {
  background: #fff;
  color: #ff1493;
  box-shadow: 0 0 10px #ffc0f0;
}

/* 🧁 Quiz Boxes and Page Sections */
.quiz-box {
  max-width: 700px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(255, 160, 230, 0.2);
}

.quiz-box h1 {
  color: #b30086;
  margin-bottom: 20px;
}

.quiz-box select,
.quiz-box input,
.quiz-box textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 16px;
  font-size: 1rem;
}

.quiz-box button {
  background: linear-gradient(to right, #ff8ad4, #d896ff);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.quiz-box button:hover {
  background: #ffc0f0;
  color: #4b004e;
}

/* 🦄 Floating Creature */
#creatureFloat {
  position: absolute;
  font-weight: bold;
  font-size: 1.2em;
  color: rebeccapurple;
  z-index: 1000;
}

/* 📱 Responsive */
@media screen and (max-width: 700px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin-bottom: 8px;
  }
}