:root {
  --blue: #28a0d8;
  --blue-deep: #1a7eb0;
  --red: #e83028;
  --red-soft: #c41f18;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --text: #0b1520;
  --muted: rgba(11, 21, 32, 0.62);
  --line: rgba(40, 160, 216, 0.16);
  --font: "Outfit", sans-serif;
  --script: "Pacifico", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(40, 160, 216, 0.14), transparent 55%),
    radial-gradient(80% 60% at 100% 100%, rgba(232, 48, 40, 0.08), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfe 45%, #ffffff 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-blue {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -8%;
  left: 50%;
  translate: -50% 0;
  background: rgba(40, 160, 216, 0.28);
}

.glow-red {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  right: -6%;
  bottom: 8%;
  background: rgba(232, 48, 40, 0.14);
  animation-delay: -4s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black 10%, transparent 75%);
  opacity: 0.45;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vh, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.brand {
  padding-top: clamp(0.5rem, 2vh, 1.25rem);
}

.logo {
  width: min(100%, 260px);
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.message {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding-bottom: 0.5rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--blue-deep);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.lede {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.35rem, 1.5vw, 0.75rem);
  margin-top: 1.25rem;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.countdown-unit {
  display: grid;
  gap: 0.35rem;
  min-width: 3.6rem;
}

.countdown-value {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-sep {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--red);
  line-height: 1;
  padding-top: 0.15rem;
  opacity: 0.85;
  animation: pulse-sep 1.4s ease-in-out infinite;
}

@keyframes pulse-sep {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

.foot {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding-bottom: 0.5rem;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.mark {
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--blue);
  line-height: 1;
}

.foot p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(11, 21, 32, 0.45);
  letter-spacing: 0.02em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(12px, 18px, 0) scale(1.08);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }
}

@media (max-width: 400px) {
  .countdown-unit {
    min-width: 2.9rem;
  }

  .countdown-sep {
    display: none;
  }

  .countdown {
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  h1,
  .lede,
  .countdown,
  .countdown-sep,
  .foot,
  .glow {
    animation: none !important;
  }
}
