body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(270deg, #ff9a9e, #fad0c4, #ffdde1, #fccb90);
  background-size: 800% 800%;
  animation: gradientMove 15s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  text-align: center;
  color: #333;
  overflow: hidden;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.input-box {
  background: rgba(255,255,255,0.85);
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
input {
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
}
button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #ff6f61;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  background: #ff3b2e;
  transform: scale(1.05);
}

.countdown-box {
  font-size: 1.5rem;
  background: rgba(255,255,255,0.9);
  padding: 20px 40px;
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

#message {
  font-size: 2.5rem;
  margin-top: 25px;
  font-weight: bold;
  color: #fff;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}


#confetti {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}



.fact-section {
  margin-top: 25px;
}

.fact-section button {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #4caf50;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.fact-section button:hover {
  background: #388e3c;
  transform: scale(1.05);
}

.fact-box {
  margin-top: 15px;
  padding: 15px;
  font-size: 1.2rem;
  font-style: italic;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  max-width: 500px;
  min-height: 40px;
}


.info-box {
  margin-top: 20px;
  padding: 12px;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  max-width: 400px;
}


.balloon {
  position: absolute;
  width: 40px;
  height: 55px;
  background: red;
  border-radius: 50% 50% 50% 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* The tied knot part */
.balloon::after {
  content: "";
  width: 10px;
  height: 10px;
  background: inherit;
  border-radius: 50%;
  margin-bottom: -5px;
}

/* String under the balloon */
.string {
  position: absolute;
  bottom: -30px;
  width: 2px;
  height: 30px;
  background: #444;
  left: 50%;
  transform: translateX(-50%);
}
