@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 60px rgba(0, 240, 255, 0.05); }
  50% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), 0 0 80px rgba(0, 240, 255, 0.1); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(1deg); }
  75% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes floatMedium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-1.5deg); }
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotatingBorder {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes typingCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes typingDots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

@keyframes dotBounce1 {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes dotBounce2 {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes dotBounce3 {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

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

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes meshGradient {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes borderRotate {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes confettiFall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100px) rotate(360deg); opacity: 0; }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 240, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.shimmer-btn:hover::after {
  left: 100%;
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

.float-slow { animation: floatSlow 8s ease-in-out infinite; }
.float-medium { animation: floatMedium 6s ease-in-out infinite; }
.float-fast { animation: floatFast 4s ease-in-out infinite; }

.float-delay-1 { animation-delay: 0s; }
.float-delay-2 { animation-delay: 1.5s; }
.float-delay-3 { animation-delay: 3s; }
.float-delay-4 { animation-delay: 4.5s; }

.rotating-border {
  animation: borderRotate 4s linear infinite;
  background: conic-gradient(from var(--angle), #00F0FF, #8B5CF6, #3B82F6, #00F0FF);
  padding: 2px;
  border-radius: 1rem;
}

.rotating-border-inner {
  background: #0d0d1a;
  border-radius: calc(1rem - 2px);
  width: 100%;
  height: 100%;
}

.text-reveal {
  animation: textReveal 1s ease-out forwards;
}

.typing-cursor::after {
  content: '|';
  animation: typingCursor 0.8s ease-in-out infinite;
  color: #00F0FF;
  margin-left: 2px;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 8px 16px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F0FF;
  display: block;
}

.typing-dots span:nth-child(1) { animation: dotBounce1 1.4s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation: dotBounce2 1.4s ease-in-out 0.2s infinite; }
.typing-dots span:nth-child(3) { animation: dotBounce3 1.4s ease-in-out 0.4s infinite; }

.scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.4s ease-out forwards;
}

.ripple-effect {
  position: relative;
}

.ripple-effect::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.4);
  animation: ripple 2s ease-out infinite;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.3);
  animation: ripple 2s ease-out 0.5s infinite;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.mesh-gradient-bg {
  background: linear-gradient(
    45deg,
    rgba(0, 240, 255, 0.12),
    rgba(139, 92, 246, 0.1),
    rgba(59, 130, 246, 0.08),
    rgba(0, 240, 255, 0.06)
  );
  background-size: 400% 400%;
  animation: meshGradient 20s ease infinite;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.4);
  animation: livePulse 2s ease-in-out infinite;
}

.sparkle-container {
  position: relative;
}

.sparkle-container::before,
.sparkle-container::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00F0FF;
  border-radius: 50%;
}

.sparkle-container::before {
  top: -4px;
  right: -4px;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-container::after {
  bottom: -4px;
  left: -4px;
  animation: sparkle 2s ease-in-out 1s infinite;
}

.gradient-ring {
  background: conic-gradient(from var(--angle, 0deg), #00F0FF, #8B5CF6, #3B82F6, #00F0FF);
  animation: borderRotate 4s linear infinite;
  padding: 3px;
  border-radius: 50%;
}

.gradient-ring-inner {
  background: #0d0d1a;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }

.hover-lift {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -15px rgba(0, 240, 255, 0.2);
}

.svg-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.svg-draw.visible {
  animation: drawLine 2s ease-out forwards;
}

.hover-glow-cyan {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-glow-cyan:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15), 0 0 60px rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.3);
}

.hover-glow-purple {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-glow-purple:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15), 0 0 60px rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
}

.card-shine {
  position: relative;
  overflow: hidden;
}

.card-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.card-shine:hover::before {
  left: 125%;
}
