:root {
  --ink: #1d1a2b;
  --thomas: #2f80ff;
  --jacob: #ff8a1f;
  --pink: #ff3d7f;
  --sun: #ffd23f;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: radial-gradient(circle at 50% 0%, #4a2a8a, #140c28 70%);
  color: var(--ink);
  font: 17px/1.4 var(--round);
}

.wrap { position: relative; width: min(100%, 1200px, calc((100vh - 32px) * 16 / 9)); }

#stage {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  box-shadow: 0 0 0 4px #000, 0 20px 60px rgba(0, 0, 0, .55);
  background: #24164f;
}

.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(20, 12, 40, .55);
}
.overlay[hidden] { display: none; }
.overlay.end { align-items: end; padding-bottom: 4%; background: none; }

.panel {
  max-width: 520px;
  padding: 26px 24px;
  border: 4px solid #000;
  border-radius: 26px;
  background: #fffaf0;
  box-shadow: 8px 8px 0 #000;
  text-align: center;
}
.kicker { margin: 0; color: var(--pink); font: 900 15px/1 var(--round); letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 10px 0; font: 900 clamp(34px, 7vw, 56px)/1.05 var(--round); }
.thomas { color: var(--thomas); }
.jacob { color: var(--jacob); }
.vs { font-size: .6em; color: var(--ink); }
.lede { margin: 0 0 18px; }

.buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.big, .secondary {
  padding: 13px 28px;
  border: 4px solid #000;
  border-radius: 999px;
  font: 900 clamp(17px, 2.4vw, 22px)/1 var(--round);
  cursor: pointer;
  box-shadow: 0 5px 0 #000;
}
.big { background: var(--pink); color: #fff; }
.secondary { background: var(--sun); color: var(--ink); }
.big:active, .secondary:active { transform: translateY(4px); box-shadow: 0 1px 0 #000; }
.big:focus-visible, .secondary:focus-visible, .link:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
.link { display: block; margin: 12px auto 0; padding: 4px; border: 0; background: none; color: #6b6180; font: 700 15px/1.2 var(--round); cursor: pointer; }
.end .link { margin: 0; color: #fff; text-shadow: 0 1px 3px #000; }

@media (max-width: 560px) {
  .panel { padding: 18px 14px; }
  .lede { font-size: 15px; }
}
