:root {
  color-scheme: light;
  font-family: "DM Sans", Arial, sans-serif;
  color: #0a0a0a;
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

.wordmark {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

main {
  display: grid;
  place-items: center;
}

.lucky-machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  transform: translateY(-2vh);
}

.hero-mark {
  width: 128px;
  height: 128px;
  fill: #fff;
  stroke: #0a0a0a;
  stroke-width: 3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

button {
  min-width: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1.5px solid #0a0a0a;
  border-radius: 0;
  padding: 15px 17px;
  color: #0a0a0a;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

button:hover {
  color: #fff;
  background: #0a0a0a;
}

button:active {
  transform: translateY(2px);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 4px;
}

#status {
  margin: -12px 0 0;
  color: #666;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: flex-end;
  font-size: 0.8rem;
}

footer a {
  border-bottom: 1px solid #0a0a0a;
}

@media (max-width: 560px) {
  body {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
