/* Lemon Lime — hype page
   Palette taken from the logo: navy ink, lemon yellow, lime green. */

:root {
  --navy-900: #070E1A;
  --navy-800: #0A1320;
  --navy-700: #101B2D;
  --lemon:    #FFD215;
  --lime:     #97CB24;
  --ink:      #F2F6FA;
  --muted:    #8FA0B8;

  --shell: min(1080px, 88vw);
  --font: "Montserrat", "Avenir Next", "Futura", "Helvetica Neue", system-ui, sans-serif;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem) 1.25rem;
  overflow-x: hidden;
  position: relative;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% 0%, #12203A 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  -webkit-font-smoothing: antialiased;
}

/* Fine citrus-pulp grain over the whole backdrop */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 4px 4px;
}

/* ---------- ambient glows ---------- */

.glow {
  position: fixed;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow--lemon {
  top: -26vmax;
  left: -18vmax;
  background: radial-gradient(circle, rgba(255, 210, 21, .30) 0%, rgba(255, 210, 21, 0) 68%);
  animation: drift 22s ease-in-out infinite alternate;
}

.glow--lime {
  bottom: -30vmax;
  right: -20vmax;
  background: radial-gradient(circle, rgba(151, 203, 36, .26) 0%, rgba(151, 203, 36, 0) 68%);
  animation: drift 27s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 5vh, 0) scale(1.14); }
}

/* ---------- rising bubbles ---------- */

.bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -12vh;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  animation: rise linear infinite;
}

@keyframes rise {
  0%   { opacity: 0;   transform: translate3d(0, 0, 0) scale(.7); }
  12%  { opacity: .55; }
  85%  { opacity: .28; }
  100% { opacity: 0;   transform: translate3d(var(--sway, 3vw), -118vh, 0) scale(1.15); }
}

/* ---------- stage ---------- */

.stage {
  position: relative;
  z-index: 1;
  width: var(--shell);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.75rem, 4.5vw, 3rem);
}

.logo {
  width: min(520px, 78vw);
  height: auto;
  filter: drop-shadow(0 18px 46px rgba(255, 210, 21, .16));
  animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) both;
}

.slogan {
  margin: 0;
  font-size: clamp(1.25rem, 4.6vw, 2.35rem);
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--lemon) 0%, #DDD41C 42%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) .12s both;
}

/* ---------- countdown ---------- */

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(.35rem, 1.6vw, 1.1rem);
  animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) .24s both;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  min-width: clamp(4.1rem, 15vw, 7.5rem);
  padding: clamp(.9rem, 2.4vw, 1.5rem) clamp(.5rem, 1.6vw, 1.1rem);
  border: 1px solid rgba(242, 246, 250, .10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(242, 246, 250, .06), rgba(242, 246, 250, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -28px rgba(0, 0, 0, .9);
  backdrop-filter: blur(6px);
}

.unit__value {
  font-size: clamp(2.1rem, 8.5vw, 4.4rem);
  font-weight: 200;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .01em;
}

.unit:first-child .unit__value {
  background: linear-gradient(180deg, var(--lemon), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.unit__value.is-ticking { animation: tick .5s cubic-bezier(.22, 1, .36, 1); }

.unit__label {
  font-size: clamp(.55rem, 1.7vw, .7rem);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.sep {
  align-self: center;
  margin-top: -1.6rem;
  font-size: clamp(1.4rem, 4.5vw, 2.4rem);
  font-weight: 200;
  color: rgba(242, 246, 250, .18);
}

.date {
  margin: 0;
  font-size: clamp(.65rem, 2vw, .8rem);
  font-weight: 400;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--muted);
  animation: fade-up .9s cubic-bezier(.22, 1, .36, 1) .36s both;
}

/* ---------- motion ---------- */

@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes tick {
  0%   { opacity: .35; transform: translate3d(0, -6px, 0); }
  100% { opacity: 1;   transform: none; }
}

@media (max-width: 380px) {
  .sep { display: none; }
  .countdown { flex-wrap: wrap; gap: .5rem; }
  .unit { min-width: calc(50% - .25rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .bubbles { display: none; }
}
