body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ffe6f0, #ffcce0);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

h1 {
  font-family: 'Pacifico', cursive;
  color: #d63384;
  margin-bottom: 20px;
  text-align: center;
}

#balloonContainer {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.balloon {
  position: absolute;
  width: 80px;
  height: 110px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  cursor: pointer;
  box-shadow:
    inset -5px -10px 15px rgba(255, 255, 255, 0.6),
    3px 5px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  animation: float 8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  user-select: none;
  /* background color assigned dynamically */
}

.balloon:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 4px;
  height: 40px;
  background: linear-gradient(to bottom, #555, #222);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 2px 3px rgba(0,0,0,0.3);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
  z-index: -1;
}


@keyframes float {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-150%);
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.balloon.pop {
  animation: pop 0.4s forwards;
}

.message-box {
  margin-top: 10px; /* sau 5px, după preferință */
  font-size: 1.3rem;
  color: #721c24;
  max-width: 90%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-height: 8em;
}

.message-box.visible {
  opacity: 1;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}
    .insta-button {
      position: fixed;
      bottom: 15px;
      right: 15px;
      background-color: #e1306c;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .insta-button:hover {
      background-color: #c72b5c;
    }

    .insta-button img {
      width: 24px;
      height: 24px;
    }

.fb-button {
  position: fixed;
  bottom: 15px;
  right: 75px; /* puțin în stânga față de Instagram */
  background-color: #1877f2;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.fb-button:hover {
  background-color: #145dbf;
}

.fb-button img {
  width: 24px;
  height: 24px;
}

.tiktok-button {
  position: fixed;
  bottom: 15px;
  right: 135px; /* mai la stânga față de celelalte */
  background-color: #000000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.tiktok-button:hover {
  background-color: #111111;
}

.tiktok-button img {
  width: 24px;
  height: 24px;
}