:root {
  color: #fff;
  background: #1a1a1a;
  font-family: Montserrat, system-ui, sans-serif;
}

body {
  margin: 0;
}

.prestart {
  box-sizing: border-box;
  min-height: 100svh;
  padding: min(34vw, 56svh) 1rem 1.25rem;
  background: linear-gradient(to bottom, transparent 65%, #1a1a1a),
    url("/prestart-desktop.png") top center / min(100%, 165svh) auto no-repeat;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.center-section {
  display: grid;
  justify-items: center;
  gap: clamp(0.55rem, 1.6svh, 1rem);
  text-align: center;
  text-shadow: 0 3px 12px #000;
}

.logo {
  width: clamp(6rem, 13vw, 10.5rem);
  max-height: 8svh;
  object-fit: contain;
  height: auto;
  filter: drop-shadow(0 4px 12px #0008);
}

.announcement {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
}

.timer {
  display: grid;
  width: min(100%, 42rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  font-variant-numeric: tabular-nums;
}

.timer strong, .timer span {
  display: block;
}

.timer strong {
  font-size: clamp(2rem, min(9vw, 10svh), 6rem);
  line-height: 1;
  font-weight: 900;
}

.timer span, .share summary {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.65rem, 1.4vw, 1rem);
}

.timer span {
  margin-top: 0.4rem;
}

.share summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 2rem;
  border: 1px solid #e8673d;
  border-radius: 3rem;
  background: #1a1a1acc;
}

.share-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 0;
}

.share a {
  color: inherit;
  text-underline-offset: 0.2em;
}

@media (max-width: 479px) {
  .prestart {
    padding-top: min(61vw, 49svh);
    background: url("/prestart-mobile.png") top center / min(100%, 79svh) auto no-repeat;
  }
}

.timer[hidden] {
  display: none;
}
