

.gallery {
  position: relative;
  height: 555px;
  overflow: hidden;
}
.cards {
	position: absolute;
	width: 315px;
	height: 520px;
  top: 53%;
	left: 50%;
	transform: translate(-50%, -50%);
  transition-duration: 0.1s;
}
.cards li {
	list-style: none;
	padding: 16px;
	margin: 0;
	width: 315px;
	height: 490px;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 27px;
  transition-duration: 0.1s;
  
}
.actions {
	position: absolute;
  top: 40%;
  width: 100%;
}
.prev {
  position: absolute;
  left: 0;
}
.next {
  position: absolute;
  right: 0;
}

.actions button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* border: 2px dashed #ffffff; */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border 0.3s ease;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='100' ry='100' stroke='white' stroke-width='4' stroke-dasharray='15%2c 15' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}

/* Bottom fill layer */
.actions button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #ff0000, #804040);
  transition: height 0.4s ease;
  z-index: 0;
}

/* Keep icon above fill */
.actions button img {
  position: relative;
  width: 28px;
  height: 28px;
  z-index: 1;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

/* Hover Effects */
.actions button:hover {
  border: 0px solid #ff0000;
}

.actions button:hover::before {
  height: 100%;
}

.actions button:hover img {
  filter: brightness(0) invert(1);
}

/* .gameSlider .gallery button{
  width: 60px;
  height: 60px;
  border: 1px dashed #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* .slider1bg {
  background: #FF4848;
  background: linear-gradient(0deg,rgba(255, 72, 72, 1) 0%, rgba(255, 207, 207, 1) 100%);
} */
/* .slider2bg {
  background: #489EFF;
  background: linear-gradient(0deg,rgba(72, 158, 255, 1) 0%, rgba(177, 225, 255, 1) 100%);
}
.slider3bg {
  background: #FF5A01;
  background: linear-gradient(0deg,rgba(255, 90, 1, 1) 0%, rgba(255, 245, 189, 1) 100%);
}
.slider4bg {
  background: #5B13EA;
  background: linear-gradient(0deg,rgba(91, 19, 234, 1) 0%, rgba(254, 177, 255, 1) 100%);
}
.slider5bg {
  background: #099C57;
  background: linear-gradient(0deg,rgba(9, 156, 87, 1) 0%, rgba(225, 234, 158, 1) 100%);
} */

/* .cards li img:last-child {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
} */

@media (max-width: 768px) {
  .cards li {
    width: 264px;
    height: 449px;
    left: 24px;
  }
}