.popup-box {
  position: fixed;
  bottom: -300px;
  right: 20px;
  width: 300px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(to right, #f06d06, #f7c600);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: black;
  font-family: Arial, sans-serif;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1000;
  transition: bottom 0.8s ease;
  overflow: hidden;
}

.popup-box.show {
  bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

.close-btn:hover {
  color: red;
}

.popup-actions {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.popup-actions button {
  padding: 6px 12px;
  background: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.popup-actions button:hover {
  background: #eee;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

.popup-box.shake {
  animation: shake 0.4s ease;
}

.close-options {
  position: absolute;
  top:20px;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 1001;
  width: 260px;
  height:55px;
}

.close-options p {
  margin: 0 0 10px 0;
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.close-options button {
  margin: 0 6px;
  padding: 6px 6px;
  border: none;
  border-radius: 6px;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
}

.close-options button:hover {
  background: #ddd;
}

.close-options.hidden {
  display: none;
}
