
#container {
  text-align: center;
  position: relative;
  padding: 2rem;
}

/* Paw: auto size + glow + squish-ready */
#paw {
  max-width: min(70vw, 260px);      /* auto size, good on mobile & desktop */
  height: auto;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease, filter 0.2s ease;
  filter: drop-shadow(0 0 10px rgba(255, 190, 220, 0.7));
}

#paw:hover {
  filter: drop-shadow(0 0 16px rgba(255, 200, 230, 0.9));
}

/* Squish on click */
#paw:active {
  transform: scale(0.93);
  filter: drop-shadow(0 0 6px rgba(255, 170, 210, 0.7));
}

#game-title {
  font-size: 2.2rem;
  color: #ffd6f0;                  
  margin-bottom: 0.4rem;
  /* text-shadow: 0 0 10px rgba(255, 214, 240, 0.5); */
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55) !important;
}

#game-desc {
  font-size: 1.1rem;
  color: #ffd6f0;               
  margin-bottom: 1.8rem;           /* give nice space before the paw */
  opacity: 0.95;
}

#message {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: #ffd6f0;
   transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#message.show {
  opacity: 1;
  transform: scale(1);
  text-shadow: 0 0 8px rgba(252, 233, 245, 0.6);
}

/* Sparkles */
.sparkle-gif {
  position: absolute;
  width: 300px;                     /* adjust size */
  height: 300px;
  pointer-events: none;
  opacity: 1;
  transform: translate(-70%, -70%);
  animation: sparkle-fade 2000ms ease-out forwards;
}

@keyframes sparkle-emoji-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  60% {
    opacity: 1;  /* stays bright for most of the animation */
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
}

/* Rabbit that always sits next to the message */
.rabbit-icon {
  position: absolute;
  font-size: 38px;       /* big enough to see clearly */
  pointer-events: none;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Only applied briefly to trigger the bounce */
.rabbit-bounce {
  animation: rabbit-bounce 600ms ease-out;
}

@keyframes rabbit-bounce {
  0% {
    transform: translateY(6px) scale(0.9);
  }
  30% {
    transform: translateY(-8px) scale(1.02);
  }
  60% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(2px) scale(0.98);
  }
}

#luck-badge {
  position: absolute;
  top: -5px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 14px;
  background: rgba(255, 214, 240, 0.1);
  border: 1px solid rgba(255, 214, 240, 0.3);
  color: #ffd6f0;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 0 8px rgba(255, 214, 240, 0.25);
  backdrop-filter: blur(2px);
}

/* Remove ugly tap highlight on mobile */
html, body {
  -webkit-tap-highlight-color: transparent;
}

#paw,
.sct-game-button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

#paw:focus {
  outline: none;
}