/* Base overlay */
#age-verification-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px); /* Modern blur background */
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}

/* Center popup box */
.age-verification-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff8e1;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #333;
  animation: slideIn 0.4s ease-out;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Heading */
.age-verification-content h2 {
  font-size: 26px;
  color: #4a7043;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Description */
.age-verification-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
}

/* Buttons */
.age-verification-content button {
  padding: 12px 25px;
  margin: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Yes Button */
#age-yes {
  background: #4a7043;
  color: #fff;
}

#age-yes:hover {
  background: #3a5a33;
  transform: scale(1.05);
}

/* No Button */
#age-no {
  background: #a52a2a;
  color: #fff;
}

#age-no:hover {
  background: #8b1e1e;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
