
.quotes-scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.quotes-scroll-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: scroll-quotes 90s linear infinite;
}

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

.quote-card {
  flex-shrink: 0;
  width: 280px;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  font-size: 0.95rem;
  opacity: 0.85;
}

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

@keyframes scale-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.anim-scale-pulse {
  display: inline-block;
  animation: scale-pulse 1s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.anim-spin {
  display: block;
  animation: spin 1s linear infinite;
}

@keyframes opacity-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.anim-opacity-pulse {
  display: block;
  animation: opacity-pulse 1s infinite;
}

@keyframes success-spin-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@keyframes fade-away {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

@keyframes flash-highlight {
  0% {
    filter: drop-shadow(0px 0px 0px rgba(var(--color-character-accent-rgb), 0.8))
  }
  50% {
    filter: drop-shadow(0px 0px 12px rgba(var(--color-character-accent-rgb), 0.8))
  }
  100% {
    filter: drop-shadow(0px 0px 0px rgba(var(--color-character-accent-rgb), 0.8))
  }
}

.anim-flash-highlight {
  display: inline-block;
  animation: flash-highlight 1s infinite;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
  z-index: 100;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 80%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .sticky-cta {
    background: linear-gradient(to top, rgba(51,51,51,0.95) 0%, rgba(51,51,51,0.9) 80%, rgba(51,51,51,0) 100%);
  }
}

.sticky-cta .button {
  pointer-events: auto;
}

/* Token balance change animations */
@keyframes token-decrease {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 1;
    color: #eeb672;
  }
  50% {
    opacity: 0.8;
    color: #eeb672;
  }
  100% {
    opacity: 0.5;
    color: inherit;
  }
}

@keyframes token-increase {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 1;
    transform: scale(1.2);
    color: #27ae60;
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
    color: #27ae60;
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
    color: inherit;
  }
}

.token-count {
  display: inline-block;
  transition: color 0.3s ease;
}

.token-decrease {
  animation: token-decrease 0.6s ease-out;
}

.token-increase {
  animation: token-increase 1s ease-out;
}
