/* --- MODAL DE ENLACES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  color: white;
  text-align: center;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  animation: fadeIn 0.5s ease-out;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.link-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 15px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.link-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.link-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-info i {
  font-size: 1.5rem;
}

.contact-btn {
  background: linear-gradient(90deg, #ff6b6b, #f06595, #7209b7);
  border: none;
  border-radius: 20px;
  color: white;
  padding: 6px 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.close-btn {
  margin-top: 15px;
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(255,255,255,0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 25px;
  }
  .link-item {
    flex-direction: column;
    text-align: center;
  }
  .contact-btn {
    margin-top: 8px;
  }
}