       const countdownEl = document.getElementById('countdown');

        function resize() {
          const dpr = Math.max(1, Math.min(2, window.devicePixelRatio || 1));
          const w = window.innerWidth, h = window.innerHeight;
          canvas.width = Math.floor(w * dpr);
          canvas.height = Math.floor(h * dpr);
          canvas.style.width = w + 'px';
          canvas.style.height = h + 'px';
          ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
        }
        window.addEventListener('resize',