/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Arial', sans-serif;
}

/* Gradient Background */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #4f92ff, #932fff);
  z-index: 0;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show modal */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content */
.modal {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  width: 90%;
  animation: fadeInUp 0.4s ease;
}

/* Question */
.question {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn.yes {
  background-color: #28a745;
}

.btn.no {
  background-color: #dc3545;
}

/* Animation */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
