* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #061c17;
  font-family: Arial, Helvetica, sans-serif;
}

.coming-soon {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  background-image: url("assets/background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.countdown-wrap {
  position: absolute;
  left: 50%;
  top: 63%;
  width: min(970px, 88vw);
  transform: translate(-50%, -50%);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2.3vw, 40px);
  color: #fff;
  text-align: center;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.5);
}

.time-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.number {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(76px, 10.7vw, 174px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.unit {
  margin-left: clamp(4px, 0.45vw, 9px);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(24px, 3.25vw, 52px);
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .coming-soon {
    min-height: 100svh;
    background-position: center center;
  }

  .countdown-wrap {
    top: 64%;
    width: 94vw;
  }

  .countdown {
    gap: 6px;
  }

  .number {
    font-size: clamp(47px, 14.5vw, 92px);
    letter-spacing: -0.055em;
  }

  .unit {
    margin-left: 3px;
    font-size: clamp(17px, 4.3vw, 30px);
  }
}

@media (max-width: 430px) {
  .coming-soon {
    background-image: url("assets/background-mobile.png");
    background-position: center top;
    background-size: cover;
  }

  .countdown-wrap {
    top: 66%;
    width: 95vw;
  }

  .countdown {
    gap: 4px;
  }

  .number {
    font-size: clamp(50px, 15vw, 68px);
    letter-spacing: -0.06em;
  }

  .unit {
    margin-left: 2px;
    font-size: clamp(14px, 4.2vw, 20px);
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .countdown-wrap {
    top: 64%;
  }

  .number {
    font-size: clamp(58px, 10vw, 118px);
  }
}
