/* Main container for both buttons */
.score-boost-container {
  position: relative;
  width: calc(100% - 16px);
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Make children stretch to match heights */
  gap: 8px;
  padding: 0 8px;
  margin-top: 10px;
}

/* Score boost button styles */
.score-boost-button {
  flex: 1; /* Take up half the space */
  height: 46px;
  margin: 0; /* Remove any margin */
  border-radius: 44px;
  background: linear-gradient(45deg, #1a1a4a, #3030a0);
  color: white;
  font-weight: bold;
  font-size: 15px;
  border: 3px solid #5050ff;
  box-shadow: 0 4px 6px rgba(80, 100, 255, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

/* Remove planets button styles */
.remove-planets-button {
  flex: 1; /* Take up half the space */
  height: 46px;
  border-radius: 44px;
  background: linear-gradient(45deg, #1a1a4a, #3030a0);
  color: white;
  font-weight: bold;
  font-size: 15px;
  border: 3px solid #5050ff;
  box-shadow: 0 4px 6px rgba(80, 100, 255, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  padding: 10px 20px;
  margin: 0;
}

.remove-planets-button:hover {
  background: linear-gradient(45deg, #2a2a5a, #4040b0);
  box-shadow: 0 6px 8px rgba(80, 100, 255, 0.4);
}

.remove-planets-button:active {
  transform: scale(0.98);
}

.remove-icon {
  margin-right: 6px;
  font-size: 18px;
}

/* Modal styles */
.remove-planets-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.remove-planets-modal.show {
  opacity: 1;
  pointer-events: auto;
  z-index: 1500;
}

.remove-planets-modal-content {
  width: 90%;
  max-width: 360px;
  background-color: #0a0a2a;
  border-radius: 16px;
  border: 3px solid #5050ff;
  padding: 20px;
  text-align: center;
  color: white;
  position: relative;
  margin-bottom: 100px;
  box-shadow: 0 6px 12px rgba(80, 100, 255, 0.5);
}

.remove-planets-modal-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 8px #5050ff;
}

.remove-planets-modal-description {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}

.remove-planets-modal-button {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  color: white;
  text-align: center;
  margin-top: 10px;
  background-color: #5050ff;
}

.remove-planets-modal-button:hover {
  background-color: #6060ff;
}

.remove-planets-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  z-index: 1010;
}

/* Animation for planet removal */
@keyframes fadeOutScale {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.5);
  }
}

.remove-animation {
  animation: fadeOutScale 0.3s ease-out forwards;
}

/* Score boost button active styles */
.score-boost-button.active {
  background: linear-gradient(45deg, #3030a0, #5050ff);
  animation: pulse 2s infinite;
}

/* Special effects */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(80, 100, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(80, 100, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(80, 100, 255, 0);
  }
}

/* Timer for score boost */
.boost-timer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 23px;
  transition: width 1s linear;
  pointer-events: none;
}

/* Badge for multiplier */
.multiplier-badge {
  position: absolute;
  right: 10px;
  background-color: #ffdf00;
  color: #0a0a2a;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: bold;
}
