/* Styles for shake button */
.shake-screen-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;
}

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

.shake-screen-button:active {
  transform: scale(0.98);
}

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

/* Modal styles */
.shake-screen-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;
}

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

.shake-screen-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);
}

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

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

.shake-screen-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;
}

.shake-screen-modal-button:hover {
  background-color: #6060ff;
}

.shake-screen-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 shake effect */
@keyframes shakeAnimation {
  0% { transform: translateX(0); }
  10% { transform: translateX(-5px); }
  20% { transform: translateX(5px); }
  30% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  50% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  70% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  90% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.shake-animation {
  animation: shakeAnimation 0.8s ease-in-out;
}
