/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

/* Background Image */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url("../img/image.png") no-repeat center center/cover;
  z-index: 0;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* slight dark layer for readability */
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* Modal Content */
.modal {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  width: 90%;
  animation: fadeInUp 0.4s ease;
}

/* Question Text */
.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;
  }
}
