body {
  background: linear-gradient(to bottom, #fef8f3, #f7eee6);
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.emoji-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.emoji {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.15;
  animation: floaty 30s infinite ease-in-out;
}

@keyframes floaty {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(360deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.container {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.intro {
  text-align: center;
  font-family: 'DM Serif Text', serif;
  background: #f3e5d2;
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.intro h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #5b4636;
}

.intro p {
  font-size: 18px;
  color: #7b6651;
}

.question {
  background-color: #fcf7f2;
  border: 1px solid #e2cbbd;
  border-radius: 14px;
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.question:hover {
  transform: scale(1.01);
}

.answers {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.checkbox-container {
  position: relative;
}

.checkbox-placeholder {
  background: #f6eadd;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background 0.2s;
  cursor: pointer;
  font-weight: bold;
  color: #5a4b3f;
  font-size: 1rem;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + .checkbox-placeholder {
  background-color: #e0c2a2;
  color: #fff;
}

.submit-button {
  display: block;
  margin: 50px auto 0;
  padding: 14px 50px;
  border: none;
  background-color: #c7a07a;
  color: white;
  border-radius: 14px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'DM Serif Text', serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background-color: #b98d6e;
}

/* 📱 Responsive tweaks for phones */
@media (max-width: 600px) {
  .intro h1 {
    font-size: 26px;
  }

  .intro p {
    font-size: 16px;
  }

  .question {
    padding: 16px;
    font-size: 16px;
  }

  .checkbox-placeholder {
    font-size: 1.2rem;
    padding: 10px 14px;
  }

  .submit-button {
    font-size: 18px;
    padding: 12px 30px;
  }

  .emoji {
    font-size: 3rem;
    opacity: 0.1;
  }
}

.ad-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

@media (max-width: 600px) {
  .ad-container iframe {
    width: 320px !important;
    height: 50px !important;
  }
}

.topbar {
  background-color: #f3e5d2;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.topbar .logo {
  font-family: 'DM Serif Text', serif;
  font-size: 24px;
  color: #5b4636;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  color: #7b6651;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #b98d6e;
}

/* ✅ Mobile fix */
@media (max-width: 600px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }

  .nav-links {
    width: 100%;
    margin-top: 10px;
  }

  .nav-links a {
    margin: 0;
    display: inline-block;
  }
}
