[data-animate] {
  opacity: 0;
  transform: translateY(40px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.8s var(--cubic), opacity 0.8s var(--cubic);
}

.tilt-card {
  transition: transform 0.3s var(--cubic), box-shadow 0.3s var(--cubic);
  will-change: transform;
}

.primary-btn {
  background-size: 220% 220%;
  animation: gradient-move 7s linear infinite;
}

.ghost-btn::after {
  background-size: 220% 220%;
  animation: gradient-move 9s linear infinite;
}

.hero__floating-card {
  animation: float 6s ease-in-out infinite;
}

.glow {
  box-shadow: 0 0 30px rgba(70, 78, 235, 0.5);
}

.hero__gradient-blob {
  animation: blob 12s ease-in-out infinite;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 12px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes blob {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.2) translateY(20px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) translateX(40px);
    opacity: 0;
  }
}

@keyframes orbit-glow {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.2;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(12);
    opacity: 0;
  }
}
+[data-animate].planet-ready {
+  animation: planet-rise 1.1s var(--cubic) forwards;
+}
+
+@keyframes planet-rise {
+  0% {
+    transform: translateY(50px) scale(0.9);
+    opacity: 0;
+  }
+  60% {
+    opacity: 1;
+    transform: translateY(-10px) scale(1.02);
+  }
+  100% {
+    transform: translateY(0) scale(1);
+  }
+}
