/* General setup */
body {
  font-family: sans-serif;
  background: #0d0d0d;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  user-select: none;
}

/* Container scales well */
.container {
  text-align: center;
  max-width: 90vw;
  width: 100%;
}

/* Buttons are mobile-friendly */
button {
  padding: 12px 24px;
  margin: 10px 5px;
  font-size: 1rem;
  background: #222;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: auto;
  max-width: 100%;
}

button:hover {
  background: #444;
}

/* Output text */
#output {
  margin-top: 30px;
  font-size: 1.2rem;
  line-height: 1.6;
  word-break: break-word;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05); /* subtle background */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;

}

/* Floating emojis */
.emoji {
  position: absolute;
  pointer-events: none;
  font-size: 2rem;
  opacity: 0.3;
  user-select: none;
  will-change: transform;
}

/* Optional float animation keyframe (if used) */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Responsive tweaks */
@media (max-width: 480px) {
  button {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  #output {
    font-size: 1rem;
  }

  .emoji {
    font-size: 1.5rem;
  }
}
