:root {
  --text: #f6f3ea;
  --accent: #f5b83d;
  --accent-text: #241800;
  --accent-shadow: #a8741a;
  color-scheme: dark;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  /* Shown if the animated background can't run. */
  background: radial-gradient(circle at 50% 40%, #6a2a3c, #1d3560 55%, #12141f);
}

#background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  image-rendering: pixelated;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 16px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 5rem);
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 6px 0 #000a, 0 0 24px #0009;
  overflow-wrap: anywhere;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.button {
  display: inline-block;
  min-width: 200px;
  padding: 18px 28px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--accent-shadow);
  transition: transform 80ms, box-shadow 80ms;
}

.button:hover {
  filter: brightness(1.06);
}

.button:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--accent-shadow);
}

.button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
