/* Profile Card Modal */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.profile-modal.active {
    display: flex;
}

.profile-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #ff8c00;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    cursor: default;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ff8c00;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-modal-close:hover {
    background: rgba(255, 140, 0, 0.2);
    transform: rotate(90deg);
}

.profile-modal-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #ff8c00;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.profile-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-modal-info {
    text-align: center;
}

.profile-modal-name {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}

.profile-modal-role {
    font-size: 16px;
    color: #ff8c00;
    margin-bottom: 15px;
}

.profile-modal-bio {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.profile-modal-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0077b5;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    cursor: pointer;
}

.profile-modal-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.profile-modal-linkedin i {
    font-size: 18px;
}

.profile-modal-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.profile-modal-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid #ff8c00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-modal-social-link:hover {
    background: #ff8c00;
    color: #000;
    transform: translateY(-3px);
}

/* Enhanced profile node hover */
.profile-node {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
}

.profile-node:hover {
    transform: translate(-50%, -50%) scale(1.2);
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.8));
    z-index: 100 !important;
}

.profile-node:hover .profile-image {
    border-color: #ff8c00;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
}