.prize-group-card {
  border-radius: 20px;
  background: linear-gradient(120deg, #1e1e1e 0%, #272727 100%);
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  justify-content: space-between;
  margin: 20px;
  font-family: "Fredoka", sans-serif;
  min-width: 1000px;
  /* gap: 10px; */
}

.prize-group-card:hover {
  background: linear-gradient(2200deg, #272727 0%, #1e1e1e 100%);
}

.prize-label {
  color: #000;
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;

  cursor: pointer;
  align-items: center;
  width: 100%;
}

.spinner-custom {
  margin-top: 1em;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 215, 30, 0.3);
  border-radius: 50%;
  border-top-color: #ffd51e;
  animation: spin 1s ease-in-out infinite;
}

.ticket {
  display: flex;
  width: max-content;
  flex-direction: column;
  justify-content: space-around;
  padding: 0px 0px;
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 10px 0;
  z-index: 1;
  gap: 1px;
  animation: bounceIn 0.6s ease-out;
}

/* .ticket::before, .ticket::after { 
    content: ''; 
    position: absolute; 
    width: 30px; 
    height: 30px; 
    background-color: #F6F6F6; 
    border-radius: 50%; top: 50%; 
    transform: translateY(-50%); 
    z-index: 0;
}

.ticket::before { 
    left: -12px; 
} 
.ticket::after { 
    right: -12px; 
}  */

.ticket-list {
  display: none; /* Initially, hide the ul */ /* Use flexbox for horizontal layout */
  flex-wrap: wrap; /* Allow items to wrap to the next line if there isn't enough space */
  gap: 10px; /* Add space between items */
  list-style-type: none; /* Remove default list item bullets */
  padding: 0; /* Remove any default padding */
  margin: 0;
  justify-content: center;
  /* opacity: 0; 
    transition: opacity 0.3s ease-in-out;  */
  border-top: 1px solid black;
}

.toggle-icon {
  font-size: 24px;
  font-weight: bold;
  margin-left: 10px;
}

.pagination {
  display: none !important;
  font-size: 1em;
  color: white !important;
  gap: 10px;
  /* opacity: 0; */
  /* transition: opacity 0.3s ease-in-out;  */
}

.pagination a {
  color: yellow;
}

.ticket-list.show,
.pagination.show {
  display: flex !important;
  gap: 10px;
  font-size: 0.7em;
  /* opacity: 1;  */
}

.lty-tckt-num {
  display: flex;
  font-size: 01em;
  color: #000;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0px 50px;
  padding-bottom: 5px;
}

.lty-tckt-num,
.lty-instant-winner,
.lty-prize-available {
  font-weight: 600;
}

.lty-instant-winner {
  color: #808080;
  font-size: 01em;
  background: #e8e8e8;
  font-family: "Fredoka";
  padding: 5px;

  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.lty-prize-available {
  color: #000;
  font-size: 01em;
  background: #ffd51e;
  font-family: "Fredoka";
  padding: 5px;

  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  /* border-radius: 10px; */
}

.inswin-title {
  font-family: "Fredoka";
  font-size: 2.6em !important;
  font-weight: 600;
  color: #ffd51e;
}

/* Ensure each list item behaves like a block in the row */
.ticket-item {
  display: flex; /* Use flex for each ticket */
  align-items: center; /* Vertically center content inside each ticket */
  justify-content: center; /* Horizontally center content inside each ticket */
  margin: 5px; /* Add margin between tickets */
}

.remaining-tag {
  width: fit-content;
  color: #fff;
  padding: 8px 10px;
  font-family: "Fredoka";
  font-size: 01em;
  font-style: light;
  font-weight: 400;
  border-radius: 10px;
  border: 1px solid #ffd51e;
  text-align: center;
}

.prize-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.prize-stats {
  width: 100%;
  /* display:flex; */
}

.prize-title {
  color: #fff;
  font-family: "Fredoka", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.4em;
  display: flex;
  justify-content: space-between;
}

.instant-img {
  border-radius: 10% !important;
  width: 10%; /* Image width will scale to its container */
  max-width: 60px; /* Prevent the image from getting too large */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure the image is displayed as a block element */
  margin: 0 auto; /* Center the image horizontally if necessary */
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .prize-group-card {
    min-width: 100px !important;
  }
  .ticket-list {
    overflow-x: auto; /* Enable horizontal scrolling on mobile */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    flex-wrap: nowrap;
    flex-direction: row;
  }

  .instant-img {
    width: 30%;
    max-width: 90px; /* Adjust max width if needed */
  }
  .remaining-tag {
    font-size: 35%;
    padding: 5px;
  }
  .prize-title {
    font-size: 60%;
    margin-bottom: 0;
  }
  .ticket-list {
    gap: 5px;
  }
  .lty-tckt-num {
    padding: 0 35px;
  }
  .prize-group-card {
    padding-bottom: 0;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
