.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 29, 59, 0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #191d3b;
  color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-30px);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: translateY(0);
}

.modal-content h2 {
  color: #c81912;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.modal-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.modal-button {
  padding: 12px 30px;
  background: #c81912;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-button:hover {
  background: #a51210;
}

.modal-link {
  padding: 12px 30px;
  border: 2px solid #c81912;
  border-radius: 8px;
  color: #c81912;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modal-link:hover {
  background: #c81912;
  color: #fff;
}