body {
  font-family: sans-serif;
  background: #f5f5f5;
  color: #333;
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#dice-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 700px;
  margin: 2rem auto;
}

.dice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-size: 2.5rem;
  background: white;
  border-radius: 0.75rem;
  height: 110px;
  width: 100px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  padding: 0.5rem;
}

.emoji {
  font-size: 2.5rem;
}

.label {
  font-size: 0.85rem;
  margin-top: 0.3rem;
  color: #444;
}

button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

button:hover {
  background-color: #388e3c;
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #777;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dice {
  animation: fadeInScale 0.4s ease;
}
