.carosel{
    background: #000;
}
.carosel h3{
    padding: 2rem;
    margin-top: 2rem;
    font-weight: 100;
}
.crypto-slider {
  overflow-x: auto;
  padding: 30px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.crypto-track {
  display: flex;
  gap: 5px;
}

.crypto-slider::-webkit-scrollbar {
  display: none;
}

.crypto-card {
  min-width: 400px;
  height: 460px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 0.4s ease;
  transform: scale(0.92);
}

.crypto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crypto-card.active {
  transform: scale(1);
}

.crypto-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.crypto-card .text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
}

.crypto-card h4 {
  margin: 0;
  font-size: 20px;
}

.crypto-card p {
  margin: 5px 0 0;
  font-size: 13px;
  color: #ccc;
}

/* Mobile */
@media (max-width: 600px) {
  .crypto-card {
    min-width: 220px;
    height: 300px;
  }
}
