body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ffe3ec, #d0eaff);
  overflow-x: hidden;
  transition: background 1s ease;
}

.container {
  text-align: center;
  padding: 50px 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: #444;
}

input[type="text"] {
  padding: 10px;
  font-size: 1rem;
  width: 70%;
  max-width: 300px;
  border: 2px solid #aaa;
  border-radius: 10px;
  margin-top: 20px;
}

button {
  padding: 10px 15px;
  margin: 10px;
  font-size: 1rem;
  background: #673ab7;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

button:hover {
  transform: scale(1.1);
  background: #512da8;
}

.fortune-output {
  margin-top: 30px;
  font-size: 1.5rem;
  min-height: 100px;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.emoji-rain {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.button-group {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
