:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: black;
  color: white;
  font-family: sans-serif;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid #333;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(900px, 100%);
  text-align: center;
}

.prefix {
  margin: 0 0 24px;
  font-size: clamp(24px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

#counter {
  margin: 0;
  font-size: clamp(44px, 10vw, 120px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.since,
.status {
  min-height: 24px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

button {
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #000;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}
