.heart.highlighted {
  animation: highlight-heart 1.2s cubic-bezier(.4, 2, .6, 1) 2;

}

.heart.highlighted:before,
.heart.highlighted:after {
  /* background: #ffd700 !important; */
  /* z-index: 1;
  box-shadow:
    0 0 0 12px #ffe06655,
    /* soft yellow outer glow */
  /* 0 0 0 20px #ff669e33, */
  /*soft pink larger glow*/
  /* 0 0 16px 4px #ff669e; */
  /* background: 0 0 32px 16px #ff669e !important; */
  background: content-box radial-gradient(#ffd700, #ffd700);
  border: 0px;
}

@keyframes highlight-heart {
  0% {
    transform: scale(1) rotate(0deg);
  }

  30% {
    transform: scale(1.25) rotate(-8deg);
  }

  60% {
    transform: scale(1.1) rotate(8deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Info icon styles */
.infoIcon {
  position: fixed;
  top: 3%;
  right: 5%;
  width: 38px;
  height: 38px;
  background: #fff;
  color: #e2557b;
  border-radius: 50%;
  box-shadow: 0 2px 12px #e2557b22;
  font-size: 2em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  border: 2px solid #e2557b44;
  transition: background 0.2s, color 0.2s;
}

.infoIcon:hover {
  background: #e2557b;
  color: #fff;
}

.infoPopup {

  width: 50%;
}

/* Footer styles */
.mainFooter {
  width: 100%;
  text-align: center;
  font-size: 1.1em;
  color: #a03a5a;
  background: #fbeaf0;
  padding: 24px 0 16px 0;
  margin-top: 40px;
  border-top: 2px solid #e2557b33;
  letter-spacing: 0.5px;
}

.mainFooter div {
  margin: 4px 0;
}

/* Big centered message on top */
.mainMessage {
  width: 80%;
  padding-left: 10%;

  text-align: center;
  font-size: 2.2em;
  font-weight: bold;
  color: #e2557b;
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #e2557b22, 0 0 2px #fff;
}


.mainMessageDescription {
  width: 80%;
  padding-left: 10%;

  text-align: center;
  font-size: 1.6em;
  font-weight: bold;
  color: #e2557b;
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #e2557b22, 0 0 2px #fff;
}
.gridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  padding: 34px;
  max-width: 800px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
  min-height: 100vh;
}

body {
  background: linear-gradient(135deg, #f9a1b8 0%, #fff6f9 40%, #ffe066 100%);
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  /* Optional: subtle animation for shine effect */
  background-size: 200% 200%;
  animation: shine-gradient 12s ease-in-out infinite;
}

@keyframes shine-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.heart.not-bout {
  filter: grayscale(1) brightness(0.7);
  cursor: not-allowed;
  opacity: 0.6;
}

.heart {
  width: 50px;
  height: 54px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  user-select: none;
}

.heart-id {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-weight: bold;
  font-size: 1.2em;
  text-shadow: 0 2px 8px #e2557b99, 0 0 2px #000;
  pointer-events: none;
  width: 100%;
  text-align: center;
}

.heart:before,
.heart:after {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 34px;
  height: 56px;
  background: #e2557b;
  border-radius: 30px 30px 0 0;
  transform: rotate(45deg);
}

.heart:after {
  left: 0;

  transform: rotate(-45deg);
}

.heart:hover {
  transform: scale(1.15) rotate(-8deg);
  filter: brightness(1.1) drop-shadow(0 0 8px #e2557b88);
}

.heart:active {
  transform: scale(0.95) rotate(8deg);
  filter: brightness(0.95);
}

.popup {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
  font-size: x-large;
}

.popupContent {
  background: #fff;
  padding: 24px 24px;
  margin: 12px 12px;
  border-radius: 16px;
  box-shadow: 0 8px 32px #e2557b33;
  text-align: center;
  min-width: 220px;
  /* max-width: 90%; */
  position: relative;
}

.close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.5em;
  color: #e2557b;
  cursor: pointer;
}

a {
  color: #e2557b;
  text-decoration: none;
  font-weight: bold;

}

a:hover,
a:focus {
  text-decoration: underline;
  color: #a03a5a;
}