.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
  animation: popIn 0.6s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.emojiTitle {
  font-size: 3rem;
  margin: 0;
  animation: pop 1s ease;
  color: rgb(55, 171, 200);
}

@keyframes pop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.character {
  animation: bounce 2s infinite;
}

.mainMarty {
  width: 180px;
  height: auto;
}
.buttons {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 1rem;
}
.button {
  position: relative;
  background: radial-gradient(
    circle at 40% 40%,
    rgb(198, 234, 239),
    rgb(175, 221, 233)
  );
  border: 4px solid rgb(55, 171, 200);
  border-radius: 50%;
  padding: 1.2rem;
  width: 140px;
  height: 140px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

/* Shine effect */
.button::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 10%, transparent 70%);
  transform: rotate(25deg);
  animation: shine 3s infinite linear;
  pointer-events: none;
}

/* Inner ring for badge-like look */
.button::before {
  content: "";
  position: absolute;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

.buttonImage {
  width: 90px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.buttonImage.slalom {
  animation: slalom 1.5s infinite ease-in-out;
}

.buttonImage.cross {
  animation: cross 2s infinite ease-in-out;
}

/* Color-specific overrides */
.buttonPlayAgain {
  background: radial-gradient(circle at 40% 40%, rgb(244, 218, 97), rgb(250, 217, 5));
  border-color: rgb(55, 171, 200);
}

.buttonNextLevel {
  background: radial-gradient(circle at 40% 40%, rgb(198, 234, 239), rgb(175, 221, 233));
  border-color: rgb(55, 171, 200);
}

.buttonWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.icon {
  vertical-align: middle;
  margin-right: 0.4rem;
  font-size: 1.3rem;
}

.label {
  font-size: 1.2rem;
  color: rgb(55, 171, 200); /* MAIN_BLUE */
  font-weight: bold;
  font-family: 'Comic Neue', 'Baloo Bhaina', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
/* Add at the bottom of your CSS file */
@keyframes slalom {
  0%,
  100% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(-8px);
  }
}

@keyframes cross {
  0% { transform: translateY(-8px); }
  25% { transform: translateY(8px); }
  50% { transform: translate(8px, 0); }
  75% { transform: translate(-8px, 0); }
  100% { transform: translateY(-8px); }
}

/* Apply to individual button images */
.buttonImage.slalom {
  animation: slalom 1.5s infinite ease-in-out;
  transform-origin: bottom center;
}

.buttonImage.cross {
  width: 40px;
  animation: cross 2s infinite ease-in-out;
}
