body {
  background-color: #000;
  color: #fa6593;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100vh;
  width: 100vw;
}

.image-scroll-container {
  width: 100vw;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.image-track {
  display: flex;
  animation: scroll 100s linear infinite;
  width: fit-content;
  height: calc(33vh - 25px);
  margin-bottom: 20px;
}

.image-track.reverse {
  animation: scroll 100s linear infinite;
}

.image-item {
  flex-shrink: 0;
  height: calc(33vh - 25px);
  width: calc(33vh - 25px);
  margin-right: 20px;
  border-radius: 15px;
  overflow: hidden;
  object-fit: cover;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.267) 0px 2px 12px;
  filter: blur(1px) brightness(0.95);
}

.image-item:hover img {
  transform: scale(1.05);
}

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

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

/* Bottom Fixed Image */
.bottom-image-container {
  position: fixed;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%) translateY(5%) scale(1);
  width: 320px;
  max-width: 90vw;
  z-index: 1000;
  pointer-events: auto;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.bottom-image-container:hover {
  transform: translateX(-50%) translateY(0%) scale(1.05);
}

.bottom-image {
  width: 100%;
  height: auto;
  display: block;
}

.bottom-image-hover {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bottom-image-container:hover .bottom-image {
  opacity: 0;
}

.bottom-image-container:hover .bottom-image-hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-item {
    height: 150px;
    width: 150px;
  }
}

@media (max-width: 480px) {
  .image-item {
    height: 120px;
    width: 120px;
  }
}
