body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f0f2f5, #dfe6f0);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background 0.5s ease;
}
.container {
  background: white;
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
h1 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: #2c3e50;
}
.info {
  background-color: #eaf2ff;
  border: 1px solid #b3d1ff;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  color: #2d4d80;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
textarea {
  width: 100%;
  height: 130px;
  padding: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 0.75rem;
  resize: vertical;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
textarea:focus {
  border-color: #4a90e2;
  outline: none;
}
button {
  background: linear-gradient(to right, #4a90e2, #357ab8);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
}
#result {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2d3436;
}
.emoji {
  font-size: 1.5rem;
  margin-right: 0.4rem;
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.4rem;
  }
  .info {
    font-size: 0.85rem;
  }
  textarea {
    font-size: 1rem;
  }
  button {
    width: 100%;
  }
}