.tickerWrapper {
  position: relative;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.track {
  overflow: hidden;
  padding: 1.5rem 0;
  cursor: grab;
}

.marquee {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  will-change: transform;
  user-select: none;
}

.fadeLeft,
.fadeRight {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}

.fadeLeft {
  left: 0;
  background: linear-gradient(to right, #0a0a0a, transparent);
}

.fadeRight {
  right: 0;
  background: linear-gradient(to left, #0a0a0a, transparent);
}

.card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 210px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  &:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(247, 147, 26, 0.18);
  }
}

.topGainer {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25),
    0 12px 30px rgba(34, 197, 94, 0.15);
}

.icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.skeletonCircle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    #1a1a1a 25%,
    #222 37%,
    #1a1a1a 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

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

.meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.symbol {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.price {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-family: monospace;
}

.change {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.up {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
}

.down {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.upPulse {
  animation: pulseUp 2.5s infinite;
}

.downPulse {
  animation: pulseDown 2.5s infinite;
}

@keyframes pulseUp {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}

@keyframes pulseDown {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.08); }
}
