:root {
  --ink: #eef5ff;
  --muted: #b7c7de;
  --cyan: #8fd3ff;
  --glow: rgba(111, 184, 255, 0.4);
}

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

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 560px at 18% 0%, rgba(90, 160, 255, 0.26), transparent 55%),
    radial-gradient(720px 480px at 88% 18%, rgba(70, 120, 255, 0.2), transparent 50%),
    linear-gradient(180deg, #0a1a32 0%, #06111f 100%);
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 340px;
  height: 340px;
  left: -70px;
  top: 80px;
  background: radial-gradient(circle, #7ec8ff 0%, transparent 70%);
}

.orb-b {
  width: 400px;
  height: 400px;
  right: -100px;
  bottom: 40px;
  background: radial-gradient(circle, #3d6dff 0%, transparent 68%);
  animation-delay: -7s;
}

.beam {
  position: absolute;
  inset: -18% 18% auto;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 70%);
  filter: blur(18px);
  transform: rotate(-8deg);
}

.glass {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  box-shadow:
    0 18px 50px rgba(4, 12, 28, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 1px 14% auto;
  height: 36%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent);
  pointer-events: none;
  opacity: 0.5;
}

.panel {
  z-index: 1;
  width: min(720px, 100%);
  padding: 48px 40px 40px;
  text-align: center;
}

.brand {
  margin: 0 0 18px;
  font-family: Outfit, Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: 0.9rem;
}

h1 {
  margin: 0 0 36px;
  font-family: Outfit, Manrope, sans-serif;
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.unit {
  flex: 1;
  max-width: 120px;
  padding: 18px 8px;
  border-radius: 18px;
  background: rgba(6, 18, 38, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.value {
  display: block;
  font-family: Outfit, Manrope, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 18px var(--glow);
}

.unit-label,
.separator {
  color: var(--muted);
}

.unit-label {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.separator {
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.5;
}

@media (max-width: 560px) {
  .panel {
    padding: 32px 20px 24px;
  }

  .countdown {
    flex-wrap: wrap;
  }

  .separator {
    display: none;
  }

  .unit {
    flex: 1 1 40%;
    max-width: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -14px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }
}
