body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-image: url('../images/stars-at-night-sky.webp');
  cursor: url('../images/cookie.png'), auto !important;
  background-size: cover;
}

#game-container {
  cursor: url('../images/cookie.png'), auto;
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-image {
  position: absolute;
  cursor: url('../images/cookie.png'), auto;
  width: 200px;
  height: 200px;
  transition: transform 0.3s ease-in-out;
}

.game-image.grow {
  animation: grow 0.5s forwards;
}

@keyframes grow {
  0% {
    transform: scale(var(--scale));
  }

  50% {
    transform: scale(calc(var(--scale) * 1.1));
    /* Temporarily scale up to 110% */
  }

  100% {
    transform: scale(var(--scale));
  }
}

.game-image.shake {
  animation: shake 0.5s;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0) scale(var(--scale));
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px) scale(var(--scale));
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px) scale(var(--scale));
  }
}

.game-image.pop {
  animation: pop 0.5s forwards;
}

@keyframes pop {
  0% {
    transform: scale(var(--scale));
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.game-image.spin {
  animation: spin 1s ease-out forwards;
}

@keyframes spin {
  from {
    transform: rotate(0deg) scale(var(--final-scale));
  }

  to {
    transform: rotate(360deg) scale(var(--final-scale));
  }
}

#cat-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 20px;
  z-index: 1000;
  /* Ensure it's above other elements */
}

#social-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  z-index: 9999;
}

#social-icons img {
  width: 32px;
  /* Adjust size as needed */
  height: 32px;
  /* Adjust size as needed */
  margin-left: 10px;
  /* Space between icons */
}

#feed-me {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -300%);
  /* Move further up by adjusting the percentage */
  color: white;
  font-size: 24px;
  text-align: center;
  z-index: 10;
  /* Ensure it's above the image */
}

.arrow {
  display: block;
  margin: 0 auto;
  /* Center the arrow horizontally */
  width: 32px;
  /* Adjust size as needed */
  height: 32px;
  /* Adjust size as needed */
  filter: invert(100%);
  /* Invert colors */
  animation: bounce 2s infinite;
  /* Slower animation */
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
    /* Less extreme movement */
  }

  60% {
    transform: translateY(-10px);
    /* Less extreme movement */
  }
}