.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  background: #1a1a1a;
  color: #fff;
  padding: 25px 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border-radius: 12px;
  border: 2px solid #ff007a;
  box-shadow:
    0 0 25px 8px rgba(255, 0, 122, 0.6),  /* Glow más fuerte y extendido */
    inset 0 0 10px rgba(255, 0, 122, 0.5); /* Brillo interior suave */
  box-sizing: border-box;
  position: relative;
  z-index: 9999;
}

.modal-content h2 {
  margin: 10px 0;
  color: #ff007a;
  font-size: 1.5em;
}

.modal-content p {
  font-size: 0.95em;
  line-height: 1.5;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-buttons button {
  flex: 1 1 45%;
  padding: 12px 10px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background 0.3s ease;
}

.resaltar {
  color: #ffaa33;
  font-weight: bold;
  text-transform: uppercase;
}

#btn-accept {
  background-color: #ff007a;
  color: white;
  text-shadow: 1px 1px 2px #000; /* mejora contraste visual */
}

#btn-accept:hover {
  background: #ff3399;
}

#btn-exit {
  background: #555;
  color: white;
}

#btn-exit:hover {
  background: #777;
}

/* Responsive tweaks for small devices */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px;
  }

  .modal-content h2 {
    font-size: 1.5em;
  }

  .modal-content p {
    font-size: 0.9em;
  }

  .modal-buttons button {
    font-size: 0.9em;
  }
}