:root {
  color-scheme: dark;
  --bg: #11100f;
  --ink: #f4eee7;
  --muted: #a69b91;
  --red: #e11931;
  --red-dark: #970a19;
  --red-hot: #ff3149;
  --line: rgba(244, 238, 231, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(225, 25, 49, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(244, 238, 231, 0.07) 0 1px, transparent 1px 18px),
    var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

button {
  font: inherit;
}

.stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
}

.panel {
  width: min(100%, 720px);
  display: grid;
  justify-items: center;
  gap: clamp(22px, 4vw, 34px);
  text-align: center;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.72rem, 1.7vw, 0.84rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 16vw, 11rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0;
  text-wrap: balance;
}

.tired-button {
  width: min(100%, 280px);
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(135deg, var(--red-hot), var(--red) 44%, var(--red-dark));
  box-shadow:
    0 22px 45px rgba(225, 25, 49, 0.25),
    inset 0 -8px 18px rgba(0, 0, 0, 0.28);
  color: #fff8f6;
  cursor: pointer;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    filter 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.tired-button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 28px 60px rgba(225, 25, 49, 0.32),
    inset 0 -8px 18px rgba(0, 0, 0, 0.28);
}

.tired-button:active:not(:disabled) {
  transform: translateY(1px);
}

.tired-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 5px;
}

.tired-button:disabled {
  cursor: wait;
  filter: saturate(0.78) brightness(0.78);
}

.counter {
  width: min(100%, 620px);
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 3vw, 26px);
  color: var(--muted);
  font-size: clamp(1.06rem, 3.4vw, 1.45rem);
  line-height: 1.35;
  text-wrap: balance;
}

@media (max-width: 440px) {
  .stage {
    padding-inline: 18px;
  }

  .tired-button {
    min-height: 76px;
  }
}
