@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.image {
  min-height: 643px;
  width: 388px;
  border: 2px solid rgb(91, 116, 138);
  position: relative;
  background-color: #9a7152;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  background-color: #f5e5dc;
  /* soft chocolate-beige */
  background-image: url('cardback.jpg');
  /* your custom cherry background */
  background-repeat: no-repeat;
  background-size: 680px;
  background-position: center;
   margin:  auto;
  position: relative;
  overflow: hidden;
  /* your existing styles... */
}

.image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 186, 186, 0.4); /* white with 40% transparency */
  z-index: 0;
}

.cake {
  position: relative;
  z-index: 1; /* bring content above overlay */
}

.cake {
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.cake>img {
  margin: 34px;
  position: relative;
  z-index: 10;
  width: 70%;
  left: 5%;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.cake>img:hover {
  transform: scale(1.05);
  /* Zoom slightly */
}

.btn {
  gap: 35px;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;

}

button {
  text-transform: uppercase;
  font-size: 30px;
  border-radius: 14px;
  border: none;
  color: rgb(63, 27, 27);
  background-color: #dab3cf;
  font-weight: 600;
 cursor: pointer;
  font-family: "Baloo Bhai 2", sans-serif;
  transition: transform 0.3s ease-in-out;


}

button:hover {
  transform: scale(1.05);
  background-color: rgb(91, 71, 16);
  color: rgb(184, 174, 174);
  filter: contrast(2);
}

.content-section {
  border: 2px solid rgb(73, 55, 33);
  margin: 5px;
  border-radius: 9px;
  color: #1a1a1a; /* darker gray for better contrast */
  background-color: rgba(255, 255, 255, 0.85); /* optional for contrast */
  display: none;
  padding: 10px;
}


h2 {
  text-align: center;
  text-transform: uppercase;
  background-color: rgb(184, 181, 218);
  margin: 15px;
  border-radius: 45px;
  color: rgb(12, 3, 75);
}

.details {
  text-align: center;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 60px;
  background-color: rgb(76, 15, 3);
  opacity: 0.8;
  margin-left: 55px;
  margin-right: 55px;
  position: relative;
  cursor: pointer;
  z-index: 10;
}

.details :hover {
  scale: 1.21;
}

.details>p {
  padding: 0px;
  margin: 10px;
}

li:hover {
  color: #0e023f;
  cursor: pointer;
}

.progress-bar {
  width: 90%;
  height: 10px;
  background: #ddd;
  margin: 10px auto;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: rgb(9, 19, 95);
  transition: width 0.5s;
}

li span::before {
  content: '';
  display: inline-block;
  margin-right: 10px;
  color: #020014;
}

li.active span::before {
  content: '👉';
  animation: pulse 0.6s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

li.active {
  background-color: #8859ed;
  border-radius: 8px;
  margin: 2px;
}