body {
  margin: 0;
  background-color: #ffe6ef;
  overflow: hidden;
  color: #ff6f91;
  text-align: center;
}

h1 {
  margin-top: 60px;
  font-family: 'Dancing Script', cursive;
  font-size: 3.2em;
  animation: fadeIn 2s ease;
}

#nameDisplay {
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  margin-top: 10px;
  color: #ff4f73;
  transition: opacity 0.5s ease;
  animation: fadeIn 3s ease;
}

#tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  color: #ff7099;
  margin-top: 10px;
  letter-spacing: 0.5px;
  animation: fadeIn 4s ease;
}

.penguin {
  position: absolute;
  width: 90px;
  height: 90px;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.penguin:hover {
  transform: scale(1.2) rotate(8deg);
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Balloons */
.balloon {
  position: absolute;
  bottom: -100px;
  width: 50px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, #ff9fbf, #ff77a9);
  border-radius: 50% 50% 50% 50%;
  animation: rise 10s ease-in infinite;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.balloon::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 23px;
  width: 3px;
  height: 30px;
  background: #ff99b9;
}

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.9; }
  100% { transform: translateY(-120vh) scale(1.1); opacity: 0; }
}

/* Ribbons */
.ribbon {
  position: absolute;
  width: 6px;
  height: 100px;
  background: linear-gradient(to bottom, #ffc2d1, #ffb6c1);
  border-radius: 3px;
  top: -120px;
  animation: drop 8s ease-in infinite;
}

@keyframes drop {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(120vh) rotate(180deg); opacity: 0; }
}

.button {
  background-color: #ffd1dc;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.2em;
  color: #ff4f73;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #ffb6c1;
  transform: scale(1.1);
}

/* Confetti */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.8;
  animation: fall 3s linear infinite;
}

@keyframes fall {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Popup */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: flex; justify-content: center; align-items: center;
  animation: fadeIn 0.5s ease;
}

.popup-content {
  background: #fff0f5;
  padding: 30px;
  border-radius: 20px;
  width: 80%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  position: relative;
}

.popup-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  color: #ff4f73;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.hidden { display: none; }

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #ff6f91;
}

.nav-buttons button {
  background-color: #ffd1dc;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  color: #ff4f73;
  margin: 0 5px;
  transition: all 0.2s ease;
}

.nav-buttons button:hover {
  background-color: #ffb6c1;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
