:root {
  color-scheme: dark;
  --surface: #09142a;
  --text: #fff;
  --text-secondary: #d1d7e6;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { background: #000; color: var(--text); font-family: Inter, sans-serif; }
img { display: block; }

.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.composition {
  position: relative;
  width: min(100%, 177.777778vh);
  width: min(100%, 177.777778dvh);
  aspect-ratio: 16 / 9;
  min-width: 0;
  container-type: inline-size;
  overflow: hidden;
  isolation: isolate;
}
.backdrop { position: absolute; inset: 0; overflow: hidden; background: #000; z-index: -1; pointer-events: none; }
.backdrop-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 177.777778vh);
  width: min(100%, 177.777778dvh);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  container-type: inline-size;
  overflow: hidden;
  background: var(--surface);
  mask-image:
    linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}
.glow, .brand-background { position: absolute; height: auto; max-width: none; }
.glow--outer { width: 128.59375cqw; top: 0; left: -16.354167cqw; }
.glow--inner { width: 113.90625cqw; top: 0; left: -7.135417cqw; }
.brand-background { width: 67.135417cqw; top: -6.5625cqw; left: 16.09375cqw; }
.vignette { position: absolute; top: -0.208333cqw; left: -0.052083cqw; width: 100.15625cqw; height: 56.458333cqw; mix-blend-mode: multiply; }
.vignette--one, .vignette--two {
  background: radial-gradient(ellipse 80.889236% 52.653137% at 50% 43.426199%, rgba(15,24,42,0) 35%, rgba(8,12,21,.5) 67.5%, #000 100%);
}
.vignette--three {
  background: radial-gradient(ellipse 86.915236% 56.573801% at 50% 43.426199%, rgba(15,24,42,0) 48.925%, #0f182a 100%);
}

.content { position: relative; z-index: 1; width: 34.375cqw; margin-inline: auto; padding-top: 7.083333cqw; text-align: center; }
.heading { display: flex; flex-direction: column; align-items: center; gap: 1.25cqw; }
.logo { width: 12.708333cqw; height: auto; }
h1 { width: 100%; min-height: 4.895833cqw; margin: 0; font: 400 2.083333cqw / 2.291667cqw Poppins, sans-serif; letter-spacing: -.026042cqw; }
.launch { width: 31.875cqw; margin: .729167cqw auto 0; }
.launch-message { margin: 0 0 1.25cqw; color: var(--text-secondary); font-size: .833333cqw; font-weight: 600; line-height: 1.25cqw; }
.countdown { display: flex; gap: .833333cqw; align-items: flex-start; }
.countdown-unit { flex: 0 0 6.25cqw; min-width: 0; display: flex; flex-direction: column; gap: .625cqw; }
.dial {
  --ring-width: .15625cqw;
  --ring-offset: -.104167cqw;
  --track-width: .020833cqw;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.dial-glow { position: absolute; width: 56.666667%; aspect-ratio: 1; border-radius: 50%; background: rgba(111,146,208,.8); filter: blur(1.5625cqw); pointer-events: none; }
.countdown-value { position: relative; font: 200 2.083333cqw / 1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.dial::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 var(--track-width) rgba(181,197,226,.45);
  pointer-events: none;
}
.dial-ring {
  --progress: 0deg;
  position: absolute;
  inset: var(--ring-offset);
  border-radius: 50%;
  background: conic-gradient(#5477ff var(--progress), transparent 0deg);
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--ring-width)), #000 calc(100% - var(--ring-width) + .25px));
  pointer-events: none;
}
.countdown-label { color: var(--text-secondary); font: 500 .625cqw / 1.875cqw Manrope, sans-serif; letter-spacing: .208333cqw; }
.separator { flex: 0 0 .625cqw; height: 6.25cqw; display: grid; place-items: center; color: var(--text-secondary); font: 300 2.083333cqw / 1 Manrope, sans-serif; letter-spacing: .208333cqw; }

.coins { position: absolute; z-index: 0; top: 25.15625cqw; left: 24.895833cqw; width: 49.895833cqw; pointer-events: none; }
.coins img { width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.noscript-message { color: var(--text-secondary); font-size: 14px; }

/* Poniżej 1000 px używamy układu mobilnego, skalowanego do jednego ekranu. */
@media (width < 1000px) {
  .backdrop-scene {
    width: max(100%, 177.777778vh);
    width: max(100%, 177.777778dvh);
  }
  .composition {
    width: min(100%, 54.166667vh, 500px);
    width: min(100%, 54.166667dvh, 500px);
    aspect-ratio: 13 / 24;
  }
  .content { width: 100%; padding: 12.307692cqw 5.641026cqw 0; }
  .heading { gap: 6.153846cqw; }
  .logo { width: 50.25641cqw; }
  h1 { width: 100%; min-height: 0; font-size: 6.410256cqw; line-height: 1.3; letter-spacing: -.128205cqw; text-wrap: balance; }
  .launch { width: 100%; margin-top: 9.74359cqw; }
  .launch-message { margin-bottom: 7.179487cqw; font-size: 3.333333cqw; line-height: 5.128205cqw; }
  .countdown { gap: 0; justify-content: space-between; }
  .countdown-unit { flex-basis: 21%; gap: 2.564103cqw; }
  .dial { --ring-width: .576923cqw; --ring-offset: -.384615cqw; --track-width: .076923cqw; }
  .countdown-value { font-size: 6.410256cqw; }
  .dial-glow { filter: blur(5.128205cqw); }
  .countdown-label { font-size: 2.307692cqw; line-height: 6.153846cqw; letter-spacing: .512821cqw; }
  .separator { flex-basis: 5.333333%; height: auto; aspect-ratio: 1 / 3.9375; font-size: 6.410256cqw; letter-spacing: 0; }
  .coins { width: 123.076923cqw; left: calc(50% - 61.538462cqw); top: 88.461538cqw; }
}

/* Tablet w pionie: szersza kompozycja, większe liczniki i spokojniejsze odstępy. */
@media (600px <= width < 1000px) {
  .composition {
    width: min(calc(100% - 48px), 66.666667vh, 680px);
    width: min(calc(100% - 48px), 66.666667dvh, 680px);
    aspect-ratio: 2 / 3;
  }
  .content { padding-top: 8cqw; }
  .heading { gap: 5cqw; }
  .logo { width: 38cqw; }
  h1 { font-size: 5cqw; }
  .launch { margin-top: 7cqw; }
  .launch-message { margin-bottom: 6cqw; font-size: 2.666667cqw; line-height: 4cqw; }
  .countdown-unit { gap: 2.5cqw; }
  .countdown-value { font-size: 6.666667cqw; }
  .countdown-label { font-size: 2cqw; line-height: 4cqw; letter-spacing: .6cqw; }
  .coins { width: 105cqw; left: calc(50% - 52.5cqw); top: 69cqw; }
}

/* W niskim lub poziomym oknie skracamy odstępy, zachowując duże liczniki. */
@media (width < 1000px) and (min-aspect-ratio: 1 / 1) {
  .composition {
    width: min(calc(100% - 32px), 100vh, 760px);
    width: min(calc(100% - 32px), 100dvh, 760px);
    aspect-ratio: 1;
  }
  .content { padding-top: 5cqw; }
  .heading { gap: 2.5cqw; }
  .logo { width: 30cqw; }
  h1 { font-size: 4.3cqw; line-height: 1.2; }
  .launch { margin-top: 3.5cqw; }
  .launch-message { margin-bottom: 3.6cqw; font-size: 2.4cqw; line-height: 3.6cqw; }
  .countdown-unit { gap: 1.5cqw; }
  .countdown-value { font-size: 6cqw; }
  .countdown-label { font-size: 2cqw; line-height: 4cqw; letter-spacing: .5cqw; }
  .separator { font-size: 6cqw; }
  .coins { width: 85cqw; left: calc(50% - 42.5cqw); top: 44cqw; }
}
