* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f0f4f8;
  color: #1a202c;
}

main {
  text-align: center;
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2d3748;
}

.count-display {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

#counter-value {
  font-size: 3rem;
  font-weight: 700;
  color: #3182ce;
  display: block;
}

button {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  background: #2b6cb0;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

button:hover {
  background: #2563a0;
}

button:active {
  transform: scale(0.97);
}

.hint {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #64748b;
}

.hint code {
  background: #edf2f7;
  color: #4a5568;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}
