body {
  font-family: Arial, sans-serif;
  text-align: center;
  background: white;
  color: black;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 4em;
  margin: 20px 0;
}

.controls-top {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

button {
  font-size: 1em;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
  border-radius: 5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

button:hover {
  opacity: 0.7;
}

#start {
  font-size: 1.5em;
  font-weight: bold;
  padding: 12px 28px;
}

#reset {
  font-size: 1.8em;
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.6s ease;
}

#reset.rotate {
  transform: rotate(360deg);
}

.credit {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 0.7rem;
  font-style: italic;
  color: #888;
  pointer-events: none; /* não atrapalha clique em botões */
}

@media (max-width: 500px) {
  .credit {
    display: none;
  }
}
