:root {
  --navy-deep: #05060f;
  --navy-mid: #0e1330;
  --charcoal: #1c1f24;
  --blue-grey: #566372;
  --pale-blue: #c9d5e4;
  --peach: #fdc097;
  --peach-soft: #f3bd98;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100svh;
  margin: 0;
  background: var(--navy-deep);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 100%, var(--navy-mid) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 45%, var(--charcoal) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}

.glow--peach {
  width: 55vmax;
  height: 55vmax;
  top: -15vmax;
  left: -10vmax;
  background: radial-gradient(circle, var(--peach) 0%, transparent 70%);
  animation: drift-a 16s ease-in-out infinite alternate;
}

.glow--blue {
  width: 60vmax;
  height: 60vmax;
  bottom: -20vmax;
  right: -15vmax;
  background: radial-gradient(circle, var(--pale-blue) 0%, transparent 70%);
  opacity: 0.25;
  animation: drift-b 20s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(4vmin, 6vmin) scale(1.08);
  }
}

@keyframes drift-b {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-5vmin, -4vmin) scale(1.05);
  }
}

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vmin, 1.75rem);
  padding: clamp(1rem, 4vmin, 3rem);
  width: 100%;
}

.lottie {
  width: clamp(200px, 55vmin, 520px);
  aspect-ratio: 1 / 1;
}

.lottie svg {
  overflow: visible;
}

.label {
  margin: 0;
  text-align: center;
  font-size: clamp(1.1rem, 4vmin, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--peach) 0%, var(--peach-soft) 35%, var(--pale-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(253, 192, 151, 0.35);
  animation: fade-in 1.1s ease-out both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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