.cool-container * {
  box-sizing: border-box;
}

/* === Carousel Container & Track === */
.cool-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.cool-carousel-track {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE */
}

.cool-carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/* === Carousel Buttons === */
.cool-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(to bottom, #66dfff, #3a9ad9);
  transition: background 0.3s ease, transform 0.2s ease;
}

.cool-carousel-button:hover {
  background: linear-gradient(to bottom, #4ec9f0, #1e78c1);
  transform: scale(1.1);
}

.cool-carousel-button.cool-left {
  left: 10px;
}

.cool-carousel-button.cool-right {
  right: 10px;
}

/* === Card Styling === */
.cool-card {
  flex: 0 0 auto;
  width: 300px;
  height: 455px;
  position: relative;
  padding: 0 36px;
  border-radius: 30px;
  cursor: pointer;
  perspective: 2500px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.cool-card:hover {
  transform: scale(1.03);
}

/* === Card Wrapper === */
.cool-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.5s;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.cool-card:hover .cool-wrapper {
  transform: perspective(900px) translateY(-5%) rotateX(25deg);
  box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
}

/* === Wrapper Gradients === */
.cool-wrapper::before,
.cool-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  border-radius: 30px;
  transition: all 0.5s;
  opacity: 0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 22px rgba(0, 0, 0, 0.22);
}

.cool-wrapper::before {
  top: 0;
  height: 100%;
  background-image: linear-gradient(to top, transparent 46%, rgba(12, 13, 19, 0.5) 68%, rgba(12, 13, 19) 97%);
}

.cool-wrapper::after {
  bottom: 0;
  background-image: linear-gradient(to bottom, transparent 46%, rgba(12, 13, 19, 0.5) 68%, rgba(12, 13, 19) 97%);
}

.cool-card:hover .cool-wrapper::before,
.cool-card:hover .cool-wrapper::after {
  opacity: 1;
}

.cool-card:hover .cool-wrapper::after {
  height: 120px;
}

/* === Card Images === */
.cool-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.cool-card:hover .cool-cover-image {
  opacity: 0.3;
}

/* === Logo === */
.cool-logo {
  position: absolute;
  bottom: 0;
  left: 50px;
  max-width: 150px;
  width: 100%;
  transition: transform 0.5s;
}

.cool-card:hover .cool-logo {
  transform: translate3d(0, -50px, 200px);
}

/* === Hover Character === */
.cool-character {
  height: 235px;
  opacity: 0;
  transition: all 0.5s;
  filter: drop-shadow(2px 2px 2px #000);
  position: absolute;
  z-index: -1;
  bottom: 50px;
  object-fit: contain;
}

.cool-card:hover .cool-character {
  opacity: 1;
  transform: translate3d(5%, -5%, 570px);
}

/* === Display Flex Group === */
.cool-disp {
  display: flex;
  overflow-x: auto;
  flex-direction: row;
  gap: 10px;
}

/* owl-carousel-container.css */
.cool-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.cool-carousel-track::-webkit-scrollbar {
  display: none;
}

.cool-carousel-track:active {
  cursor: grabbing;
}

.cool-card {
  flex: 0 0 auto;
  position: relative;
}

.cool-container,
.cool-container * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  /* Allows interaction like clicks if needed */
}

.cool-container img {
  pointer-events: none;
}

/* Enable horizontal scroll via drag/swipe */
.cool-carousel-track {
  display: flex;
  gap: 20px;
  /* adjust as needed */
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

/* Prevent selection on cards, but keep link clicks working */
.cool-card {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  flex: 0 0 auto;
  /* Prevent shrinking */
  width: 240px;
  height: 350px;
  /* or whatever width you prefer */
}

/* Prevent dragging images but still clickable */
.cool-card img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 576px) {
  .cool-card {
    flex: 0 0 auto;
    width: 200px;
    height: 355px;
    position: relative;
    padding: 0 36px;
    border-radius: 30px;
    cursor: pointer;
    perspective: 2500px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
  }

  .cool-character {
    height: 180px;
    opacity: 0;
    transition: all 0.5s;
    filter: drop-shadow(2px 2px 2px #000);
    position: absolute;
    z-index: -1;
    bottom: 50px;
  }

  .cool-logo {
    position: absolute;
    bottom: 0;
    left: 35px;
    max-width: 120px;
    width: 100%;
    transition: transform 0.5s;
  }
}