body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, #001f3f, #006064, #004d40, #1a237e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

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

/* Add this for the aurora effect */
.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.aurora::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(32, 255, 140, 0.2),
    rgba(32, 255, 140, 0.1) 20%,
    rgba(32, 255, 140, 0) 40%
  );
  animation: aurora 20s linear infinite;
}

@keyframes aurora {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Adjust existing container to work with the background */
.center-container {
  text-align: center;
  max-width: 500px;
  width: 90%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  margin: 20px auto;
}

.title {
  font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 30px;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px #000a;
}

.move-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.3s;
  filter: drop-shadow(0 2px 8px #0006);
}

.move-icon:hover {
  transform: scale(1.1);
}

.move-icon.animated {
  animation: shake 0.5s, pop 0.5s;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.move-button {
  background: rgba(255,255,255,0.10);
  border: 2px solid #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px #0002;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.move-button:hover {
  box-shadow: 0 4px 24px #f8ffae55, 0 4px 20px #0004;
  transform: scale(1.12);
  background: #fff2;
  border-color: #f8ffae;
}

.result {
  font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
  font-size: 28px;
  font-weight: bold;
  margin-top: 28px;
  color: #f8ffae;
  text-shadow: 0 2px 8px #0008;
  opacity: 0;
  animation: fadeIn 0.7s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.js-moves {
  font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
  margin-top: 16px;
  font-size: 18px;
  color: #eee;
  letter-spacing: 1px;
}

.score {
  font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
  margin-top: 30px;
  font-size: 19px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0002;
}

/* Add button container styles */
.button-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Update existing button styles */
.reset-score-button,
.auto-play-button {
  font-family: 'Montserrat', 'Quicksand', Arial, sans-serif;
  background: linear-gradient(90deg, #1c3c4d 0%, #265e54 100%);
  border: none;
  font-size: 15px;
  padding: 10px 18px;
  margin: 0; /* Remove existing margins */
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  min-width: 120px; /* Ensure consistent button width */
}
.reset-score-button:hover,
.auto-play-button:hover {
  background: linear-gradient(90deg, #446586 0%, #65dd7f 100%);
  transform: scale(1.07);
  box-shadow: 0 0 16px #f8ffae99, 0 2px 8px #0002;
}

/* Update mobile styles */
@media (max-width: 500px) {
  .center-container {
    padding: 18px 2vw;
    width: 98vw;
    min-width: unset;
    border-radius: 18px;
  }
  .title {
    font-size: 24px;
  }
  .move-button {
    width: 60px;
    height: 60px;
    margin: 0 4vw 12px 4vw;
  }
  .move-icon {
    height: 36px;
  }
  .result, .js-moves, .score {
    font-size: 16px;
  }
  .reset-score-button, .auto-play-button {
    font-size: 13px;
    padding: 8px 10px;
    margin: 10px 4px 0 4px;
    width: 80%;
    min-width: unset;
  }
  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}