@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&display=swap');

:root {
  --background: #050606;
  --foreground: #fafafa;
  --primary: #00ff9e;
  --primary-fg: #052e1f;
  --zinc-300: #d4d4d8;
  --zinc-500: #71717a;
  --font: 'Geist', system-ui, sans-serif;
  --page: 1.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere-base {
  position: absolute;
  inset: 0;
  background: #050606;
}

.atmosphere-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black, transparent 75%);
}

.atmosphere-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 22%, rgba(0, 255, 158, 0.2), transparent 70%);
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: max(1.5rem, var(--safe-top)) var(--page) calc(1.5rem + var(--safe-bottom));
  text-align: center;
}

.wordmark {
  height: 1.75rem;
  width: auto;
}

h1 {
  margin-top: 1.35rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.sub {
  max-width: 36rem;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--zinc-500);
}

.sub strong {
  color: var(--zinc-300);
  font-weight: 600;
}

.when {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.time-part {
  min-width: 3.25rem;
}

.time-part span {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.time-part label {
  display: block;
  margin-top: 0.3rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zinc-500);
}

.colon {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.28);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.75rem;
  margin-top: 1.6rem;
  padding: 0 1.15rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3dffb0, #00ff9e 55%, #00d484);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(0, 255, 158, 0.35), 0 10px 28px rgba(0, 255, 158, 0.22);
}

.cta:hover {
  filter: brightness(1.05);
}

.cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.mark {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 420px) {
  .cta {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .wordmark {
    height: 2rem;
  }

  .sub {
    font-size: 1rem;
  }
}
