body {
  margin: 0;
  overflow: hidden;
  /* font-family: 'Segoe UI', sans-serif; */
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

h1 {
  font-size: 28px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 24px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h3 {
  font-size: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}


.language-menu {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
}

.language-menu button {
  background: #222;
  color: #fff;
  margin: 0 2px;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.scene {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: fill;
  top: 0;
  left: 0;
}

.mountains {
  transform-origin: center center;
}

.question-box {
  position: fixed;
  /* position: relative; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  height: 40vh;
  background: rgba(255, 253, 249, 0.7);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(2px);
  z-index: 1;
  text-align: center;
  /* overflow: auto; */
  overflow: hidden;
  color: #0a0a1f;
}

#ripple-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
  /* ✅ no visual tint */
  pointer-events: none;
  /* ✅ does not block clicks */
}


.question {
  display: none;
}

.question p {
  font-size: 16px;
  font-weight: 450;
  color: #0a0a1f;
  /* Ensure it's readable */
  line-height: 1.5;
  margin-bottom: 10px;
}

.question.active {
  display: block;
}

.button-group {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 20px;
  left: 30px;
  right: 30px;
}

/* Shared button click animation */
.button-group button,
.start-btn {
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.button-group button:active,
.start-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.start-btn {
  background: #0077A6;
  color: white;
  padding: 10px 20px;

  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 30px auto 0 auto;
}


.prev-btn,
.next-btn {
  background: #0077A6;
  color: white;
  padding: 8px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#submit-btn {
  background: white;
  color: #0077A6;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #0077A6;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

#submit-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#submit-btn:hover {
  background: #0077A6;
  color: white;
}


input[type="range"],
input[type="text"],
label {
  display: block;
  margin: 10px auto;
}

input[type="text"] {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 80%;
}

.radio-scale {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  gap: 14px;
  flex-wrap: wrap;
}

.radio-desc-left,
.radio-desc-right {
  font-size: 0.9rem;
  color: #333333;
  max-width: 120px;
  text-align: center;
}

.radio-options {
  display: flex;
  gap: 16px;
}

.radio-options label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #0a0a1f;
}

.radio-options input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px 5px;
  margin: 5px 0;
  text-align: left;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #0a0a1f;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  accent-color: #0077A6;
}

input[type="text"] {
  width: 28ch;
  padding: 10px 12px 14px 12px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-bottom: none;
  background: transparent url('img/pencil-underline.png') no-repeat bottom center;
  background-size: 100% 6px;
  color: #0a0a1f;
  outline: none;
  text-align: center;
}


input[type="text"]::placeholder {
  color: #888;
  font-style: italic;
}

input[type="text"]::placeholder {
  color: #888;
  font-style: italic;
}

input[type="text"]:focus {
  border-bottom-color: #38c6d0; /* Light aqua glow on focus */
}

/* -------------------------- */


.birds {
  position: absolute;
  top: 50px; /* adjust to fly high above the mountains */
  left: 100vw; /* start off-screen right */
  width: 100px; /* small size like distant birds */
  height: auto;
  z-index: 3;
  opacity: 0.8;
  pointer-events: none;
}

.cloud {
  position: absolute;
  top: 20%;
  opacity: 0.8;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Size variants */
.cloud.small   { width: 80px;  z-index: 1; }
.cloud.medium  { width: 120px; z-index: 2; }
.cloud.large   { width: 200px; z-index: 1; }

.grass {
  position: absolute;
  bottom: 10px;
  pointer-events: none;
  z-index: 4;
  opacity: 0.95;
}

/* Individual styles for variety */
.grass-type-1 {
  left: 3%;
  bottom:70px;
  width: 55px;
}

.grass-type-c {
  left: 87%;
  bottom: 110px;
  width: 80px;
}
.grass-type-c2 {
  left: 88%;
  bottom: 110px;
  width: 85px;
}
.grass-type-2 {
  left: 87%;
  bottom: 100px;
  width: 50px;
}
.grass-type-3 {
  left: 89%;
  bottom: 100px;
  width: 50px;
}
