.prize-group-card {
  background-color: #090909;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  justify-content: space-between;
  margin: 20px 0;
  font-family: "Poppins", sans-serif;
  border: 0.5px solid #6b6b6b;
}

/* Hover the whole card -> change border + title + icon to gold */
.prize-group-card:hover {
  border-color: #c29a4c !important;
}

.prize-group-card:hover .prize-title {
  color: #c29a4c !important;
}

.prize-group-card:hover .toggle-icon {
  color: #c29a4c !important; /* works because your SVG uses currentColor */
}

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

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

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

.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;
  border-top: 1px solid #6b6b6b;
}

.toggle-icon {
  font-size: 24px;
  font-weight: bold;
  margin-left: 10px;
}
/* white icon */
.prize-group-card .toggle-icon {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

/* default: show plus only */
.prize-group-card .toggle-icon .iw-minus {
  display: none;
}

/* when open: show minus only */
.prize-group-card.is-open .toggle-icon .iw-plus {
  display: none;
}
.prize-group-card.is-open .toggle-icon .iw-minus {
  display: block;
}

.pagination {
  display: none !important;
  gap: 10px;
  font-size: 1em;
}

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

.lty-tckt-num {
  display: flex;
  font-size: 0.8em;
  color: #fff;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 50px;
}

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

.lty-instant-winner {
  color: #fff;
  font-size: 0.8em;
  background: linear-gradient(270deg, #6b6b6b 9.06%, #c7c5c2 91.61%);
  font-family: "Poppins";
  padding: 5px;

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

.lty-prize-available {
  color: #fff;
  font-size: 0.8em;
  background: #c29a4c;
  font-family: "Poppins";
  padding: 5px;

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

.inswin-title {
  font-family: "Poppins", Poppins;
  font-size: 2.8em !important;
  font-weight: 600;
  color: #c29a4c;
}

/* 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: 5px 10px;
  font-family: "Poppins";
  font-size: 0.8em;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #c29a4c;
  padding: 10px;
}

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

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

.prize-title {
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5em;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.instant-img-box {
  width: 100px; /* change as you like */
  height: 100px; /* change as you like */
  border-radius: 15px;
  overflow: hidden;
  flex: 0 0 auto; /* stops flex squeezing it */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.instant-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover; /* this is the key */
  object-position: center;
  display: block; /* removes tiny baseline gap */
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .instant-img-box {
    width: 80px;
    height: 80px;
  }
  .inswin-title {
    font-size: 1.8em !important;
  }
  .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;
  }

  .remaining-tag {
    font-size: 0.7em;
    padding: 5px;
  }
  .prize-title {
    font-size: 1.2em;
    margin-bottom: 0;
  }
  .ticket-list {
    gap: 5px;
  }
  .lty-tckt-num {
    padding: 5px 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);
  }
}

/* ===== Mountain line loader for: <span class="spinner-custom"></span> ===== */
.ticket-item .spinner-custom {
  display: block;
  width: 110px;
  height: 18px;
  margin: 10px auto;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* mountain ridge line */
.ticket-item .spinner-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 220px 18px;
  /* stroke-like mountain polyline as SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='18' viewBox='0 0 220 18'%3E%3Cpolyline points='0,12 18,10 32,13 48,8 66,12 84,6 102,11 120,5 140,12 158,7 176,13 196,9 220,12' fill='none' stroke='rgba(255,255,255,0.75)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation: mountain-slide 1.2s linear infinite;
  opacity: 0.95;
}

/* soft glow sweep */
.ticket-item .spinner-custom::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: skewX(-18deg);
  animation: mountain-sheen 1.1s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mountain-slide {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: -110px 50%;
  }
}

@keyframes mountain-sheen {
  0% {
    transform: translateX(-140%) skewX(-18deg);
    opacity: 0;
  }
  20% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}
