.carousel-container {
  perspective: 1500px;
  width: 400px;
  height: 600px;
  margin: 60px auto 0;
  position: relative;
  max-width: 98vw;
  max-height: 90vh;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.17, .67, .83, .67);
}

.carousel-card {
  position: absolute;
  width: 400px;
  height: 600px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  background: none;
  backface-visibility: hidden;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  display: block;
}

/* Mobile styles */
@media (max-width: 600px) {
  .carousel-container {
    width: 100vw;
    height: 120vw;
    min-height: 320px;
    max-height: 120vw;
  }

  .carousel-card {
    width: 99vw;
    height: 120vw;
    min-width: 0;
    min-height: 0;
    max-width: 100vw;
    max-height: 120vw;
  }
}

.swipe-notification {
  position: fixed;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 1em 2em;
  border-radius: 8px;
  font-size: 1.1em;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition: transform 1.5s ease, opacity 1.5s ease;
  width: auto;
  max-width: 90%;
}

.swipe-notification.show {
  transform: translateX(-50%) translateY(60px);
  opacity: 1;
}

.swipe-notification.hide {
  transform: translateX(-50%) translateY(-50px);
  opacity: 0;
}